1 | #! /bin/sh
|
---|
2 | # Guess values for system-dependent variables and create Makefiles.
|
---|
3 | # Generated by GNU Autoconf 2.59 for greenstone2 2.84-svn.
|
---|
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'
|
---|
271 | PACKAGE_TARNAME='greenstone2'
|
---|
272 | PACKAGE_VERSION='2.84-svn'
|
---|
273 | PACKAGE_STRING='greenstone2 2.84-svn'
|
---|
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 CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH 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 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_CXX_set=${CXX+set}
|
---|
718 | ac_env_CXX_value=$CXX
|
---|
719 | ac_cv_env_CXX_set=${CXX+set}
|
---|
720 | ac_cv_env_CXX_value=$CXX
|
---|
721 | ac_env_CXXFLAGS_set=${CXXFLAGS+set}
|
---|
722 | ac_env_CXXFLAGS_value=$CXXFLAGS
|
---|
723 | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
|
---|
724 | ac_cv_env_CXXFLAGS_value=$CXXFLAGS
|
---|
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 |
|
---|
734 | #
|
---|
735 | # Report the --help message.
|
---|
736 | #
|
---|
737 | if test "$ac_init_help" = "long"; then
|
---|
738 | # Omit some internal or obsolete options to make the list less imposing.
|
---|
739 | # This message is too long to be a string in the A/UX 3.1 sh.
|
---|
740 | cat <<_ACEOF
|
---|
741 | \`configure' configures greenstone2 2.84-svn to adapt to many kinds of systems.
|
---|
742 |
|
---|
743 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
744 |
|
---|
745 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
746 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
747 |
|
---|
748 | Defaults for the options are specified in brackets.
|
---|
749 |
|
---|
750 | Configuration:
|
---|
751 | -h, --help display this help and exit
|
---|
752 | --help=short display options specific to this package
|
---|
753 | --help=recursive display the short help of all the included packages
|
---|
754 | -V, --version display version information and exit
|
---|
755 | -q, --quiet, --silent do not print \`checking...' messages
|
---|
756 | --cache-file=FILE cache test results in FILE [disabled]
|
---|
757 | -C, --config-cache alias for \`--cache-file=config.cache'
|
---|
758 | -n, --no-create do not create output files
|
---|
759 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
---|
760 |
|
---|
761 | _ACEOF
|
---|
762 |
|
---|
763 | cat <<_ACEOF
|
---|
764 | Installation directories:
|
---|
765 | --prefix=PREFIX install architecture-independent files in PREFIX
|
---|
766 | [$ac_default_prefix]
|
---|
767 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
---|
768 | [PREFIX]
|
---|
769 |
|
---|
770 | By default, \`make install' will install all the files in
|
---|
771 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
772 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
773 | for instance \`--prefix=\$HOME'.
|
---|
774 |
|
---|
775 | For better control, use the options below.
|
---|
776 |
|
---|
777 | Fine tuning of the installation directories:
|
---|
778 | --bindir=DIR user executables [EPREFIX/bin]
|
---|
779 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
---|
780 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
---|
781 | --datadir=DIR read-only architecture-independent data [PREFIX/share]
|
---|
782 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
---|
783 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
---|
784 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
---|
785 | --libdir=DIR object code libraries [EPREFIX/lib]
|
---|
786 | --includedir=DIR C header files [PREFIX/include]
|
---|
787 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
---|
788 | --infodir=DIR info documentation [PREFIX/info]
|
---|
789 | --mandir=DIR man documentation [PREFIX/man]
|
---|
790 | _ACEOF
|
---|
791 |
|
---|
792 | cat <<\_ACEOF
|
---|
793 |
|
---|
794 | Program names:
|
---|
795 | --program-prefix=PREFIX prepend PREFIX to installed program names
|
---|
796 | --program-suffix=SUFFIX append SUFFIX to installed program names
|
---|
797 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
---|
798 |
|
---|
799 | System types:
|
---|
800 | --build=BUILD configure for building on BUILD [guessed]
|
---|
801 | --host=HOST cross-compile to build programs to run on HOST [BUILD]
|
---|
802 | _ACEOF
|
---|
803 | fi
|
---|
804 |
|
---|
805 | if test -n "$ac_init_help"; then
|
---|
806 | case $ac_init_help in
|
---|
807 | short | recursive ) echo "Configuration of greenstone2 2.84-svn:";;
|
---|
808 | esac
|
---|
809 | cat <<\_ACEOF
|
---|
810 |
|
---|
811 | Optional Features:
|
---|
812 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
---|
813 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
---|
814 | --disable-dependency-tracking speeds up one-time build
|
---|
815 | --enable-dependency-tracking do not reject slow dependency extractors
|
---|
816 | --enable-sqlite Enable SQLite support
|
---|
817 |
|
---|
818 | Some influential environment variables:
|
---|
819 | CXX C++ compiler command
|
---|
820 | CXXFLAGS C++ compiler flags
|
---|
821 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
---|
822 | nonstandard directory <lib dir>
|
---|
823 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
|
---|
824 | headers in a nonstandard directory <include dir>
|
---|
825 |
|
---|
826 | Use these variables to override the choices made by `configure' or to help
|
---|
827 | it to find libraries and programs with nonstandard names/locations.
|
---|
828 |
|
---|
829 | Report bugs to <[email protected]>.
|
---|
830 | _ACEOF
|
---|
831 | fi
|
---|
832 |
|
---|
833 | if test "$ac_init_help" = "recursive"; then
|
---|
834 | # If there are subdirs, report their specific --help.
|
---|
835 | ac_popdir=`pwd`
|
---|
836 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
---|
837 | test -d $ac_dir || continue
|
---|
838 | ac_builddir=.
|
---|
839 |
|
---|
840 | if test "$ac_dir" != .; then
|
---|
841 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
842 | # A "../" for each directory in $ac_dir_suffix.
|
---|
843 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
---|
844 | else
|
---|
845 | ac_dir_suffix= ac_top_builddir=
|
---|
846 | fi
|
---|
847 |
|
---|
848 | case $srcdir in
|
---|
849 | .) # No --srcdir option. We are building in place.
|
---|
850 | ac_srcdir=.
|
---|
851 | if test -z "$ac_top_builddir"; then
|
---|
852 | ac_top_srcdir=.
|
---|
853 | else
|
---|
854 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
---|
855 | fi ;;
|
---|
856 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
---|
857 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
858 | ac_top_srcdir=$srcdir ;;
|
---|
859 | *) # Relative path.
|
---|
860 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
---|
861 | ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
---|
862 | esac
|
---|
863 |
|
---|
864 | # Do not use `cd foo && pwd` to compute absolute paths, because
|
---|
865 | # the directories may not exist.
|
---|
866 | case `pwd` in
|
---|
867 | .) ac_abs_builddir="$ac_dir";;
|
---|
868 | *)
|
---|
869 | case "$ac_dir" in
|
---|
870 | .) ac_abs_builddir=`pwd`;;
|
---|
871 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
---|
872 | *) ac_abs_builddir=`pwd`/"$ac_dir";;
|
---|
873 | esac;;
|
---|
874 | esac
|
---|
875 | case $ac_abs_builddir in
|
---|
876 | .) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
877 | *)
|
---|
878 | case ${ac_top_builddir}. in
|
---|
879 | .) ac_abs_top_builddir=$ac_abs_builddir;;
|
---|
880 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
881 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
---|
882 | esac;;
|
---|
883 | esac
|
---|
884 | case $ac_abs_builddir in
|
---|
885 | .) ac_abs_srcdir=$ac_srcdir;;
|
---|
886 | *)
|
---|
887 | case $ac_srcdir in
|
---|
888 | .) ac_abs_srcdir=$ac_abs_builddir;;
|
---|
889 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
---|
890 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
---|
891 | esac;;
|
---|
892 | esac
|
---|
893 | case $ac_abs_builddir in
|
---|
894 | .) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
895 | *)
|
---|
896 | case $ac_top_srcdir in
|
---|
897 | .) ac_abs_top_srcdir=$ac_abs_builddir;;
|
---|
898 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
899 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
---|
900 | esac;;
|
---|
901 | esac
|
---|
902 |
|
---|
903 | cd $ac_dir
|
---|
904 | # Check for guested configure; otherwise get Cygnus style configure.
|
---|
905 | if test -f $ac_srcdir/configure.gnu; then
|
---|
906 | echo
|
---|
907 | $SHELL $ac_srcdir/configure.gnu --help=recursive
|
---|
908 | elif test -f $ac_srcdir/configure; then
|
---|
909 | echo
|
---|
910 | $SHELL $ac_srcdir/configure --help=recursive
|
---|
911 | elif test -f $ac_srcdir/configure.ac ||
|
---|
912 | test -f $ac_srcdir/configure.in; then
|
---|
913 | echo
|
---|
914 | $ac_configure --help
|
---|
915 | else
|
---|
916 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
---|
917 | fi
|
---|
918 | cd $ac_popdir
|
---|
919 | done
|
---|
920 | fi
|
---|
921 |
|
---|
922 | test -n "$ac_init_help" && exit 0
|
---|
923 | if $ac_init_version; then
|
---|
924 | cat <<\_ACEOF
|
---|
925 | greenstone2 configure 2.84-svn
|
---|
926 | generated by GNU Autoconf 2.59
|
---|
927 |
|
---|
928 | Copyright (C) 2003 Free Software Foundation, Inc.
|
---|
929 | This configure script is free software; the Free Software Foundation
|
---|
930 | gives unlimited permission to copy, distribute and modify it.
|
---|
931 | _ACEOF
|
---|
932 | exit 0
|
---|
933 | fi
|
---|
934 | exec 5>config.log
|
---|
935 | cat >&5 <<_ACEOF
|
---|
936 | This file contains any messages produced by compilers while
|
---|
937 | running configure, to aid debugging if configure makes a mistake.
|
---|
938 |
|
---|
939 | It was created by greenstone2 $as_me 2.84-svn, which was
|
---|
940 | generated by GNU Autoconf 2.59. Invocation command line was
|
---|
941 |
|
---|
942 | $ $0 $@
|
---|
943 |
|
---|
944 | _ACEOF
|
---|
945 | {
|
---|
946 | cat <<_ASUNAME
|
---|
947 | ## --------- ##
|
---|
948 | ## Platform. ##
|
---|
949 | ## --------- ##
|
---|
950 |
|
---|
951 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
952 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
953 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
954 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
955 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
---|
956 |
|
---|
957 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
---|
958 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
---|
959 |
|
---|
960 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
---|
961 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
---|
962 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
---|
963 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
---|
964 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
---|
965 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
---|
966 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
---|
967 |
|
---|
968 | _ASUNAME
|
---|
969 |
|
---|
970 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
971 | for as_dir in $PATH
|
---|
972 | do
|
---|
973 | IFS=$as_save_IFS
|
---|
974 | test -z "$as_dir" && as_dir=.
|
---|
975 | echo "PATH: $as_dir"
|
---|
976 | done
|
---|
977 |
|
---|
978 | } >&5
|
---|
979 |
|
---|
980 | cat >&5 <<_ACEOF
|
---|
981 |
|
---|
982 |
|
---|
983 | ## ----------- ##
|
---|
984 | ## Core tests. ##
|
---|
985 | ## ----------- ##
|
---|
986 |
|
---|
987 | _ACEOF
|
---|
988 |
|
---|
989 |
|
---|
990 | # Keep a trace of the command line.
|
---|
991 | # Strip out --no-create and --no-recursion so they do not pile up.
|
---|
992 | # Strip out --silent because we don't want to record it for future runs.
|
---|
993 | # Also quote any args containing shell meta-characters.
|
---|
994 | # Make two passes to allow for proper duplicate-argument suppression.
|
---|
995 | ac_configure_args=
|
---|
996 | ac_configure_args0=
|
---|
997 | ac_configure_args1=
|
---|
998 | ac_sep=
|
---|
999 | ac_must_keep_next=false
|
---|
1000 | for ac_pass in 1 2
|
---|
1001 | do
|
---|
1002 | for ac_arg
|
---|
1003 | do
|
---|
1004 | case $ac_arg in
|
---|
1005 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
---|
1006 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
1007 | | -silent | --silent | --silen | --sile | --sil)
|
---|
1008 | continue ;;
|
---|
1009 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
---|
1010 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
1011 | esac
|
---|
1012 | case $ac_pass in
|
---|
1013 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
---|
1014 | 2)
|
---|
1015 | ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
---|
1016 | if test $ac_must_keep_next = true; then
|
---|
1017 | ac_must_keep_next=false # Got value, back to normal.
|
---|
1018 | else
|
---|
1019 | case $ac_arg in
|
---|
1020 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
---|
1021 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
---|
1022 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
---|
1023 | | -with-* | --with-* | -without-* | --without-* | --x)
|
---|
1024 | case "$ac_configure_args0 " in
|
---|
1025 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
---|
1026 | esac
|
---|
1027 | ;;
|
---|
1028 | -* ) ac_must_keep_next=true ;;
|
---|
1029 | esac
|
---|
1030 | fi
|
---|
1031 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
---|
1032 | # Get rid of the leading space.
|
---|
1033 | ac_sep=" "
|
---|
1034 | ;;
|
---|
1035 | esac
|
---|
1036 | done
|
---|
1037 | done
|
---|
1038 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
---|
1039 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
---|
1040 |
|
---|
1041 | # When interrupted or exit'd, cleanup temporary files, and complete
|
---|
1042 | # config.log. We remove comments because anyway the quotes in there
|
---|
1043 | # would cause problems or look ugly.
|
---|
1044 | # WARNING: Be sure not to use single quotes in there, as some shells,
|
---|
1045 | # such as our DU 5.0 friend, will then `close' the trap.
|
---|
1046 | trap 'exit_status=$?
|
---|
1047 | # Save into config.log some information that might help in debugging.
|
---|
1048 | {
|
---|
1049 | echo
|
---|
1050 |
|
---|
1051 | cat <<\_ASBOX
|
---|
1052 | ## ---------------- ##
|
---|
1053 | ## Cache variables. ##
|
---|
1054 | ## ---------------- ##
|
---|
1055 | _ASBOX
|
---|
1056 | echo
|
---|
1057 | # The following way of writing the cache mishandles newlines in values,
|
---|
1058 | {
|
---|
1059 | (set) 2>&1 |
|
---|
1060 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
---|
1061 | *ac_space=\ *)
|
---|
1062 | sed -n \
|
---|
1063 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
---|
1064 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
---|
1065 | ;;
|
---|
1066 | *)
|
---|
1067 | sed -n \
|
---|
1068 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
---|
1069 | ;;
|
---|
1070 | esac;
|
---|
1071 | }
|
---|
1072 | echo
|
---|
1073 |
|
---|
1074 | cat <<\_ASBOX
|
---|
1075 | ## ----------------- ##
|
---|
1076 | ## Output variables. ##
|
---|
1077 | ## ----------------- ##
|
---|
1078 | _ASBOX
|
---|
1079 | echo
|
---|
1080 | for ac_var in $ac_subst_vars
|
---|
1081 | do
|
---|
1082 | eval ac_val=$`echo $ac_var`
|
---|
1083 | echo "$ac_var='"'"'$ac_val'"'"'"
|
---|
1084 | done | sort
|
---|
1085 | echo
|
---|
1086 |
|
---|
1087 | if test -n "$ac_subst_files"; then
|
---|
1088 | cat <<\_ASBOX
|
---|
1089 | ## ------------- ##
|
---|
1090 | ## Output files. ##
|
---|
1091 | ## ------------- ##
|
---|
1092 | _ASBOX
|
---|
1093 | echo
|
---|
1094 | for ac_var in $ac_subst_files
|
---|
1095 | do
|
---|
1096 | eval ac_val=$`echo $ac_var`
|
---|
1097 | echo "$ac_var='"'"'$ac_val'"'"'"
|
---|
1098 | done | sort
|
---|
1099 | echo
|
---|
1100 | fi
|
---|
1101 |
|
---|
1102 | if test -s confdefs.h; then
|
---|
1103 | cat <<\_ASBOX
|
---|
1104 | ## ----------- ##
|
---|
1105 | ## confdefs.h. ##
|
---|
1106 | ## ----------- ##
|
---|
1107 | _ASBOX
|
---|
1108 | echo
|
---|
1109 | sed "/^$/d" confdefs.h | sort
|
---|
1110 | echo
|
---|
1111 | fi
|
---|
1112 | test "$ac_signal" != 0 &&
|
---|
1113 | echo "$as_me: caught signal $ac_signal"
|
---|
1114 | echo "$as_me: exit $exit_status"
|
---|
1115 | } >&5
|
---|
1116 | rm -f core *.core &&
|
---|
1117 | rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
---|
1118 | exit $exit_status
|
---|
1119 | ' 0
|
---|
1120 | for ac_signal in 1 2 13 15; do
|
---|
1121 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
---|
1122 | done
|
---|
1123 | ac_signal=0
|
---|
1124 |
|
---|
1125 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
1126 | rm -rf conftest* confdefs.h
|
---|
1127 | # AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
---|
1128 | echo >confdefs.h
|
---|
1129 |
|
---|
1130 | # Predefined preprocessor variables.
|
---|
1131 |
|
---|
1132 | cat >>confdefs.h <<_ACEOF
|
---|
1133 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
1134 | _ACEOF
|
---|
1135 |
|
---|
1136 |
|
---|
1137 | cat >>confdefs.h <<_ACEOF
|
---|
1138 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
1139 | _ACEOF
|
---|
1140 |
|
---|
1141 |
|
---|
1142 | cat >>confdefs.h <<_ACEOF
|
---|
1143 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
1144 | _ACEOF
|
---|
1145 |
|
---|
1146 |
|
---|
1147 | cat >>confdefs.h <<_ACEOF
|
---|
1148 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
1149 | _ACEOF
|
---|
1150 |
|
---|
1151 |
|
---|
1152 | cat >>confdefs.h <<_ACEOF
|
---|
1153 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
1154 | _ACEOF
|
---|
1155 |
|
---|
1156 |
|
---|
1157 | # Let the site file select an alternate cache file if it wants to.
|
---|
1158 | # Prefer explicitly selected file to automatically selected ones.
|
---|
1159 | if test -z "$CONFIG_SITE"; then
|
---|
1160 | if test "x$prefix" != xNONE; then
|
---|
1161 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
---|
1162 | else
|
---|
1163 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
---|
1164 | fi
|
---|
1165 | fi
|
---|
1166 | for ac_site_file in $CONFIG_SITE; do
|
---|
1167 | if test -r "$ac_site_file"; then
|
---|
1168 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
---|
1169 | echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
1170 | sed 's/^/| /' "$ac_site_file" >&5
|
---|
1171 | . "$ac_site_file"
|
---|
1172 | fi
|
---|
1173 | done
|
---|
1174 |
|
---|
1175 | if test -r "$cache_file"; then
|
---|
1176 | # Some versions of bash will fail to source /dev/null (special
|
---|
1177 | # files actually), so we avoid doing that.
|
---|
1178 | if test -f "$cache_file"; then
|
---|
1179 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
---|
1180 | echo "$as_me: loading cache $cache_file" >&6;}
|
---|
1181 | case $cache_file in
|
---|
1182 | [\\/]* | ?:[\\/]* ) . $cache_file;;
|
---|
1183 | *) . ./$cache_file;;
|
---|
1184 | esac
|
---|
1185 | fi
|
---|
1186 | else
|
---|
1187 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
---|
1188 | echo "$as_me: creating cache $cache_file" >&6;}
|
---|
1189 | >$cache_file
|
---|
1190 | fi
|
---|
1191 |
|
---|
1192 | # Check that the precious variables saved in the cache have kept the same
|
---|
1193 | # value.
|
---|
1194 | ac_cache_corrupted=false
|
---|
1195 | for ac_var in `(set) 2>&1 |
|
---|
1196 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
---|
1197 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
1198 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
1199 | eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
---|
1200 | eval ac_new_val="\$ac_env_${ac_var}_value"
|
---|
1201 | case $ac_old_set,$ac_new_set in
|
---|
1202 | set,)
|
---|
1203 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
1204 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
1205 | ac_cache_corrupted=: ;;
|
---|
1206 | ,set)
|
---|
1207 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
---|
1208 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
---|
1209 | ac_cache_corrupted=: ;;
|
---|
1210 | ,);;
|
---|
1211 | *)
|
---|
1212 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
1213 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
---|
1214 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
1215 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
---|
1216 | echo "$as_me: former value: $ac_old_val" >&2;}
|
---|
1217 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
---|
1218 | echo "$as_me: current value: $ac_new_val" >&2;}
|
---|
1219 | ac_cache_corrupted=:
|
---|
1220 | fi;;
|
---|
1221 | esac
|
---|
1222 | # Pass precious variables to config.status.
|
---|
1223 | if test "$ac_new_set" = set; then
|
---|
1224 | case $ac_new_val in
|
---|
1225 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
---|
1226 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
1227 | *) ac_arg=$ac_var=$ac_new_val ;;
|
---|
1228 | esac
|
---|
1229 | case " $ac_configure_args " in
|
---|
1230 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
---|
1231 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
---|
1232 | esac
|
---|
1233 | fi
|
---|
1234 | done
|
---|
1235 | if $ac_cache_corrupted; then
|
---|
1236 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
---|
1237 | echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
---|
1238 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
---|
1239 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
---|
1240 | { (exit 1); exit 1; }; }
|
---|
1241 | fi
|
---|
1242 |
|
---|
1243 | ac_ext=c
|
---|
1244 | ac_cpp='$CPP $CPPFLAGS'
|
---|
1245 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
1246 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
1247 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
1248 |
|
---|
1249 |
|
---|
1250 |
|
---|
1251 |
|
---|
1252 |
|
---|
1253 |
|
---|
1254 |
|
---|
1255 |
|
---|
1256 |
|
---|
1257 |
|
---|
1258 |
|
---|
1259 |
|
---|
1260 |
|
---|
1261 |
|
---|
1262 |
|
---|
1263 |
|
---|
1264 |
|
---|
1265 |
|
---|
1266 |
|
---|
1267 |
|
---|
1268 |
|
---|
1269 |
|
---|
1270 |
|
---|
1271 |
|
---|
1272 |
|
---|
1273 |
|
---|
1274 |
|
---|
1275 | ac_aux_dir=
|
---|
1276 | for ac_dir in . $srcdir/.; do
|
---|
1277 | if test -f $ac_dir/install-sh; then
|
---|
1278 | ac_aux_dir=$ac_dir
|
---|
1279 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
---|
1280 | break
|
---|
1281 | elif test -f $ac_dir/install.sh; then
|
---|
1282 | ac_aux_dir=$ac_dir
|
---|
1283 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
---|
1284 | break
|
---|
1285 | elif test -f $ac_dir/shtool; then
|
---|
1286 | ac_aux_dir=$ac_dir
|
---|
1287 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
---|
1288 | break
|
---|
1289 | fi
|
---|
1290 | done
|
---|
1291 | if test -z "$ac_aux_dir"; then
|
---|
1292 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . $srcdir/." >&5
|
---|
1293 | echo "$as_me: error: cannot find install-sh or install.sh in . $srcdir/." >&2;}
|
---|
1294 | { (exit 1); exit 1; }; }
|
---|
1295 | fi
|
---|
1296 | ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
---|
1297 | ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
---|
1298 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
---|
1299 |
|
---|
1300 | ac_config_headers="$ac_config_headers config.h"
|
---|
1301 |
|
---|
1302 | am__api_version="1.9"
|
---|
1303 | # Find a good install program. We prefer a C program (faster),
|
---|
1304 | # so one script is as good as another. But avoid the broken or
|
---|
1305 | # incompatible versions:
|
---|
1306 | # SysV /etc/install, /usr/sbin/install
|
---|
1307 | # SunOS /usr/etc/install
|
---|
1308 | # IRIX /sbin/install
|
---|
1309 | # AIX /bin/install
|
---|
1310 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
---|
1311 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
---|
1312 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
---|
1313 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
---|
1314 | # OS/2's system install, which has a completely different semantic
|
---|
1315 | # ./install, which can be erroneously created by make from ./install.sh.
|
---|
1316 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
---|
1317 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
---|
1318 | if test -z "$INSTALL"; then
|
---|
1319 | if test "${ac_cv_path_install+set}" = set; then
|
---|
1320 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
1321 | else
|
---|
1322 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
1323 | for as_dir in $PATH
|
---|
1324 | do
|
---|
1325 | IFS=$as_save_IFS
|
---|
1326 | test -z "$as_dir" && as_dir=.
|
---|
1327 | # Account for people who put trailing slashes in PATH elements.
|
---|
1328 | case $as_dir/ in
|
---|
1329 | ./ | .// | /cC/* | \
|
---|
1330 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
---|
1331 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
---|
1332 | /usr/ucb/* ) ;;
|
---|
1333 | *)
|
---|
1334 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
---|
1335 | # Don't use installbsd from OSF since it installs stuff as root
|
---|
1336 | # by default.
|
---|
1337 | for ac_prog in ginstall scoinst install; do
|
---|
1338 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
1339 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
---|
1340 | if test $ac_prog = install &&
|
---|
1341 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
1342 | # AIX install. It has an incompatible calling convention.
|
---|
1343 | :
|
---|
1344 | elif test $ac_prog = install &&
|
---|
1345 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
1346 | # program-specific install script used by HP pwplus--don't use.
|
---|
1347 | :
|
---|
1348 | else
|
---|
1349 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
---|
1350 | break 3
|
---|
1351 | fi
|
---|
1352 | fi
|
---|
1353 | done
|
---|
1354 | done
|
---|
1355 | ;;
|
---|
1356 | esac
|
---|
1357 | done
|
---|
1358 |
|
---|
1359 |
|
---|
1360 | fi
|
---|
1361 | if test "${ac_cv_path_install+set}" = set; then
|
---|
1362 | INSTALL=$ac_cv_path_install
|
---|
1363 | else
|
---|
1364 | # As a last resort, use the slow shell script. We don't cache a
|
---|
1365 | # path for INSTALL within a source directory, because that will
|
---|
1366 | # break other packages using the cache if that directory is
|
---|
1367 | # removed, or if the path is relative.
|
---|
1368 | INSTALL=$ac_install_sh
|
---|
1369 | fi
|
---|
1370 | fi
|
---|
1371 | echo "$as_me:$LINENO: result: $INSTALL" >&5
|
---|
1372 | echo "${ECHO_T}$INSTALL" >&6
|
---|
1373 |
|
---|
1374 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
---|
1375 | # It thinks the first close brace ends the variable substitution.
|
---|
1376 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
1377 |
|
---|
1378 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
1379 |
|
---|
1380 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
---|
1381 |
|
---|
1382 | echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
---|
1383 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
|
---|
1384 | # Just in case
|
---|
1385 | sleep 1
|
---|
1386 | echo timestamp > conftest.file
|
---|
1387 | # Do `set' in a subshell so we don't clobber the current shell's
|
---|
1388 | # arguments. Must try -L first in case configure is actually a
|
---|
1389 | # symlink; some systems play weird games with the mod time of symlinks
|
---|
1390 | # (eg FreeBSD returns the mod time of the symlink's containing
|
---|
1391 | # directory).
|
---|
1392 | if (
|
---|
1393 | set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
---|
1394 | if test "$*" = "X"; then
|
---|
1395 | # -L didn't work.
|
---|
1396 | set X `ls -t $srcdir/configure conftest.file`
|
---|
1397 | fi
|
---|
1398 | rm -f conftest.file
|
---|
1399 | if test "$*" != "X $srcdir/configure conftest.file" \
|
---|
1400 | && test "$*" != "X conftest.file $srcdir/configure"; then
|
---|
1401 |
|
---|
1402 | # If neither matched, then we have a broken ls. This can happen
|
---|
1403 | # if, for instance, CONFIG_SHELL is bash and it inherits a
|
---|
1404 | # broken ls alias from the environment. This has actually
|
---|
1405 | # happened. Such a system could not be considered "sane".
|
---|
1406 | { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
|
---|
1407 | alias in your environment" >&5
|
---|
1408 | echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
---|
1409 | alias in your environment" >&2;}
|
---|
1410 | { (exit 1); exit 1; }; }
|
---|
1411 | fi
|
---|
1412 |
|
---|
1413 | test "$2" = conftest.file
|
---|
1414 | )
|
---|
1415 | then
|
---|
1416 | # Ok.
|
---|
1417 | :
|
---|
1418 | else
|
---|
1419 | { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
|
---|
1420 | Check your system clock" >&5
|
---|
1421 | echo "$as_me: error: newly created file is older than distributed files!
|
---|
1422 | Check your system clock" >&2;}
|
---|
1423 | { (exit 1); exit 1; }; }
|
---|
1424 | fi
|
---|
1425 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
1426 | echo "${ECHO_T}yes" >&6
|
---|
1427 | test "$program_prefix" != NONE &&
|
---|
1428 | program_transform_name="s,^,$program_prefix,;$program_transform_name"
|
---|
1429 | # Use a double $ so make ignores it.
|
---|
1430 | test "$program_suffix" != NONE &&
|
---|
1431 | program_transform_name="s,\$,$program_suffix,;$program_transform_name"
|
---|
1432 | # Double any \ or $. echo might interpret backslashes.
|
---|
1433 | # By default was `s,x,x', remove it if useless.
|
---|
1434 | cat <<\_ACEOF >conftest.sed
|
---|
1435 | s/[\\$]/&&/g;s/;s,x,x,$//
|
---|
1436 | _ACEOF
|
---|
1437 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
---|
1438 | rm conftest.sed
|
---|
1439 |
|
---|
1440 | # expand $ac_aux_dir to an absolute path
|
---|
1441 | am_aux_dir=`cd $ac_aux_dir && pwd`
|
---|
1442 |
|
---|
1443 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
---|
1444 | # Use eval to expand $SHELL
|
---|
1445 | if eval "$MISSING --run true"; then
|
---|
1446 | am_missing_run="$MISSING --run "
|
---|
1447 | else
|
---|
1448 | am_missing_run=
|
---|
1449 | { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
|
---|
1450 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
---|
1451 | fi
|
---|
1452 |
|
---|
1453 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
|
---|
1454 | # We used to keeping the `.' as first argument, in order to
|
---|
1455 | # allow $(mkdir_p) to be used without argument. As in
|
---|
1456 | # $(mkdir_p) $(somedir)
|
---|
1457 | # where $(somedir) is conditionally defined. However this is wrong
|
---|
1458 | # for two reasons:
|
---|
1459 | # 1. if the package is installed by a user who cannot write `.'
|
---|
1460 | # make install will fail,
|
---|
1461 | # 2. the above comment should most certainly read
|
---|
1462 | # $(mkdir_p) $(DESTDIR)$(somedir)
|
---|
1463 | # so it does not work when $(somedir) is undefined and
|
---|
1464 | # $(DESTDIR) is not.
|
---|
1465 | # To support the latter case, we have to write
|
---|
1466 | # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
|
---|
1467 | # so the `.' trick is pointless.
|
---|
1468 | mkdir_p='mkdir -p --'
|
---|
1469 | else
|
---|
1470 | # On NextStep and OpenStep, the `mkdir' command does not
|
---|
1471 | # recognize any option. It will interpret all options as
|
---|
1472 | # directories to create, and then abort because `.' already
|
---|
1473 | # exists.
|
---|
1474 | for d in ./-p ./--version;
|
---|
1475 | do
|
---|
1476 | test -d $d && rmdir $d
|
---|
1477 | done
|
---|
1478 | # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
|
---|
1479 | if test -f "$ac_aux_dir/mkinstalldirs"; then
|
---|
1480 | mkdir_p='$(mkinstalldirs)'
|
---|
1481 | else
|
---|
1482 | mkdir_p='$(install_sh) -d'
|
---|
1483 | fi
|
---|
1484 | fi
|
---|
1485 |
|
---|
1486 | for ac_prog in gawk mawk nawk awk
|
---|
1487 | do
|
---|
1488 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
1489 | set dummy $ac_prog; ac_word=$2
|
---|
1490 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
1491 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
1492 | if test "${ac_cv_prog_AWK+set}" = set; then
|
---|
1493 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
1494 | else
|
---|
1495 | if test -n "$AWK"; then
|
---|
1496 | ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
---|
1497 | else
|
---|
1498 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
1499 | for as_dir in $PATH
|
---|
1500 | do
|
---|
1501 | IFS=$as_save_IFS
|
---|
1502 | test -z "$as_dir" && as_dir=.
|
---|
1503 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
1504 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
1505 | ac_cv_prog_AWK="$ac_prog"
|
---|
1506 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
1507 | break 2
|
---|
1508 | fi
|
---|
1509 | done
|
---|
1510 | done
|
---|
1511 |
|
---|
1512 | fi
|
---|
1513 | fi
|
---|
1514 | AWK=$ac_cv_prog_AWK
|
---|
1515 | if test -n "$AWK"; then
|
---|
1516 | echo "$as_me:$LINENO: result: $AWK" >&5
|
---|
1517 | echo "${ECHO_T}$AWK" >&6
|
---|
1518 | else
|
---|
1519 | echo "$as_me:$LINENO: result: no" >&5
|
---|
1520 | echo "${ECHO_T}no" >&6
|
---|
1521 | fi
|
---|
1522 |
|
---|
1523 | test -n "$AWK" && break
|
---|
1524 | done
|
---|
1525 |
|
---|
1526 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
---|
1527 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
|
---|
1528 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
|
---|
1529 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
---|
1530 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
1531 | else
|
---|
1532 | cat >conftest.make <<\_ACEOF
|
---|
1533 | all:
|
---|
1534 | @echo 'ac_maketemp="$(MAKE)"'
|
---|
1535 | _ACEOF
|
---|
1536 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
---|
1537 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
---|
1538 | if test -n "$ac_maketemp"; then
|
---|
1539 | eval ac_cv_prog_make_${ac_make}_set=yes
|
---|
1540 | else
|
---|
1541 | eval ac_cv_prog_make_${ac_make}_set=no
|
---|
1542 | fi
|
---|
1543 | rm -f conftest.make
|
---|
1544 | fi
|
---|
1545 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
---|
1546 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
1547 | echo "${ECHO_T}yes" >&6
|
---|
1548 | SET_MAKE=
|
---|
1549 | else
|
---|
1550 | echo "$as_me:$LINENO: result: no" >&5
|
---|
1551 | echo "${ECHO_T}no" >&6
|
---|
1552 | SET_MAKE="MAKE=${MAKE-make}"
|
---|
1553 | fi
|
---|
1554 |
|
---|
1555 | rm -rf .tst 2>/dev/null
|
---|
1556 | mkdir .tst 2>/dev/null
|
---|
1557 | if test -d .tst; then
|
---|
1558 | am__leading_dot=.
|
---|
1559 | else
|
---|
1560 | am__leading_dot=_
|
---|
1561 | fi
|
---|
1562 | rmdir .tst 2>/dev/null
|
---|
1563 |
|
---|
1564 | # test to see if srcdir already configured
|
---|
1565 | if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
---|
1566 | test -f $srcdir/config.status; then
|
---|
1567 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
---|
1568 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
---|
1569 | { (exit 1); exit 1; }; }
|
---|
1570 | fi
|
---|
1571 |
|
---|
1572 | # test whether we have cygpath
|
---|
1573 | if test -z "$CYGPATH_W"; then
|
---|
1574 | if (cygpath --version) >/dev/null 2>/dev/null; then
|
---|
1575 | CYGPATH_W='cygpath -w'
|
---|
1576 | else
|
---|
1577 | CYGPATH_W=echo
|
---|
1578 | fi
|
---|
1579 | fi
|
---|
1580 |
|
---|
1581 |
|
---|
1582 | # Define the identity of the package.
|
---|
1583 | PACKAGE='greenstone2'
|
---|
1584 | VERSION='2.84-svn'
|
---|
1585 |
|
---|
1586 |
|
---|
1587 | # Some tools Automake needs.
|
---|
1588 |
|
---|
1589 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
---|
1590 |
|
---|
1591 |
|
---|
1592 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
---|
1593 |
|
---|
1594 |
|
---|
1595 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
---|
1596 |
|
---|
1597 |
|
---|
1598 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
---|
1599 |
|
---|
1600 |
|
---|
1601 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
---|
1602 |
|
---|
1603 | install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
---|
1604 |
|
---|
1605 | # Installed binaries are usually stripped using `strip' when the user
|
---|
1606 | # run `make install-strip'. However `strip' might not be the right
|
---|
1607 | # tool to use in cross-compilation environments, therefore Automake
|
---|
1608 | # will honor the `STRIP' environment variable to overrule this program.
|
---|
1609 | if test "$cross_compiling" != no; then
|
---|
1610 | if test -n "$ac_tool_prefix"; then
|
---|
1611 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
---|
1612 | set dummy ${ac_tool_prefix}strip; ac_word=$2
|
---|
1613 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
1614 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
1615 | if test "${ac_cv_prog_STRIP+set}" = set; then
|
---|
1616 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
1617 | else
|
---|
1618 | if test -n "$STRIP"; then
|
---|
1619 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
---|
1620 | else
|
---|
1621 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
1622 | for as_dir in $PATH
|
---|
1623 | do
|
---|
1624 | IFS=$as_save_IFS
|
---|
1625 | test -z "$as_dir" && as_dir=.
|
---|
1626 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
1627 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
1628 | ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
---|
1629 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
1630 | break 2
|
---|
1631 | fi
|
---|
1632 | done
|
---|
1633 | done
|
---|
1634 |
|
---|
1635 | fi
|
---|
1636 | fi
|
---|
1637 | STRIP=$ac_cv_prog_STRIP
|
---|
1638 | if test -n "$STRIP"; then
|
---|
1639 | echo "$as_me:$LINENO: result: $STRIP" >&5
|
---|
1640 | echo "${ECHO_T}$STRIP" >&6
|
---|
1641 | else
|
---|
1642 | echo "$as_me:$LINENO: result: no" >&5
|
---|
1643 | echo "${ECHO_T}no" >&6
|
---|
1644 | fi
|
---|
1645 |
|
---|
1646 | fi
|
---|
1647 | if test -z "$ac_cv_prog_STRIP"; then
|
---|
1648 | ac_ct_STRIP=$STRIP
|
---|
1649 | # Extract the first word of "strip", so it can be a program name with args.
|
---|
1650 | set dummy strip; ac_word=$2
|
---|
1651 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
1652 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
1653 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
---|
1654 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
1655 | else
|
---|
1656 | if test -n "$ac_ct_STRIP"; then
|
---|
1657 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
---|
1658 | else
|
---|
1659 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
1660 | for as_dir in $PATH
|
---|
1661 | do
|
---|
1662 | IFS=$as_save_IFS
|
---|
1663 | test -z "$as_dir" && as_dir=.
|
---|
1664 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
1665 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
1666 | ac_cv_prog_ac_ct_STRIP="strip"
|
---|
1667 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
1668 | break 2
|
---|
1669 | fi
|
---|
1670 | done
|
---|
1671 | done
|
---|
1672 |
|
---|
1673 | test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
|
---|
1674 | fi
|
---|
1675 | fi
|
---|
1676 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
---|
1677 | if test -n "$ac_ct_STRIP"; then
|
---|
1678 | echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
---|
1679 | echo "${ECHO_T}$ac_ct_STRIP" >&6
|
---|
1680 | else
|
---|
1681 | echo "$as_me:$LINENO: result: no" >&5
|
---|
1682 | echo "${ECHO_T}no" >&6
|
---|
1683 | fi
|
---|
1684 |
|
---|
1685 | STRIP=$ac_ct_STRIP
|
---|
1686 | else
|
---|
1687 | STRIP="$ac_cv_prog_STRIP"
|
---|
1688 | fi
|
---|
1689 |
|
---|
1690 | fi
|
---|
1691 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
---|
1692 |
|
---|
1693 | # We need awk for the "check" target. The system "awk" is bad on
|
---|
1694 | # some platforms.
|
---|
1695 | # Always define AMTAR for backward compatibility.
|
---|
1696 |
|
---|
1697 | AMTAR=${AMTAR-"${am_missing_run}tar"}
|
---|
1698 |
|
---|
1699 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
|
---|
1700 |
|
---|
1701 |
|
---|
1702 |
|
---|
1703 |
|
---|
1704 |
|
---|
1705 |
|
---|
1706 | # This package requires C++ compilation and library creation
|
---|
1707 | ac_ext=cc
|
---|
1708 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
1709 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
1710 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
1711 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
1712 | if test -n "$ac_tool_prefix"; then
|
---|
1713 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
|
---|
1714 | do
|
---|
1715 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
1716 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
1717 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
1718 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
1719 | if test "${ac_cv_prog_CXX+set}" = set; then
|
---|
1720 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
1721 | else
|
---|
1722 | if test -n "$CXX"; then
|
---|
1723 | ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
---|
1724 | else
|
---|
1725 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
1726 | for as_dir in $PATH
|
---|
1727 | do
|
---|
1728 | IFS=$as_save_IFS
|
---|
1729 | test -z "$as_dir" && as_dir=.
|
---|
1730 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
1731 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
1732 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
---|
1733 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
1734 | break 2
|
---|
1735 | fi
|
---|
1736 | done
|
---|
1737 | done
|
---|
1738 |
|
---|
1739 | fi
|
---|
1740 | fi
|
---|
1741 | CXX=$ac_cv_prog_CXX
|
---|
1742 | if test -n "$CXX"; then
|
---|
1743 | echo "$as_me:$LINENO: result: $CXX" >&5
|
---|
1744 | echo "${ECHO_T}$CXX" >&6
|
---|
1745 | else
|
---|
1746 | echo "$as_me:$LINENO: result: no" >&5
|
---|
1747 | echo "${ECHO_T}no" >&6
|
---|
1748 | fi
|
---|
1749 |
|
---|
1750 | test -n "$CXX" && break
|
---|
1751 | done
|
---|
1752 | fi
|
---|
1753 | if test -z "$CXX"; then
|
---|
1754 | ac_ct_CXX=$CXX
|
---|
1755 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
|
---|
1756 | do
|
---|
1757 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
1758 | set dummy $ac_prog; ac_word=$2
|
---|
1759 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
1760 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
1761 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
|
---|
1762 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
1763 | else
|
---|
1764 | if test -n "$ac_ct_CXX"; then
|
---|
1765 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
---|
1766 | else
|
---|
1767 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
1768 | for as_dir in $PATH
|
---|
1769 | do
|
---|
1770 | IFS=$as_save_IFS
|
---|
1771 | test -z "$as_dir" && as_dir=.
|
---|
1772 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
1773 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
1774 | ac_cv_prog_ac_ct_CXX="$ac_prog"
|
---|
1775 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
1776 | break 2
|
---|
1777 | fi
|
---|
1778 | done
|
---|
1779 | done
|
---|
1780 |
|
---|
1781 | fi
|
---|
1782 | fi
|
---|
1783 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
---|
1784 | if test -n "$ac_ct_CXX"; then
|
---|
1785 | echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
|
---|
1786 | echo "${ECHO_T}$ac_ct_CXX" >&6
|
---|
1787 | else
|
---|
1788 | echo "$as_me:$LINENO: result: no" >&5
|
---|
1789 | echo "${ECHO_T}no" >&6
|
---|
1790 | fi
|
---|
1791 |
|
---|
1792 | test -n "$ac_ct_CXX" && break
|
---|
1793 | done
|
---|
1794 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
|
---|
1795 |
|
---|
1796 | CXX=$ac_ct_CXX
|
---|
1797 | fi
|
---|
1798 |
|
---|
1799 |
|
---|
1800 | # Provide some information about the compiler.
|
---|
1801 | echo "$as_me:$LINENO:" \
|
---|
1802 | "checking for C++ compiler version" >&5
|
---|
1803 | ac_compiler=`set X $ac_compile; echo $2`
|
---|
1804 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
|
---|
1805 | (eval $ac_compiler --version </dev/null >&5) 2>&5
|
---|
1806 | ac_status=$?
|
---|
1807 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
1808 | (exit $ac_status); }
|
---|
1809 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
|
---|
1810 | (eval $ac_compiler -v </dev/null >&5) 2>&5
|
---|
1811 | ac_status=$?
|
---|
1812 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
1813 | (exit $ac_status); }
|
---|
1814 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
|
---|
1815 | (eval $ac_compiler -V </dev/null >&5) 2>&5
|
---|
1816 | ac_status=$?
|
---|
1817 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
1818 | (exit $ac_status); }
|
---|
1819 |
|
---|
1820 | cat >conftest.$ac_ext <<_ACEOF
|
---|
1821 | /* confdefs.h. */
|
---|
1822 | _ACEOF
|
---|
1823 | cat confdefs.h >>conftest.$ac_ext
|
---|
1824 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
1825 | /* end confdefs.h. */
|
---|
1826 |
|
---|
1827 | int
|
---|
1828 | main ()
|
---|
1829 | {
|
---|
1830 |
|
---|
1831 | ;
|
---|
1832 | return 0;
|
---|
1833 | }
|
---|
1834 | _ACEOF
|
---|
1835 | ac_clean_files_save=$ac_clean_files
|
---|
1836 | ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
---|
1837 | # Try to create an executable without -o first, disregard a.out.
|
---|
1838 | # It will help us diagnose broken compilers, and finding out an intuition
|
---|
1839 | # of exeext.
|
---|
1840 | echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
|
---|
1841 | echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
|
---|
1842 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
---|
1843 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
|
---|
1844 | (eval $ac_link_default) 2>&5
|
---|
1845 | ac_status=$?
|
---|
1846 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
1847 | (exit $ac_status); }; then
|
---|
1848 | # Find the output, starting from the most likely. This scheme is
|
---|
1849 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
---|
1850 | # resort.
|
---|
1851 |
|
---|
1852 | # Be careful to initialize this variable, since it used to be cached.
|
---|
1853 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
|
---|
1854 | ac_cv_exeext=
|
---|
1855 | # b.out is created by i960 compilers.
|
---|
1856 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
|
---|
1857 | do
|
---|
1858 | test -f "$ac_file" || continue
|
---|
1859 | case $ac_file in
|
---|
1860 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
|
---|
1861 | ;;
|
---|
1862 | conftest.$ac_ext )
|
---|
1863 | # This is the source file.
|
---|
1864 | ;;
|
---|
1865 | [ab].out )
|
---|
1866 | # We found the default executable, but exeext='' is most
|
---|
1867 | # certainly right.
|
---|
1868 | break;;
|
---|
1869 | *.* )
|
---|
1870 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
1871 | # FIXME: I believe we export ac_cv_exeext for Libtool,
|
---|
1872 | # but it would be cool to find out if it's true. Does anybody
|
---|
1873 | # maintain Libtool? --akim.
|
---|
1874 | export ac_cv_exeext
|
---|
1875 | break;;
|
---|
1876 | * )
|
---|
1877 | break;;
|
---|
1878 | esac
|
---|
1879 | done
|
---|
1880 | else
|
---|
1881 | echo "$as_me: failed program was:" >&5
|
---|
1882 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
1883 |
|
---|
1884 | { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
|
---|
1885 | See \`config.log' for more details." >&5
|
---|
1886 | echo "$as_me: error: C++ compiler cannot create executables
|
---|
1887 | See \`config.log' for more details." >&2;}
|
---|
1888 | { (exit 77); exit 77; }; }
|
---|
1889 | fi
|
---|
1890 |
|
---|
1891 | ac_exeext=$ac_cv_exeext
|
---|
1892 | echo "$as_me:$LINENO: result: $ac_file" >&5
|
---|
1893 | echo "${ECHO_T}$ac_file" >&6
|
---|
1894 |
|
---|
1895 | # Check the compiler produces executables we can run. If not, either
|
---|
1896 | # the compiler is broken, or we cross compile.
|
---|
1897 | echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
|
---|
1898 | echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
|
---|
1899 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
---|
1900 | # If not cross compiling, check that we can run a simple program.
|
---|
1901 | if test "$cross_compiling" != yes; then
|
---|
1902 | if { ac_try='./$ac_file'
|
---|
1903 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
1904 | (eval $ac_try) 2>&5
|
---|
1905 | ac_status=$?
|
---|
1906 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
1907 | (exit $ac_status); }; }; then
|
---|
1908 | cross_compiling=no
|
---|
1909 | else
|
---|
1910 | if test "$cross_compiling" = maybe; then
|
---|
1911 | cross_compiling=yes
|
---|
1912 | else
|
---|
1913 | { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
|
---|
1914 | If you meant to cross compile, use \`--host'.
|
---|
1915 | See \`config.log' for more details." >&5
|
---|
1916 | echo "$as_me: error: cannot run C++ compiled programs.
|
---|
1917 | If you meant to cross compile, use \`--host'.
|
---|
1918 | See \`config.log' for more details." >&2;}
|
---|
1919 | { (exit 1); exit 1; }; }
|
---|
1920 | fi
|
---|
1921 | fi
|
---|
1922 | fi
|
---|
1923 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
1924 | echo "${ECHO_T}yes" >&6
|
---|
1925 |
|
---|
1926 | rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
---|
1927 | ac_clean_files=$ac_clean_files_save
|
---|
1928 | # Check the compiler produces executables we can run. If not, either
|
---|
1929 | # the compiler is broken, or we cross compile.
|
---|
1930 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
---|
1931 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
|
---|
1932 | echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
---|
1933 | echo "${ECHO_T}$cross_compiling" >&6
|
---|
1934 |
|
---|
1935 | echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
---|
1936 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
|
---|
1937 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
1938 | (eval $ac_link) 2>&5
|
---|
1939 | ac_status=$?
|
---|
1940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
1941 | (exit $ac_status); }; then
|
---|
1942 | # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
---|
1943 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
---|
1944 | # work properly (i.e., refer to `conftest.exe'), while it won't with
|
---|
1945 | # `rm'.
|
---|
1946 | for ac_file in conftest.exe conftest conftest.*; do
|
---|
1947 | test -f "$ac_file" || continue
|
---|
1948 | case $ac_file in
|
---|
1949 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
|
---|
1950 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
1951 | export ac_cv_exeext
|
---|
1952 | break;;
|
---|
1953 | * ) break;;
|
---|
1954 | esac
|
---|
1955 | done
|
---|
1956 | else
|
---|
1957 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
---|
1958 | See \`config.log' for more details." >&5
|
---|
1959 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
---|
1960 | See \`config.log' for more details." >&2;}
|
---|
1961 | { (exit 1); exit 1; }; }
|
---|
1962 | fi
|
---|
1963 |
|
---|
1964 | rm -f conftest$ac_cv_exeext
|
---|
1965 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
---|
1966 | echo "${ECHO_T}$ac_cv_exeext" >&6
|
---|
1967 |
|
---|
1968 | rm -f conftest.$ac_ext
|
---|
1969 | EXEEXT=$ac_cv_exeext
|
---|
1970 | ac_exeext=$EXEEXT
|
---|
1971 | echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
---|
1972 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
|
---|
1973 | if test "${ac_cv_objext+set}" = set; then
|
---|
1974 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
1975 | else
|
---|
1976 | cat >conftest.$ac_ext <<_ACEOF
|
---|
1977 | /* confdefs.h. */
|
---|
1978 | _ACEOF
|
---|
1979 | cat confdefs.h >>conftest.$ac_ext
|
---|
1980 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
1981 | /* end confdefs.h. */
|
---|
1982 |
|
---|
1983 | int
|
---|
1984 | main ()
|
---|
1985 | {
|
---|
1986 |
|
---|
1987 | ;
|
---|
1988 | return 0;
|
---|
1989 | }
|
---|
1990 | _ACEOF
|
---|
1991 | rm -f conftest.o conftest.obj
|
---|
1992 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
1993 | (eval $ac_compile) 2>&5
|
---|
1994 | ac_status=$?
|
---|
1995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
1996 | (exit $ac_status); }; then
|
---|
1997 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
|
---|
1998 | case $ac_file in
|
---|
1999 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
|
---|
2000 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
---|
2001 | break;;
|
---|
2002 | esac
|
---|
2003 | done
|
---|
2004 | else
|
---|
2005 | echo "$as_me: failed program was:" >&5
|
---|
2006 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
2007 |
|
---|
2008 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
---|
2009 | See \`config.log' for more details." >&5
|
---|
2010 | echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
---|
2011 | See \`config.log' for more details." >&2;}
|
---|
2012 | { (exit 1); exit 1; }; }
|
---|
2013 | fi
|
---|
2014 |
|
---|
2015 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
---|
2016 | fi
|
---|
2017 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
---|
2018 | echo "${ECHO_T}$ac_cv_objext" >&6
|
---|
2019 | OBJEXT=$ac_cv_objext
|
---|
2020 | ac_objext=$OBJEXT
|
---|
2021 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
|
---|
2022 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
|
---|
2023 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
|
---|
2024 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
2025 | else
|
---|
2026 | cat >conftest.$ac_ext <<_ACEOF
|
---|
2027 | /* confdefs.h. */
|
---|
2028 | _ACEOF
|
---|
2029 | cat confdefs.h >>conftest.$ac_ext
|
---|
2030 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
2031 | /* end confdefs.h. */
|
---|
2032 |
|
---|
2033 | int
|
---|
2034 | main ()
|
---|
2035 | {
|
---|
2036 | #ifndef __GNUC__
|
---|
2037 | choke me
|
---|
2038 | #endif
|
---|
2039 |
|
---|
2040 | ;
|
---|
2041 | return 0;
|
---|
2042 | }
|
---|
2043 | _ACEOF
|
---|
2044 | rm -f conftest.$ac_objext
|
---|
2045 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
2046 | (eval $ac_compile) 2>conftest.er1
|
---|
2047 | ac_status=$?
|
---|
2048 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
2049 | rm -f conftest.er1
|
---|
2050 | cat conftest.err >&5
|
---|
2051 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
2052 | (exit $ac_status); } &&
|
---|
2053 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
2054 | || test ! -s conftest.err'
|
---|
2055 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
2056 | (eval $ac_try) 2>&5
|
---|
2057 | ac_status=$?
|
---|
2058 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
2059 | (exit $ac_status); }; } &&
|
---|
2060 | { ac_try='test -s conftest.$ac_objext'
|
---|
2061 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
2062 | (eval $ac_try) 2>&5
|
---|
2063 | ac_status=$?
|
---|
2064 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
2065 | (exit $ac_status); }; }; then
|
---|
2066 | ac_compiler_gnu=yes
|
---|
2067 | else
|
---|
2068 | echo "$as_me: failed program was:" >&5
|
---|
2069 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
2070 |
|
---|
2071 | ac_compiler_gnu=no
|
---|
2072 | fi
|
---|
2073 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
2074 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
---|
2075 |
|
---|
2076 | fi
|
---|
2077 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
|
---|
2078 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
|
---|
2079 | GXX=`test $ac_compiler_gnu = yes && echo yes`
|
---|
2080 | ac_test_CXXFLAGS=${CXXFLAGS+set}
|
---|
2081 | ac_save_CXXFLAGS=$CXXFLAGS
|
---|
2082 | CXXFLAGS="-g"
|
---|
2083 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
|
---|
2084 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
|
---|
2085 | if test "${ac_cv_prog_cxx_g+set}" = set; then
|
---|
2086 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
2087 | else
|
---|
2088 | cat >conftest.$ac_ext <<_ACEOF
|
---|
2089 | /* confdefs.h. */
|
---|
2090 | _ACEOF
|
---|
2091 | cat confdefs.h >>conftest.$ac_ext
|
---|
2092 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
2093 | /* end confdefs.h. */
|
---|
2094 |
|
---|
2095 | int
|
---|
2096 | main ()
|
---|
2097 | {
|
---|
2098 |
|
---|
2099 | ;
|
---|
2100 | return 0;
|
---|
2101 | }
|
---|
2102 | _ACEOF
|
---|
2103 | rm -f conftest.$ac_objext
|
---|
2104 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
2105 | (eval $ac_compile) 2>conftest.er1
|
---|
2106 | ac_status=$?
|
---|
2107 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
2108 | rm -f conftest.er1
|
---|
2109 | cat conftest.err >&5
|
---|
2110 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
2111 | (exit $ac_status); } &&
|
---|
2112 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
2113 | || test ! -s conftest.err'
|
---|
2114 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
2115 | (eval $ac_try) 2>&5
|
---|
2116 | ac_status=$?
|
---|
2117 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
2118 | (exit $ac_status); }; } &&
|
---|
2119 | { ac_try='test -s conftest.$ac_objext'
|
---|
2120 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
2121 | (eval $ac_try) 2>&5
|
---|
2122 | ac_status=$?
|
---|
2123 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
2124 | (exit $ac_status); }; }; then
|
---|
2125 | ac_cv_prog_cxx_g=yes
|
---|
2126 | else
|
---|
2127 | echo "$as_me: failed program was:" >&5
|
---|
2128 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
2129 |
|
---|
2130 | ac_cv_prog_cxx_g=no
|
---|
2131 | fi
|
---|
2132 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
2133 | fi
|
---|
2134 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
|
---|
2135 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
|
---|
2136 | if test "$ac_test_CXXFLAGS" = set; then
|
---|
2137 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
2138 | elif test $ac_cv_prog_cxx_g = yes; then
|
---|
2139 | if test "$GXX" = yes; then
|
---|
2140 | CXXFLAGS="-g -O2"
|
---|
2141 | else
|
---|
2142 | CXXFLAGS="-g"
|
---|
2143 | fi
|
---|
2144 | else
|
---|
2145 | if test "$GXX" = yes; then
|
---|
2146 | CXXFLAGS="-O2"
|
---|
2147 | else
|
---|
2148 | CXXFLAGS=
|
---|
2149 | fi
|
---|
2150 | fi
|
---|
2151 | for ac_declaration in \
|
---|
2152 | '' \
|
---|
2153 | 'extern "C" void std::exit (int) throw (); using std::exit;' \
|
---|
2154 | 'extern "C" void std::exit (int); using std::exit;' \
|
---|
2155 | 'extern "C" void exit (int) throw ();' \
|
---|
2156 | 'extern "C" void exit (int);' \
|
---|
2157 | 'void exit (int);'
|
---|
2158 | do
|
---|
2159 | cat >conftest.$ac_ext <<_ACEOF
|
---|
2160 | /* confdefs.h. */
|
---|
2161 | _ACEOF
|
---|
2162 | cat confdefs.h >>conftest.$ac_ext
|
---|
2163 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
2164 | /* end confdefs.h. */
|
---|
2165 | $ac_declaration
|
---|
2166 | #include <stdlib.h>
|
---|
2167 | int
|
---|
2168 | main ()
|
---|
2169 | {
|
---|
2170 | exit (42);
|
---|
2171 | ;
|
---|
2172 | return 0;
|
---|
2173 | }
|
---|
2174 | _ACEOF
|
---|
2175 | rm -f conftest.$ac_objext
|
---|
2176 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
2177 | (eval $ac_compile) 2>conftest.er1
|
---|
2178 | ac_status=$?
|
---|
2179 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
2180 | rm -f conftest.er1
|
---|
2181 | cat conftest.err >&5
|
---|
2182 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
2183 | (exit $ac_status); } &&
|
---|
2184 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
2185 | || test ! -s conftest.err'
|
---|
2186 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
2187 | (eval $ac_try) 2>&5
|
---|
2188 | ac_status=$?
|
---|
2189 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
2190 | (exit $ac_status); }; } &&
|
---|
2191 | { ac_try='test -s conftest.$ac_objext'
|
---|
2192 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
2193 | (eval $ac_try) 2>&5
|
---|
2194 | ac_status=$?
|
---|
2195 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
2196 | (exit $ac_status); }; }; then
|
---|
2197 | :
|
---|
2198 | else
|
---|
2199 | echo "$as_me: failed program was:" >&5
|
---|
2200 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
2201 |
|
---|
2202 | continue
|
---|
2203 | fi
|
---|
2204 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
2205 | cat >conftest.$ac_ext <<_ACEOF
|
---|
2206 | /* confdefs.h. */
|
---|
2207 | _ACEOF
|
---|
2208 | cat confdefs.h >>conftest.$ac_ext
|
---|
2209 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
2210 | /* end confdefs.h. */
|
---|
2211 | $ac_declaration
|
---|
2212 | int
|
---|
2213 | main ()
|
---|
2214 | {
|
---|
2215 | exit (42);
|
---|
2216 | ;
|
---|
2217 | return 0;
|
---|
2218 | }
|
---|
2219 | _ACEOF
|
---|
2220 | rm -f conftest.$ac_objext
|
---|
2221 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
2222 | (eval $ac_compile) 2>conftest.er1
|
---|
2223 | ac_status=$?
|
---|
2224 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
2225 | rm -f conftest.er1
|
---|
2226 | cat conftest.err >&5
|
---|
2227 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
2228 | (exit $ac_status); } &&
|
---|
2229 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
2230 | || test ! -s conftest.err'
|
---|
2231 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
2232 | (eval $ac_try) 2>&5
|
---|
2233 | ac_status=$?
|
---|
2234 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
2235 | (exit $ac_status); }; } &&
|
---|
2236 | { ac_try='test -s conftest.$ac_objext'
|
---|
2237 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
2238 | (eval $ac_try) 2>&5
|
---|
2239 | ac_status=$?
|
---|
2240 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
2241 | (exit $ac_status); }; }; then
|
---|
2242 | break
|
---|
2243 | else
|
---|
2244 | echo "$as_me: failed program was:" >&5
|
---|
2245 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
2246 |
|
---|
2247 | fi
|
---|
2248 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
2249 | done
|
---|
2250 | rm -f conftest*
|
---|
2251 | if test -n "$ac_declaration"; then
|
---|
2252 | echo '#ifdef __cplusplus' >>confdefs.h
|
---|
2253 | echo $ac_declaration >>confdefs.h
|
---|
2254 | echo '#endif' >>confdefs.h
|
---|
2255 | fi
|
---|
2256 |
|
---|
2257 | ac_ext=c
|
---|
2258 | ac_cpp='$CPP $CPPFLAGS'
|
---|
2259 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
2260 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
2261 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
2262 | DEPDIR="${am__leading_dot}deps"
|
---|
2263 |
|
---|
2264 | ac_config_commands="$ac_config_commands depfiles"
|
---|
2265 |
|
---|
2266 |
|
---|
2267 | am_make=${MAKE-make}
|
---|
2268 | cat > confinc << 'END'
|
---|
2269 | am__doit:
|
---|
2270 | @echo done
|
---|
2271 | .PHONY: am__doit
|
---|
2272 | END
|
---|
2273 | # If we don't find an include directive, just comment out the code.
|
---|
2274 | echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
|
---|
2275 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
|
---|
2276 | am__include="#"
|
---|
2277 | am__quote=
|
---|
2278 | _am_result=none
|
---|
2279 | # First try GNU make style include.
|
---|
2280 | echo "include confinc" > confmf
|
---|
2281 | # We grep out `Entering directory' and `Leaving directory'
|
---|
2282 | # messages which can occur if `w' ends up in MAKEFLAGS.
|
---|
2283 | # In particular we don't look at `^make:' because GNU make might
|
---|
2284 | # be invoked under some other name (usually "gmake"), in which
|
---|
2285 | # case it prints its new name instead of `make'.
|
---|
2286 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
|
---|
2287 | am__include=include
|
---|
2288 | am__quote=
|
---|
2289 | _am_result=GNU
|
---|
2290 | fi
|
---|
2291 | # Now try BSD make style include.
|
---|
2292 | if test "$am__include" = "#"; then
|
---|
2293 | echo '.include "confinc"' > confmf
|
---|
2294 | if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
---|
2295 | am__include=.include
|
---|
2296 | am__quote="\""
|
---|
2297 | _am_result=BSD
|
---|
2298 | fi
|
---|
2299 | fi
|
---|
2300 |
|
---|
2301 |
|
---|
2302 | echo "$as_me:$LINENO: result: $_am_result" >&5
|
---|
2303 | echo "${ECHO_T}$_am_result" >&6
|
---|
2304 | rm -f confinc confmf
|
---|
2305 |
|
---|
2306 | # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
|
---|
2307 | if test "${enable_dependency_tracking+set}" = set; then
|
---|
2308 | enableval="$enable_dependency_tracking"
|
---|
2309 |
|
---|
2310 | fi;
|
---|
2311 | if test "x$enable_dependency_tracking" != xno; then
|
---|
2312 | am_depcomp="$ac_aux_dir/depcomp"
|
---|
2313 | AMDEPBACKSLASH='\'
|
---|
2314 | fi
|
---|
2315 |
|
---|
2316 |
|
---|
2317 | if test "x$enable_dependency_tracking" != xno; then
|
---|
2318 | AMDEP_TRUE=
|
---|
2319 | AMDEP_FALSE='#'
|
---|
2320 | else
|
---|
2321 | AMDEP_TRUE='#'
|
---|
2322 | AMDEP_FALSE=
|
---|
2323 | fi
|
---|
2324 |
|
---|
2325 |
|
---|
2326 |
|
---|
2327 |
|
---|
2328 | depcc="$CXX" am_compiler_list=
|
---|
2329 |
|
---|
2330 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
---|
2331 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
|
---|
2332 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
|
---|
2333 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
2334 | else
|
---|
2335 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
---|
2336 | # We make a subdir and do the tests there. Otherwise we can end up
|
---|
2337 | # making bogus files that we don't know about and never remove. For
|
---|
2338 | # instance it was reported that on HP-UX the gcc test will end up
|
---|
2339 | # making a dummy file named `D' -- because `-MD' means `put the output
|
---|
2340 | # in D'.
|
---|
2341 | mkdir conftest.dir
|
---|
2342 | # Copy depcomp to subdir because otherwise we won't find it if we're
|
---|
2343 | # using a relative directory.
|
---|
2344 | cp "$am_depcomp" conftest.dir
|
---|
2345 | cd conftest.dir
|
---|
2346 | # We will build objects and dependencies in a subdirectory because
|
---|
2347 | # it helps to detect inapplicable dependency modes. For instance
|
---|
2348 | # both Tru64's cc and ICC support -MD to output dependencies as a
|
---|
2349 | # side effect of compilation, but ICC will put the dependencies in
|
---|
2350 | # the current directory while Tru64 will put them in the object
|
---|
2351 | # directory.
|
---|
2352 | mkdir sub
|
---|
2353 |
|
---|
2354 | am_cv_CXX_dependencies_compiler_type=none
|
---|
2355 | if test "$am_compiler_list" = ""; then
|
---|
2356 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
---|
2357 | fi
|
---|
2358 | for depmode in $am_compiler_list; do
|
---|
2359 | # Setup a source with many dependencies, because some compilers
|
---|
2360 | # like to wrap large dependency lists on column 80 (with \), and
|
---|
2361 | # we should not choose a depcomp mode which is confused by this.
|
---|
2362 | #
|
---|
2363 | # We need to recreate these files for each test, as the compiler may
|
---|
2364 | # overwrite some of them when testing with obscure command lines.
|
---|
2365 | # This happens at least with the AIX C compiler.
|
---|
2366 | : > sub/conftest.c
|
---|
2367 | for i in 1 2 3 4 5 6; do
|
---|
2368 | echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
---|
2369 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
---|
2370 | # Solaris 8's {/usr,}/bin/sh.
|
---|
2371 | touch sub/conftst$i.h
|
---|
2372 | done
|
---|
2373 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
---|
2374 |
|
---|
2375 | case $depmode in
|
---|
2376 | nosideeffect)
|
---|
2377 | # after this tag, mechanisms are not by side-effect, so they'll
|
---|
2378 | # only be used when explicitly requested
|
---|
2379 | if test "x$enable_dependency_tracking" = xyes; then
|
---|
2380 | continue
|
---|
2381 | else
|
---|
2382 | break
|
---|
2383 | fi
|
---|
2384 | ;;
|
---|
2385 | none) break ;;
|
---|
2386 | esac
|
---|
2387 | # We check with `-c' and `-o' for the sake of the "dashmstdout"
|
---|
2388 | # mode. It turns out that the SunPro C++ compiler does not properly
|
---|
2389 | # handle `-M -o', and we need to detect this.
|
---|
2390 | if depmode=$depmode \
|
---|
2391 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
---|
2392 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
---|
2393 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
---|
2394 | >/dev/null 2>conftest.err &&
|
---|
2395 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
---|
2396 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
---|
2397 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
---|
2398 | # icc doesn't choke on unknown options, it will just issue warnings
|
---|
2399 | # or remarks (even with -Werror). So we grep stderr for any message
|
---|
2400 | # that says an option was ignored or not supported.
|
---|
2401 | # When given -MP, icc 7.0 and 7.1 complain thusly:
|
---|
2402 | # icc: Command line warning: ignoring option '-M'; no argument required
|
---|
2403 | # The diagnosis changed in icc 8.0:
|
---|
2404 | # icc: Command line remark: option '-MP' not supported
|
---|
2405 | if (grep 'ignoring option' conftest.err ||
|
---|
2406 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
---|
2407 | am_cv_CXX_dependencies_compiler_type=$depmode
|
---|
2408 | break
|
---|
2409 | fi
|
---|
2410 | fi
|
---|
2411 | done
|
---|
2412 |
|
---|
2413 | cd ..
|
---|
2414 | rm -rf conftest.dir
|
---|
2415 | else
|
---|
2416 | am_cv_CXX_dependencies_compiler_type=none
|
---|
2417 | fi
|
---|
2418 |
|
---|
2419 | fi
|
---|
2420 | echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
---|
2421 | echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
|
---|
2422 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
|
---|
2423 |
|
---|
2424 |
|
---|
2425 |
|
---|
2426 | if
|
---|
2427 | test "x$enable_dependency_tracking" != xno \
|
---|
2428 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
|
---|
2429 | am__fastdepCXX_TRUE=
|
---|
2430 | am__fastdepCXX_FALSE='#'
|
---|
2431 | else
|
---|
2432 | am__fastdepCXX_TRUE='#'
|
---|
2433 | am__fastdepCXX_FALSE=
|
---|
2434 | fi
|
---|
2435 |
|
---|
2436 |
|
---|
2437 | # Find a good install program. We prefer a C program (faster),
|
---|
2438 | # so one script is as good as another. But avoid the broken or
|
---|
2439 | # incompatible versions:
|
---|
2440 | # SysV /etc/install, /usr/sbin/install
|
---|
2441 | # SunOS /usr/etc/install
|
---|
2442 | # IRIX /sbin/install
|
---|
2443 | # AIX /bin/install
|
---|
2444 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
---|
2445 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
---|
2446 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
---|
2447 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
---|
2448 | # OS/2's system install, which has a completely different semantic
|
---|
2449 | # ./install, which can be erroneously created by make from ./install.sh.
|
---|
2450 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
---|
2451 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
---|
2452 | if test -z "$INSTALL"; then
|
---|
2453 | if test "${ac_cv_path_install+set}" = set; then
|
---|
2454 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
2455 | else
|
---|
2456 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2457 | for as_dir in $PATH
|
---|
2458 | do
|
---|
2459 | IFS=$as_save_IFS
|
---|
2460 | test -z "$as_dir" && as_dir=.
|
---|
2461 | # Account for people who put trailing slashes in PATH elements.
|
---|
2462 | case $as_dir/ in
|
---|
2463 | ./ | .// | /cC/* | \
|
---|
2464 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
---|
2465 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
---|
2466 | /usr/ucb/* ) ;;
|
---|
2467 | *)
|
---|
2468 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
---|
2469 | # Don't use installbsd from OSF since it installs stuff as root
|
---|
2470 | # by default.
|
---|
2471 | for ac_prog in ginstall scoinst install; do
|
---|
2472 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
2473 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
---|
2474 | if test $ac_prog = install &&
|
---|
2475 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
2476 | # AIX install. It has an incompatible calling convention.
|
---|
2477 | :
|
---|
2478 | elif test $ac_prog = install &&
|
---|
2479 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
2480 | # program-specific install script used by HP pwplus--don't use.
|
---|
2481 | :
|
---|
2482 | else
|
---|
2483 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
---|
2484 | break 3
|
---|
2485 | fi
|
---|
2486 | fi
|
---|
2487 | done
|
---|
2488 | done
|
---|
2489 | ;;
|
---|
2490 | esac
|
---|
2491 | done
|
---|
2492 |
|
---|
2493 |
|
---|
2494 | fi
|
---|
2495 | if test "${ac_cv_path_install+set}" = set; then
|
---|
2496 | INSTALL=$ac_cv_path_install
|
---|
2497 | else
|
---|
2498 | # As a last resort, use the slow shell script. We don't cache a
|
---|
2499 | # path for INSTALL within a source directory, because that will
|
---|
2500 | # break other packages using the cache if that directory is
|
---|
2501 | # removed, or if the path is relative.
|
---|
2502 | INSTALL=$ac_install_sh
|
---|
2503 | fi
|
---|
2504 | fi
|
---|
2505 | echo "$as_me:$LINENO: result: $INSTALL" >&5
|
---|
2506 | echo "${ECHO_T}$INSTALL" >&6
|
---|
2507 |
|
---|
2508 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
---|
2509 | # It thinks the first close brace ends the variable substitution.
|
---|
2510 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
2511 |
|
---|
2512 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
2513 |
|
---|
2514 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
---|
2515 |
|
---|
2516 | if test -n "$ac_tool_prefix"; then
|
---|
2517 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
---|
2518 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
---|
2519 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
2520 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
2521 | if test "${ac_cv_prog_RANLIB+set}" = set; then
|
---|
2522 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
2523 | else
|
---|
2524 | if test -n "$RANLIB"; then
|
---|
2525 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
---|
2526 | else
|
---|
2527 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2528 | for as_dir in $PATH
|
---|
2529 | do
|
---|
2530 | IFS=$as_save_IFS
|
---|
2531 | test -z "$as_dir" && as_dir=.
|
---|
2532 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
2533 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
2534 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
---|
2535 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
2536 | break 2
|
---|
2537 | fi
|
---|
2538 | done
|
---|
2539 | done
|
---|
2540 |
|
---|
2541 | fi
|
---|
2542 | fi
|
---|
2543 | RANLIB=$ac_cv_prog_RANLIB
|
---|
2544 | if test -n "$RANLIB"; then
|
---|
2545 | echo "$as_me:$LINENO: result: $RANLIB" >&5
|
---|
2546 | echo "${ECHO_T}$RANLIB" >&6
|
---|
2547 | else
|
---|
2548 | echo "$as_me:$LINENO: result: no" >&5
|
---|
2549 | echo "${ECHO_T}no" >&6
|
---|
2550 | fi
|
---|
2551 |
|
---|
2552 | fi
|
---|
2553 | if test -z "$ac_cv_prog_RANLIB"; then
|
---|
2554 | ac_ct_RANLIB=$RANLIB
|
---|
2555 | # Extract the first word of "ranlib", so it can be a program name with args.
|
---|
2556 | set dummy ranlib; ac_word=$2
|
---|
2557 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
2558 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
2559 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
---|
2560 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
2561 | else
|
---|
2562 | if test -n "$ac_ct_RANLIB"; then
|
---|
2563 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
---|
2564 | else
|
---|
2565 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2566 | for as_dir in $PATH
|
---|
2567 | do
|
---|
2568 | IFS=$as_save_IFS
|
---|
2569 | test -z "$as_dir" && as_dir=.
|
---|
2570 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
2571 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
2572 | ac_cv_prog_ac_ct_RANLIB="ranlib"
|
---|
2573 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
2574 | break 2
|
---|
2575 | fi
|
---|
2576 | done
|
---|
2577 | done
|
---|
2578 |
|
---|
2579 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
|
---|
2580 | fi
|
---|
2581 | fi
|
---|
2582 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
---|
2583 | if test -n "$ac_ct_RANLIB"; then
|
---|
2584 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
---|
2585 | echo "${ECHO_T}$ac_ct_RANLIB" >&6
|
---|
2586 | else
|
---|
2587 | echo "$as_me:$LINENO: result: no" >&5
|
---|
2588 | echo "${ECHO_T}no" >&6
|
---|
2589 | fi
|
---|
2590 |
|
---|
2591 | RANLIB=$ac_ct_RANLIB
|
---|
2592 | else
|
---|
2593 | RANLIB="$ac_cv_prog_RANLIB"
|
---|
2594 | fi
|
---|
2595 |
|
---|
2596 |
|
---|
2597 | # Check for 64-bit machines
|
---|
2598 | # Make sure we can run config.sub.
|
---|
2599 | $ac_config_sub sun4 >/dev/null 2>&1 ||
|
---|
2600 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
|
---|
2601 | echo "$as_me: error: cannot run $ac_config_sub" >&2;}
|
---|
2602 | { (exit 1); exit 1; }; }
|
---|
2603 |
|
---|
2604 | echo "$as_me:$LINENO: checking build system type" >&5
|
---|
2605 | echo $ECHO_N "checking build system type... $ECHO_C" >&6
|
---|
2606 | if test "${ac_cv_build+set}" = set; then
|
---|
2607 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
2608 | else
|
---|
2609 | ac_cv_build_alias=$build_alias
|
---|
2610 | test -z "$ac_cv_build_alias" &&
|
---|
2611 | ac_cv_build_alias=`$ac_config_guess`
|
---|
2612 | test -z "$ac_cv_build_alias" &&
|
---|
2613 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
|
---|
2614 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
---|
2615 | { (exit 1); exit 1; }; }
|
---|
2616 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
|
---|
2617 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
|
---|
2618 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
|
---|
2619 | { (exit 1); exit 1; }; }
|
---|
2620 |
|
---|
2621 | fi
|
---|
2622 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
---|
2623 | echo "${ECHO_T}$ac_cv_build" >&6
|
---|
2624 | build=$ac_cv_build
|
---|
2625 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
---|
2626 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
---|
2627 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
---|
2628 |
|
---|
2629 |
|
---|
2630 | echo "$as_me:$LINENO: checking host system type" >&5
|
---|
2631 | echo $ECHO_N "checking host system type... $ECHO_C" >&6
|
---|
2632 | if test "${ac_cv_host+set}" = set; then
|
---|
2633 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
2634 | else
|
---|
2635 | ac_cv_host_alias=$host_alias
|
---|
2636 | test -z "$ac_cv_host_alias" &&
|
---|
2637 | ac_cv_host_alias=$ac_cv_build_alias
|
---|
2638 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
|
---|
2639 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
|
---|
2640 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
|
---|
2641 | { (exit 1); exit 1; }; }
|
---|
2642 |
|
---|
2643 | fi
|
---|
2644 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
---|
2645 | echo "${ECHO_T}$ac_cv_host" >&6
|
---|
2646 | host=$ac_cv_host
|
---|
2647 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
---|
2648 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
---|
2649 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
---|
2650 |
|
---|
2651 |
|
---|
2652 | echo "$as_me:$LINENO: checking if architecture is 64-bit" >&5
|
---|
2653 | echo $ECHO_N "checking if architecture is 64-bit... $ECHO_C" >&6
|
---|
2654 | arch_64bit=no
|
---|
2655 | case "$host_cpu" in
|
---|
2656 | x86_64) arch_64bit=yes ;;
|
---|
2657 | esac
|
---|
2658 | if test "$arch_64bit" = yes; then
|
---|
2659 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
2660 | echo "${ECHO_T}yes" >&6
|
---|
2661 | if test -z "$COMPAT32BITFLAGS" ; then
|
---|
2662 | COMPAT32BITFLAGS="-m32"
|
---|
2663 | fi
|
---|
2664 | else
|
---|
2665 | echo "$as_me:$LINENO: result: no" >&5
|
---|
2666 | echo "${ECHO_T}no" >&6
|
---|
2667 | fi
|
---|
2668 |
|
---|
2669 |
|
---|
2670 | # Option: SQLite support
|
---|
2671 | # Check whether --enable-sqlite or --disable-sqlite was given.
|
---|
2672 | if test "${enable_sqlite+set}" = set; then
|
---|
2673 | enableval="$enable_sqlite"
|
---|
2674 | USE_SQLITE=1 &&
|
---|
2675 | cat >>confdefs.h <<\_ACEOF
|
---|
2676 | #define USE_SQLITE 1
|
---|
2677 | _ACEOF
|
---|
2678 |
|
---|
2679 | else
|
---|
2680 | USE_SQLITE=0
|
---|
2681 | fi;
|
---|
2682 |
|
---|
2683 |
|
---|
2684 | if test "$USE_SQLITE" = 1; then
|
---|
2685 | USE_SQLITE_TRUE=
|
---|
2686 | USE_SQLITE_FALSE='#'
|
---|
2687 | else
|
---|
2688 | USE_SQLITE_TRUE='#'
|
---|
2689 | USE_SQLITE_FALSE=
|
---|
2690 | fi
|
---|
2691 |
|
---|
2692 |
|
---|
2693 | # Generate the Makefiles for this package
|
---|
2694 | ac_config_files="$ac_config_files Makefile"
|
---|
2695 | cat >confcache <<\_ACEOF
|
---|
2696 | # This file is a shell script that caches the results of configure
|
---|
2697 | # tests run on this system so they can be shared between configure
|
---|
2698 | # scripts and configure runs, see configure's option --config-cache.
|
---|
2699 | # It is not useful on other systems. If it contains results you don't
|
---|
2700 | # want to keep, you may remove or edit it.
|
---|
2701 | #
|
---|
2702 | # config.status only pays attention to the cache file if you give it
|
---|
2703 | # the --recheck option to rerun configure.
|
---|
2704 | #
|
---|
2705 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
---|
2706 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
2707 | # following values.
|
---|
2708 |
|
---|
2709 | _ACEOF
|
---|
2710 |
|
---|
2711 | # The following way of writing the cache mishandles newlines in values,
|
---|
2712 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
2713 | # So, don't put newlines in cache variables' values.
|
---|
2714 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
2715 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
2716 | {
|
---|
2717 | (set) 2>&1 |
|
---|
2718 | case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
---|
2719 | *ac_space=\ *)
|
---|
2720 | # `set' does not quote correctly, so add quotes (double-quote
|
---|
2721 | # substitution turns \\\\ into \\, and sed turns \\ into \).
|
---|
2722 | sed -n \
|
---|
2723 | "s/'/'\\\\''/g;
|
---|
2724 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
2725 | ;;
|
---|
2726 | *)
|
---|
2727 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
2728 | sed -n \
|
---|
2729 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
---|
2730 | ;;
|
---|
2731 | esac;
|
---|
2732 | } |
|
---|
2733 | sed '
|
---|
2734 | t clear
|
---|
2735 | : clear
|
---|
2736 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
2737 | t end
|
---|
2738 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
2739 | : end' >>confcache
|
---|
2740 | if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
---|
2741 | if test -w $cache_file; then
|
---|
2742 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
---|
2743 | cat confcache >$cache_file
|
---|
2744 | else
|
---|
2745 | echo "not updating unwritable cache $cache_file"
|
---|
2746 | fi
|
---|
2747 | fi
|
---|
2748 | rm -f confcache
|
---|
2749 |
|
---|
2750 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
2751 | # Let make expand exec_prefix.
|
---|
2752 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
2753 |
|
---|
2754 | # VPATH may cause trouble with some makes, so we remove $(srcdir),
|
---|
2755 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
---|
2756 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
2757 | # (actually we leave an empty line to preserve line numbers).
|
---|
2758 | if test "x$srcdir" = x.; then
|
---|
2759 | ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
---|
2760 | s/:*\$(srcdir):*/:/;
|
---|
2761 | s/:*\${srcdir}:*/:/;
|
---|
2762 | s/:*@srcdir@:*/:/;
|
---|
2763 | s/^\([^=]*=[ ]*\):*/\1/;
|
---|
2764 | s/:*$//;
|
---|
2765 | s/^[^=]*=[ ]*$//;
|
---|
2766 | }'
|
---|
2767 | fi
|
---|
2768 |
|
---|
2769 | DEFS=-DHAVE_CONFIG_H
|
---|
2770 |
|
---|
2771 | ac_libobjs=
|
---|
2772 | ac_ltlibobjs=
|
---|
2773 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
---|
2774 | # 1. Remove the extension, and $U if already installed.
|
---|
2775 | ac_i=`echo "$ac_i" |
|
---|
2776 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
---|
2777 | # 2. Add them.
|
---|
2778 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
---|
2779 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
---|
2780 | done
|
---|
2781 | LIBOBJS=$ac_libobjs
|
---|
2782 |
|
---|
2783 | LTLIBOBJS=$ac_ltlibobjs
|
---|
2784 |
|
---|
2785 |
|
---|
2786 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
---|
2787 | { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
|
---|
2788 | Usually this means the macro was only invoked conditionally." >&5
|
---|
2789 | echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
---|
2790 | Usually this means the macro was only invoked conditionally." >&2;}
|
---|
2791 | { (exit 1); exit 1; }; }
|
---|
2792 | fi
|
---|
2793 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
|
---|
2794 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
|
---|
2795 | Usually this means the macro was only invoked conditionally." >&5
|
---|
2796 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
|
---|
2797 | Usually this means the macro was only invoked conditionally." >&2;}
|
---|
2798 | { (exit 1); exit 1; }; }
|
---|
2799 | fi
|
---|
2800 | if test -z "${USE_SQLITE_TRUE}" && test -z "${USE_SQLITE_FALSE}"; then
|
---|
2801 | { { echo "$as_me:$LINENO: error: conditional \"USE_SQLITE\" was never defined.
|
---|
2802 | Usually this means the macro was only invoked conditionally." >&5
|
---|
2803 | echo "$as_me: error: conditional \"USE_SQLITE\" was never defined.
|
---|
2804 | Usually this means the macro was only invoked conditionally." >&2;}
|
---|
2805 | { (exit 1); exit 1; }; }
|
---|
2806 | fi
|
---|
2807 |
|
---|
2808 | : ${CONFIG_STATUS=./config.status}
|
---|
2809 | ac_clean_files_save=$ac_clean_files
|
---|
2810 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
2811 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
---|
2812 | echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
2813 | cat >$CONFIG_STATUS <<_ACEOF
|
---|
2814 | #! $SHELL
|
---|
2815 | # Generated by $as_me.
|
---|
2816 | # Run this file to recreate the current configuration.
|
---|
2817 | # Compiler output produced by configure, useful for debugging
|
---|
2818 | # configure, is in config.log if it exists.
|
---|
2819 |
|
---|
2820 | debug=false
|
---|
2821 | ac_cs_recheck=false
|
---|
2822 | ac_cs_silent=false
|
---|
2823 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
2824 | _ACEOF
|
---|
2825 |
|
---|
2826 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
2827 | ## --------------------- ##
|
---|
2828 | ## M4sh Initialization. ##
|
---|
2829 | ## --------------------- ##
|
---|
2830 |
|
---|
2831 | # Be Bourne compatible
|
---|
2832 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
2833 | emulate sh
|
---|
2834 | NULLCMD=:
|
---|
2835 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
---|
2836 | # is contrary to our usage. Disable this feature.
|
---|
2837 | alias -g '${1+"$@"}'='"$@"'
|
---|
2838 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
---|
2839 | set -o posix
|
---|
2840 | fi
|
---|
2841 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
2842 |
|
---|
2843 | # Support unset when possible.
|
---|
2844 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
---|
2845 | as_unset=unset
|
---|
2846 | else
|
---|
2847 | as_unset=false
|
---|
2848 | fi
|
---|
2849 |
|
---|
2850 |
|
---|
2851 | # Work around bugs in pre-3.0 UWIN ksh.
|
---|
2852 | $as_unset ENV MAIL MAILPATH
|
---|
2853 | PS1='$ '
|
---|
2854 | PS2='> '
|
---|
2855 | PS4='+ '
|
---|
2856 |
|
---|
2857 | # NLS nuisances.
|
---|
2858 | for as_var in \
|
---|
2859 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
---|
2860 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
---|
2861 | LC_TELEPHONE LC_TIME
|
---|
2862 | do
|
---|
2863 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
---|
2864 | eval $as_var=C; export $as_var
|
---|
2865 | else
|
---|
2866 | $as_unset $as_var
|
---|
2867 | fi
|
---|
2868 | done
|
---|
2869 |
|
---|
2870 | # Required to use basename.
|
---|
2871 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
2872 | as_expr=expr
|
---|
2873 | else
|
---|
2874 | as_expr=false
|
---|
2875 | fi
|
---|
2876 |
|
---|
2877 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
---|
2878 | as_basename=basename
|
---|
2879 | else
|
---|
2880 | as_basename=false
|
---|
2881 | fi
|
---|
2882 |
|
---|
2883 |
|
---|
2884 | # Name of the executable.
|
---|
2885 | as_me=`$as_basename "$0" ||
|
---|
2886 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
2887 | X"$0" : 'X\(//\)$' \| \
|
---|
2888 | X"$0" : 'X\(/\)$' \| \
|
---|
2889 | . : '\(.\)' 2>/dev/null ||
|
---|
2890 | echo X/"$0" |
|
---|
2891 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
---|
2892 | /^X\/\(\/\/\)$/{ s//\1/; q; }
|
---|
2893 | /^X\/\(\/\).*/{ s//\1/; q; }
|
---|
2894 | s/.*/./; q'`
|
---|
2895 |
|
---|
2896 |
|
---|
2897 | # PATH needs CR, and LINENO needs CR and PATH.
|
---|
2898 | # Avoid depending upon Character Ranges.
|
---|
2899 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
2900 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
2901 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
2902 | as_cr_digits='0123456789'
|
---|
2903 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
2904 |
|
---|
2905 | # The user is always right.
|
---|
2906 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
2907 | echo "#! /bin/sh" >conf$$.sh
|
---|
2908 | echo "exit 0" >>conf$$.sh
|
---|
2909 | chmod +x conf$$.sh
|
---|
2910 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
---|
2911 | PATH_SEPARATOR=';'
|
---|
2912 | else
|
---|
2913 | PATH_SEPARATOR=:
|
---|
2914 | fi
|
---|
2915 | rm -f conf$$.sh
|
---|
2916 | fi
|
---|
2917 |
|
---|
2918 |
|
---|
2919 | as_lineno_1=$LINENO
|
---|
2920 | as_lineno_2=$LINENO
|
---|
2921 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
2922 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
2923 | test "x$as_lineno_3" = "x$as_lineno_2" || {
|
---|
2924 | # Find who we are. Look in the path if we contain no path at all
|
---|
2925 | # relative or not.
|
---|
2926 | case $0 in
|
---|
2927 | *[\\/]* ) as_myself=$0 ;;
|
---|
2928 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2929 | for as_dir in $PATH
|
---|
2930 | do
|
---|
2931 | IFS=$as_save_IFS
|
---|
2932 | test -z "$as_dir" && as_dir=.
|
---|
2933 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
2934 | done
|
---|
2935 |
|
---|
2936 | ;;
|
---|
2937 | esac
|
---|
2938 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
2939 | # in which case we are not to be found in the path.
|
---|
2940 | if test "x$as_myself" = x; then
|
---|
2941 | as_myself=$0
|
---|
2942 | fi
|
---|
2943 | if test ! -f "$as_myself"; then
|
---|
2944 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
---|
2945 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
---|
2946 | { (exit 1); exit 1; }; }
|
---|
2947 | fi
|
---|
2948 | case $CONFIG_SHELL in
|
---|
2949 | '')
|
---|
2950 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2951 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
2952 | do
|
---|
2953 | IFS=$as_save_IFS
|
---|
2954 | test -z "$as_dir" && as_dir=.
|
---|
2955 | for as_base in sh bash ksh sh5; do
|
---|
2956 | case $as_dir in
|
---|
2957 | /*)
|
---|
2958 | if ("$as_dir/$as_base" -c '
|
---|
2959 | as_lineno_1=$LINENO
|
---|
2960 | as_lineno_2=$LINENO
|
---|
2961 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
2962 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
2963 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
---|
2964 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
---|
2965 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
---|
2966 | CONFIG_SHELL=$as_dir/$as_base
|
---|
2967 | export CONFIG_SHELL
|
---|
2968 | exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
---|
2969 | fi;;
|
---|
2970 | esac
|
---|
2971 | done
|
---|
2972 | done
|
---|
2973 | ;;
|
---|
2974 | esac
|
---|
2975 |
|
---|
2976 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
---|
2977 | # uniformly replaced by the line number. The first 'sed' inserts a
|
---|
2978 | # line-number line before each line; the second 'sed' does the real
|
---|
2979 | # work. The second script uses 'N' to pair each line-number line
|
---|
2980 | # with the numbered line, and appends trailing '-' during
|
---|
2981 | # substitution so that $LINENO is not a special case at line end.
|
---|
2982 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
---|
2983 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
---|
2984 | sed '=' <$as_myself |
|
---|
2985 | sed '
|
---|
2986 | N
|
---|
2987 | s,$,-,
|
---|
2988 | : loop
|
---|
2989 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
---|
2990 | t loop
|
---|
2991 | s,-$,,
|
---|
2992 | s,^['$as_cr_digits']*\n,,
|
---|
2993 | ' >$as_me.lineno &&
|
---|
2994 | chmod +x $as_me.lineno ||
|
---|
2995 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
|
---|
2996 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
|
---|
2997 | { (exit 1); exit 1; }; }
|
---|
2998 |
|
---|
2999 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
3000 | # (the dirname of $[0] is not the place where we might find the
|
---|
3001 | # original and so on. Autoconf is especially sensible to this).
|
---|
3002 | . ./$as_me.lineno
|
---|
3003 | # Exit status is that of the last command.
|
---|
3004 | exit
|
---|
3005 | }
|
---|
3006 |
|
---|
3007 |
|
---|
3008 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
---|
3009 | *c*,-n*) ECHO_N= ECHO_C='
|
---|
3010 | ' ECHO_T=' ' ;;
|
---|
3011 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
---|
3012 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
---|
3013 | esac
|
---|
3014 |
|
---|
3015 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
3016 | as_expr=expr
|
---|
3017 | else
|
---|
3018 | as_expr=false
|
---|
3019 | fi
|
---|
3020 |
|
---|
3021 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
3022 | echo >conf$$.file
|
---|
3023 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
3024 | # We could just check for DJGPP; but this test a) works b) is more generic
|
---|
3025 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
---|
3026 | if test -f conf$$.exe; then
|
---|
3027 | # Don't use ln at all; we don't have any links
|
---|
3028 | as_ln_s='cp -p'
|
---|
3029 | else
|
---|
3030 | as_ln_s='ln -s'
|
---|
3031 | fi
|
---|
3032 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
3033 | as_ln_s=ln
|
---|
3034 | else
|
---|
3035 | as_ln_s='cp -p'
|
---|
3036 | fi
|
---|
3037 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
3038 |
|
---|
3039 | if mkdir -p . 2>/dev/null; then
|
---|
3040 | as_mkdir_p=:
|
---|
3041 | else
|
---|
3042 | test -d ./-p && rmdir ./-p
|
---|
3043 | as_mkdir_p=false
|
---|
3044 | fi
|
---|
3045 |
|
---|
3046 | as_executable_p="test -f"
|
---|
3047 |
|
---|
3048 | # Sed expression to map a string onto a valid CPP name.
|
---|
3049 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
3050 |
|
---|
3051 | # Sed expression to map a string onto a valid variable name.
|
---|
3052 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
3053 |
|
---|
3054 |
|
---|
3055 | # IFS
|
---|
3056 | # We need space, tab and new line, in precisely that order.
|
---|
3057 | as_nl='
|
---|
3058 | '
|
---|
3059 | IFS=" $as_nl"
|
---|
3060 |
|
---|
3061 | # CDPATH.
|
---|
3062 | $as_unset CDPATH
|
---|
3063 |
|
---|
3064 | exec 6>&1
|
---|
3065 |
|
---|
3066 | # Open the log real soon, to keep \$[0] and so on meaningful, and to
|
---|
3067 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
3068 | # values after options handling. Logging --version etc. is OK.
|
---|
3069 | exec 5>>config.log
|
---|
3070 | {
|
---|
3071 | echo
|
---|
3072 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
3073 | ## Running $as_me. ##
|
---|
3074 | _ASBOX
|
---|
3075 | } >&5
|
---|
3076 | cat >&5 <<_CSEOF
|
---|
3077 |
|
---|
3078 | This file was extended by greenstone2 $as_me 2.84-svn, which was
|
---|
3079 | generated by GNU Autoconf 2.59. Invocation command line was
|
---|
3080 |
|
---|
3081 | CONFIG_FILES = $CONFIG_FILES
|
---|
3082 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
3083 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
3084 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
3085 | $ $0 $@
|
---|
3086 |
|
---|
3087 | _CSEOF
|
---|
3088 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
---|
3089 | echo >&5
|
---|
3090 | _ACEOF
|
---|
3091 |
|
---|
3092 | # Files that config.status was made for.
|
---|
3093 | if test -n "$ac_config_files"; then
|
---|
3094 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
---|
3095 | fi
|
---|
3096 |
|
---|
3097 | if test -n "$ac_config_headers"; then
|
---|
3098 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
---|
3099 | fi
|
---|
3100 |
|
---|
3101 | if test -n "$ac_config_links"; then
|
---|
3102 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
---|
3103 | fi
|
---|
3104 |
|
---|
3105 | if test -n "$ac_config_commands"; then
|
---|
3106 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
---|
3107 | fi
|
---|
3108 |
|
---|
3109 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
3110 |
|
---|
3111 | ac_cs_usage="\
|
---|
3112 | \`$as_me' instantiates files from templates according to the
|
---|
3113 | current configuration.
|
---|
3114 |
|
---|
3115 | Usage: $0 [OPTIONS] [FILE]...
|
---|
3116 |
|
---|
3117 | -h, --help print this help, then exit
|
---|
3118 | -V, --version print version number, then exit
|
---|
3119 | -q, --quiet do not print progress messages
|
---|
3120 | -d, --debug don't remove temporary files
|
---|
3121 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
3122 | --file=FILE[:TEMPLATE]
|
---|
3123 | instantiate the configuration file FILE
|
---|
3124 | --header=FILE[:TEMPLATE]
|
---|
3125 | instantiate the configuration header FILE
|
---|
3126 |
|
---|
3127 | Configuration files:
|
---|
3128 | $config_files
|
---|
3129 |
|
---|
3130 | Configuration headers:
|
---|
3131 | $config_headers
|
---|
3132 |
|
---|
3133 | Configuration commands:
|
---|
3134 | $config_commands
|
---|
3135 |
|
---|
3136 | Report bugs to <[email protected]>."
|
---|
3137 | _ACEOF
|
---|
3138 |
|
---|
3139 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
3140 | ac_cs_version="\\
|
---|
3141 | greenstone2 config.status 2.84-svn
|
---|
3142 | configured by $0, generated by GNU Autoconf 2.59,
|
---|
3143 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
---|
3144 |
|
---|
3145 | Copyright (C) 2003 Free Software Foundation, Inc.
|
---|
3146 | This config.status script is free software; the Free Software Foundation
|
---|
3147 | gives unlimited permission to copy, distribute and modify it."
|
---|
3148 | srcdir=$srcdir
|
---|
3149 | INSTALL="$INSTALL"
|
---|
3150 | _ACEOF
|
---|
3151 |
|
---|
3152 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
3153 | # If no file are specified by the user, then we need to provide default
|
---|
3154 | # value. By we need to know if files were specified by the user.
|
---|
3155 | ac_need_defaults=:
|
---|
3156 | while test $# != 0
|
---|
3157 | do
|
---|
3158 | case $1 in
|
---|
3159 | --*=*)
|
---|
3160 | ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
---|
3161 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
---|
3162 | ac_shift=:
|
---|
3163 | ;;
|
---|
3164 | -*)
|
---|
3165 | ac_option=$1
|
---|
3166 | ac_optarg=$2
|
---|
3167 | ac_shift=shift
|
---|
3168 | ;;
|
---|
3169 | *) # This is not an option, so the user has probably given explicit
|
---|
3170 | # arguments.
|
---|
3171 | ac_option=$1
|
---|
3172 | ac_need_defaults=false;;
|
---|
3173 | esac
|
---|
3174 |
|
---|
3175 | case $ac_option in
|
---|
3176 | # Handling of the options.
|
---|
3177 | _ACEOF
|
---|
3178 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
3179 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
3180 | ac_cs_recheck=: ;;
|
---|
3181 | --version | --vers* | -V )
|
---|
3182 | echo "$ac_cs_version"; exit 0 ;;
|
---|
3183 | --he | --h)
|
---|
3184 | # Conflict between --help and --header
|
---|
3185 | { { echo "$as_me:$LINENO: error: ambiguous option: $1
|
---|
3186 | Try \`$0 --help' for more information." >&5
|
---|
3187 | echo "$as_me: error: ambiguous option: $1
|
---|
3188 | Try \`$0 --help' for more information." >&2;}
|
---|
3189 | { (exit 1); exit 1; }; };;
|
---|
3190 | --help | --hel | -h )
|
---|
3191 | echo "$ac_cs_usage"; exit 0 ;;
|
---|
3192 | --debug | --d* | -d )
|
---|
3193 | debug=: ;;
|
---|
3194 | --file | --fil | --fi | --f )
|
---|
3195 | $ac_shift
|
---|
3196 | CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
---|
3197 | ac_need_defaults=false;;
|
---|
3198 | --header | --heade | --head | --hea )
|
---|
3199 | $ac_shift
|
---|
3200 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
---|
3201 | ac_need_defaults=false;;
|
---|
3202 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
3203 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
3204 | ac_cs_silent=: ;;
|
---|
3205 |
|
---|
3206 | # This is an error.
|
---|
3207 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
|
---|
3208 | Try \`$0 --help' for more information." >&5
|
---|
3209 | echo "$as_me: error: unrecognized option: $1
|
---|
3210 | Try \`$0 --help' for more information." >&2;}
|
---|
3211 | { (exit 1); exit 1; }; } ;;
|
---|
3212 |
|
---|
3213 | *) ac_config_targets="$ac_config_targets $1" ;;
|
---|
3214 |
|
---|
3215 | esac
|
---|
3216 | shift
|
---|
3217 | done
|
---|
3218 |
|
---|
3219 | ac_configure_extra_args=
|
---|
3220 |
|
---|
3221 | if $ac_cs_silent; then
|
---|
3222 | exec 6>/dev/null
|
---|
3223 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
3224 | fi
|
---|
3225 |
|
---|
3226 | _ACEOF
|
---|
3227 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
3228 | if \$ac_cs_recheck; then
|
---|
3229 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
---|
3230 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
---|
3231 | fi
|
---|
3232 |
|
---|
3233 | _ACEOF
|
---|
3234 |
|
---|
3235 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
3236 | #
|
---|
3237 | # INIT-COMMANDS section.
|
---|
3238 | #
|
---|
3239 |
|
---|
3240 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
---|
3241 |
|
---|
3242 | _ACEOF
|
---|
3243 |
|
---|
3244 |
|
---|
3245 |
|
---|
3246 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
3247 | for ac_config_target in $ac_config_targets
|
---|
3248 | do
|
---|
3249 | case "$ac_config_target" in
|
---|
3250 | # Handling of arguments.
|
---|
3251 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
3252 | "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
---|
3253 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
---|
3254 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
---|
3255 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
---|
3256 | { (exit 1); exit 1; }; };;
|
---|
3257 | esac
|
---|
3258 | done
|
---|
3259 |
|
---|
3260 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
3261 | # then the envvar interface is used. Set only those that are not.
|
---|
3262 | # We use the long form for the default assignment because of an extremely
|
---|
3263 | # bizarre bug on SunOS 4.1.3.
|
---|
3264 | if $ac_need_defaults; then
|
---|
3265 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
3266 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
---|
3267 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
---|
3268 | fi
|
---|
3269 |
|
---|
3270 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
3271 | # simply because there is no reason to put it here, and in addition,
|
---|
3272 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
3273 | # Create a temporary directory, and hook for its removal unless debugging.
|
---|
3274 | $debug ||
|
---|
3275 | {
|
---|
3276 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
---|
3277 | trap '{ (exit 1); exit 1; }' 1 2 13 15
|
---|
3278 | }
|
---|
3279 |
|
---|
3280 | # Create a (secure) tmp directory for tmp files.
|
---|
3281 |
|
---|
3282 | {
|
---|
3283 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
|
---|
3284 | test -n "$tmp" && test -d "$tmp"
|
---|
3285 | } ||
|
---|
3286 | {
|
---|
3287 | tmp=./confstat$$-$RANDOM
|
---|
3288 | (umask 077 && mkdir $tmp)
|
---|
3289 | } ||
|
---|
3290 | {
|
---|
3291 | echo "$me: cannot create a temporary directory in ." >&2
|
---|
3292 | { (exit 1); exit 1; }
|
---|
3293 | }
|
---|
3294 |
|
---|
3295 | _ACEOF
|
---|
3296 |
|
---|
3297 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
3298 |
|
---|
3299 | #
|
---|
3300 | # CONFIG_FILES section.
|
---|
3301 | #
|
---|
3302 |
|
---|
3303 | # No need to generate the scripts if there are no CONFIG_FILES.
|
---|
3304 | # This happens for instance when ./config.status config.h
|
---|
3305 | if test -n "\$CONFIG_FILES"; then
|
---|
3306 | # Protect against being on the right side of a sed subst in config.status.
|
---|
3307 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
---|
3308 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
---|
3309 | s,@SHELL@,$SHELL,;t t
|
---|
3310 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
---|
3311 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
---|
3312 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
---|
3313 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
---|
3314 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
---|
3315 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
---|
3316 | s,@exec_prefix@,$exec_prefix,;t t
|
---|
3317 | s,@prefix@,$prefix,;t t
|
---|
3318 | s,@program_transform_name@,$program_transform_name,;t t
|
---|
3319 | s,@bindir@,$bindir,;t t
|
---|
3320 | s,@sbindir@,$sbindir,;t t
|
---|
3321 | s,@libexecdir@,$libexecdir,;t t
|
---|
3322 | s,@datadir@,$datadir,;t t
|
---|
3323 | s,@sysconfdir@,$sysconfdir,;t t
|
---|
3324 | s,@sharedstatedir@,$sharedstatedir,;t t
|
---|
3325 | s,@localstatedir@,$localstatedir,;t t
|
---|
3326 | s,@libdir@,$libdir,;t t
|
---|
3327 | s,@includedir@,$includedir,;t t
|
---|
3328 | s,@oldincludedir@,$oldincludedir,;t t
|
---|
3329 | s,@infodir@,$infodir,;t t
|
---|
3330 | s,@mandir@,$mandir,;t t
|
---|
3331 | s,@build_alias@,$build_alias,;t t
|
---|
3332 | s,@host_alias@,$host_alias,;t t
|
---|
3333 | s,@target_alias@,$target_alias,;t t
|
---|
3334 | s,@DEFS@,$DEFS,;t t
|
---|
3335 | s,@ECHO_C@,$ECHO_C,;t t
|
---|
3336 | s,@ECHO_N@,$ECHO_N,;t t
|
---|
3337 | s,@ECHO_T@,$ECHO_T,;t t
|
---|
3338 | s,@LIBS@,$LIBS,;t t
|
---|
3339 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
---|
3340 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
---|
3341 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
---|
3342 | s,@CYGPATH_W@,$CYGPATH_W,;t t
|
---|
3343 | s,@PACKAGE@,$PACKAGE,;t t
|
---|
3344 | s,@VERSION@,$VERSION,;t t
|
---|
3345 | s,@ACLOCAL@,$ACLOCAL,;t t
|
---|
3346 | s,@AUTOCONF@,$AUTOCONF,;t t
|
---|
3347 | s,@AUTOMAKE@,$AUTOMAKE,;t t
|
---|
3348 | s,@AUTOHEADER@,$AUTOHEADER,;t t
|
---|
3349 | s,@MAKEINFO@,$MAKEINFO,;t t
|
---|
3350 | s,@install_sh@,$install_sh,;t t
|
---|
3351 | s,@STRIP@,$STRIP,;t t
|
---|
3352 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
|
---|
3353 | s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
|
---|
3354 | s,@mkdir_p@,$mkdir_p,;t t
|
---|
3355 | s,@AWK@,$AWK,;t t
|
---|
3356 | s,@SET_MAKE@,$SET_MAKE,;t t
|
---|
3357 | s,@am__leading_dot@,$am__leading_dot,;t t
|
---|
3358 | s,@AMTAR@,$AMTAR,;t t
|
---|
3359 | s,@am__tar@,$am__tar,;t t
|
---|
3360 | s,@am__untar@,$am__untar,;t t
|
---|
3361 | s,@CXX@,$CXX,;t t
|
---|
3362 | s,@CXXFLAGS@,$CXXFLAGS,;t t
|
---|
3363 | s,@LDFLAGS@,$LDFLAGS,;t t
|
---|
3364 | s,@CPPFLAGS@,$CPPFLAGS,;t t
|
---|
3365 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t
|
---|
3366 | s,@EXEEXT@,$EXEEXT,;t t
|
---|
3367 | s,@OBJEXT@,$OBJEXT,;t t
|
---|
3368 | s,@DEPDIR@,$DEPDIR,;t t
|
---|
3369 | s,@am__include@,$am__include,;t t
|
---|
3370 | s,@am__quote@,$am__quote,;t t
|
---|
3371 | s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
|
---|
3372 | s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
|
---|
3373 | s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
|
---|
3374 | s,@CXXDEPMODE@,$CXXDEPMODE,;t t
|
---|
3375 | s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
|
---|
3376 | s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
|
---|
3377 | s,@RANLIB@,$RANLIB,;t t
|
---|
3378 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
|
---|
3379 | s,@build@,$build,;t t
|
---|
3380 | s,@build_cpu@,$build_cpu,;t t
|
---|
3381 | s,@build_vendor@,$build_vendor,;t t
|
---|
3382 | s,@build_os@,$build_os,;t t
|
---|
3383 | s,@host@,$host,;t t
|
---|
3384 | s,@host_cpu@,$host_cpu,;t t
|
---|
3385 | s,@host_vendor@,$host_vendor,;t t
|
---|
3386 | s,@host_os@,$host_os,;t t
|
---|
3387 | s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
|
---|
3388 | s,@USE_SQLITE_TRUE@,$USE_SQLITE_TRUE,;t t
|
---|
3389 | s,@USE_SQLITE_FALSE@,$USE_SQLITE_FALSE,;t t
|
---|
3390 | s,@LIBOBJS@,$LIBOBJS,;t t
|
---|
3391 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
---|
3392 | CEOF
|
---|
3393 |
|
---|
3394 | _ACEOF
|
---|
3395 |
|
---|
3396 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
3397 | # Split the substitutions into bite-sized pieces for seds with
|
---|
3398 | # small command number limits, like on Digital OSF/1 and HP-UX.
|
---|
3399 | ac_max_sed_lines=48
|
---|
3400 | ac_sed_frag=1 # Number of current file.
|
---|
3401 | ac_beg=1 # First line for current file.
|
---|
3402 | ac_end=$ac_max_sed_lines # Line after last line for current file.
|
---|
3403 | ac_more_lines=:
|
---|
3404 | ac_sed_cmds=
|
---|
3405 | while $ac_more_lines; do
|
---|
3406 | if test $ac_beg -gt 1; then
|
---|
3407 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
---|
3408 | else
|
---|
3409 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
---|
3410 | fi
|
---|
3411 | if test ! -s $tmp/subs.frag; then
|
---|
3412 | ac_more_lines=false
|
---|
3413 | else
|
---|
3414 | # The purpose of the label and of the branching condition is to
|
---|
3415 | # speed up the sed processing (if there are no `@' at all, there
|
---|
3416 | # is no need to browse any of the substitutions).
|
---|
3417 | # These are the two extra sed commands mentioned above.
|
---|
3418 | (echo ':t
|
---|
3419 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
---|
3420 | if test -z "$ac_sed_cmds"; then
|
---|
3421 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
---|
3422 | else
|
---|
3423 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
---|
3424 | fi
|
---|
3425 | ac_sed_frag=`expr $ac_sed_frag + 1`
|
---|
3426 | ac_beg=$ac_end
|
---|
3427 | ac_end=`expr $ac_end + $ac_max_sed_lines`
|
---|
3428 | fi
|
---|
3429 | done
|
---|
3430 | if test -z "$ac_sed_cmds"; then
|
---|
3431 | ac_sed_cmds=cat
|
---|
3432 | fi
|
---|
3433 | fi # test -n "$CONFIG_FILES"
|
---|
3434 |
|
---|
3435 | _ACEOF
|
---|
3436 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
3437 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
---|
3438 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
---|
3439 | case $ac_file in
|
---|
3440 | - | *:- | *:-:* ) # input from stdin
|
---|
3441 | cat >$tmp/stdin
|
---|
3442 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
3443 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
3444 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
3445 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
3446 | * ) ac_file_in=$ac_file.in ;;
|
---|
3447 | esac
|
---|
3448 |
|
---|
3449 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
---|
3450 | ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
---|
3451 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
3452 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
3453 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
3454 | X"$ac_file" : 'X\(/\)' \| \
|
---|
3455 | . : '\(.\)' 2>/dev/null ||
|
---|
3456 | echo X"$ac_file" |
|
---|
3457 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
3458 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
3459 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
3460 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
3461 | s/.*/./; q'`
|
---|
3462 | { if $as_mkdir_p; then
|
---|
3463 | mkdir -p "$ac_dir"
|
---|
3464 | else
|
---|
3465 | as_dir="$ac_dir"
|
---|
3466 | as_dirs=
|
---|
3467 | while test ! -d "$as_dir"; do
|
---|
3468 | as_dirs="$as_dir $as_dirs"
|
---|
3469 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
---|
3470 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
3471 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
3472 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
3473 | X"$as_dir" : 'X\(/\)' \| \
|
---|
3474 | . : '\(.\)' 2>/dev/null ||
|
---|
3475 | echo X"$as_dir" |
|
---|
3476 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
3477 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
3478 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
3479 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
3480 | s/.*/./; q'`
|
---|
3481 | done
|
---|
3482 | test ! -n "$as_dirs" || mkdir $as_dirs
|
---|
3483 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
---|
3484 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
---|
3485 | { (exit 1); exit 1; }; }; }
|
---|
3486 |
|
---|
3487 | ac_builddir=.
|
---|
3488 |
|
---|
3489 | if test "$ac_dir" != .; then
|
---|
3490 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
3491 | # A "../" for each directory in $ac_dir_suffix.
|
---|
3492 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
---|
3493 | else
|
---|
3494 | ac_dir_suffix= ac_top_builddir=
|
---|
3495 | fi
|
---|
3496 |
|
---|
3497 | case $srcdir in
|
---|
3498 | .) # No --srcdir option. We are building in place.
|
---|
3499 | ac_srcdir=.
|
---|
3500 | if test -z "$ac_top_builddir"; then
|
---|
3501 | ac_top_srcdir=.
|
---|
3502 | else
|
---|
3503 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
---|
3504 | fi ;;
|
---|
3505 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
---|
3506 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
3507 | ac_top_srcdir=$srcdir ;;
|
---|
3508 | *) # Relative path.
|
---|
3509 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
---|
3510 | ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
---|
3511 | esac
|
---|
3512 |
|
---|
3513 | # Do not use `cd foo && pwd` to compute absolute paths, because
|
---|
3514 | # the directories may not exist.
|
---|
3515 | case `pwd` in
|
---|
3516 | .) ac_abs_builddir="$ac_dir";;
|
---|
3517 | *)
|
---|
3518 | case "$ac_dir" in
|
---|
3519 | .) ac_abs_builddir=`pwd`;;
|
---|
3520 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
---|
3521 | *) ac_abs_builddir=`pwd`/"$ac_dir";;
|
---|
3522 | esac;;
|
---|
3523 | esac
|
---|
3524 | case $ac_abs_builddir in
|
---|
3525 | .) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
3526 | *)
|
---|
3527 | case ${ac_top_builddir}. in
|
---|
3528 | .) ac_abs_top_builddir=$ac_abs_builddir;;
|
---|
3529 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
3530 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
---|
3531 | esac;;
|
---|
3532 | esac
|
---|
3533 | case $ac_abs_builddir in
|
---|
3534 | .) ac_abs_srcdir=$ac_srcdir;;
|
---|
3535 | *)
|
---|
3536 | case $ac_srcdir in
|
---|
3537 | .) ac_abs_srcdir=$ac_abs_builddir;;
|
---|
3538 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
---|
3539 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
---|
3540 | esac;;
|
---|
3541 | esac
|
---|
3542 | case $ac_abs_builddir in
|
---|
3543 | .) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
3544 | *)
|
---|
3545 | case $ac_top_srcdir in
|
---|
3546 | .) ac_abs_top_srcdir=$ac_abs_builddir;;
|
---|
3547 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
3548 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
---|
3549 | esac;;
|
---|
3550 | esac
|
---|
3551 |
|
---|
3552 |
|
---|
3553 | case $INSTALL in
|
---|
3554 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
---|
3555 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
|
---|
3556 | esac
|
---|
3557 |
|
---|
3558 | if test x"$ac_file" != x-; then
|
---|
3559 | { echo "$as_me:$LINENO: creating $ac_file" >&5
|
---|
3560 | echo "$as_me: creating $ac_file" >&6;}
|
---|
3561 | rm -f "$ac_file"
|
---|
3562 | fi
|
---|
3563 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
3564 | # use $as_me), people would be surprised to read:
|
---|
3565 | # /* config.h. Generated by config.status. */
|
---|
3566 | if test x"$ac_file" = x-; then
|
---|
3567 | configure_input=
|
---|
3568 | else
|
---|
3569 | configure_input="$ac_file. "
|
---|
3570 | fi
|
---|
3571 | configure_input=$configure_input"Generated from `echo $ac_file_in |
|
---|
3572 | sed 's,.*/,,'` by configure."
|
---|
3573 |
|
---|
3574 | # First look for the input files in the build tree, otherwise in the
|
---|
3575 | # src tree.
|
---|
3576 | ac_file_inputs=`IFS=:
|
---|
3577 | for f in $ac_file_in; do
|
---|
3578 | case $f in
|
---|
3579 | -) echo $tmp/stdin ;;
|
---|
3580 | [\\/$]*)
|
---|
3581 | # Absolute (can't be DOS-style, as IFS=:)
|
---|
3582 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
3583 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
3584 | { (exit 1); exit 1; }; }
|
---|
3585 | echo "$f";;
|
---|
3586 | *) # Relative
|
---|
3587 | if test -f "$f"; then
|
---|
3588 | # Build tree
|
---|
3589 | echo "$f"
|
---|
3590 | elif test -f "$srcdir/$f"; then
|
---|
3591 | # Source tree
|
---|
3592 | echo "$srcdir/$f"
|
---|
3593 | else
|
---|
3594 | # /dev/null tree
|
---|
3595 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
3596 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
3597 | { (exit 1); exit 1; }; }
|
---|
3598 | fi;;
|
---|
3599 | esac
|
---|
3600 | done` || { (exit 1); exit 1; }
|
---|
3601 | _ACEOF
|
---|
3602 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
3603 | sed "$ac_vpsub
|
---|
3604 | $extrasub
|
---|
3605 | _ACEOF
|
---|
3606 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
3607 | :t
|
---|
3608 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
3609 | s,@configure_input@,$configure_input,;t t
|
---|
3610 | s,@srcdir@,$ac_srcdir,;t t
|
---|
3611 | s,@abs_srcdir@,$ac_abs_srcdir,;t t
|
---|
3612 | s,@top_srcdir@,$ac_top_srcdir,;t t
|
---|
3613 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
|
---|
3614 | s,@builddir@,$ac_builddir,;t t
|
---|
3615 | s,@abs_builddir@,$ac_abs_builddir,;t t
|
---|
3616 | s,@top_builddir@,$ac_top_builddir,;t t
|
---|
3617 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
|
---|
3618 | s,@INSTALL@,$ac_INSTALL,;t t
|
---|
3619 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
---|
3620 | rm -f $tmp/stdin
|
---|
3621 | if test x"$ac_file" != x-; then
|
---|
3622 | mv $tmp/out $ac_file
|
---|
3623 | else
|
---|
3624 | cat $tmp/out
|
---|
3625 | rm -f $tmp/out
|
---|
3626 | fi
|
---|
3627 |
|
---|
3628 | done
|
---|
3629 | _ACEOF
|
---|
3630 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
3631 |
|
---|
3632 | #
|
---|
3633 | # CONFIG_HEADER section.
|
---|
3634 | #
|
---|
3635 |
|
---|
3636 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
---|
3637 | # NAME is the cpp macro being defined and VALUE is the value it is being given.
|
---|
3638 | #
|
---|
3639 | # ac_d sets the value in "#define NAME VALUE" lines.
|
---|
3640 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
---|
3641 | ac_dB='[ ].*$,\1#\2'
|
---|
3642 | ac_dC=' '
|
---|
3643 | ac_dD=',;t'
|
---|
3644 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
---|
3645 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
---|
3646 | ac_uB='$,\1#\2define\3'
|
---|
3647 | ac_uC=' '
|
---|
3648 | ac_uD=',;t'
|
---|
3649 |
|
---|
3650 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
|
---|
3651 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
---|
3652 | case $ac_file in
|
---|
3653 | - | *:- | *:-:* ) # input from stdin
|
---|
3654 | cat >$tmp/stdin
|
---|
3655 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
3656 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
3657 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
3658 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
3659 | * ) ac_file_in=$ac_file.in ;;
|
---|
3660 | esac
|
---|
3661 |
|
---|
3662 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
|
---|
3663 | echo "$as_me: creating $ac_file" >&6;}
|
---|
3664 |
|
---|
3665 | # First look for the input files in the build tree, otherwise in the
|
---|
3666 | # src tree.
|
---|
3667 | ac_file_inputs=`IFS=:
|
---|
3668 | for f in $ac_file_in; do
|
---|
3669 | case $f in
|
---|
3670 | -) echo $tmp/stdin ;;
|
---|
3671 | [\\/$]*)
|
---|
3672 | # Absolute (can't be DOS-style, as IFS=:)
|
---|
3673 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
3674 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
3675 | { (exit 1); exit 1; }; }
|
---|
3676 | # Do quote $f, to prevent DOS paths from being IFS'd.
|
---|
3677 | echo "$f";;
|
---|
3678 | *) # Relative
|
---|
3679 | if test -f "$f"; then
|
---|
3680 | # Build tree
|
---|
3681 | echo "$f"
|
---|
3682 | elif test -f "$srcdir/$f"; then
|
---|
3683 | # Source tree
|
---|
3684 | echo "$srcdir/$f"
|
---|
3685 | else
|
---|
3686 | # /dev/null tree
|
---|
3687 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
3688 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
3689 | { (exit 1); exit 1; }; }
|
---|
3690 | fi;;
|
---|
3691 | esac
|
---|
3692 | done` || { (exit 1); exit 1; }
|
---|
3693 | # Remove the trailing spaces.
|
---|
3694 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
|
---|
3695 |
|
---|
3696 | _ACEOF
|
---|
3697 |
|
---|
3698 | # Transform confdefs.h into two sed scripts, `conftest.defines' and
|
---|
3699 | # `conftest.undefs', that substitutes the proper values into
|
---|
3700 | # config.h.in to produce config.h. The first handles `#define'
|
---|
3701 | # templates, and the second `#undef' templates.
|
---|
3702 | # And first: Protect against being on the right side of a sed subst in
|
---|
3703 | # config.status. Protect against being in an unquoted here document
|
---|
3704 | # in config.status.
|
---|
3705 | rm -f conftest.defines conftest.undefs
|
---|
3706 | # Using a here document instead of a string reduces the quoting nightmare.
|
---|
3707 | # Putting comments in sed scripts is not portable.
|
---|
3708 | #
|
---|
3709 | # `end' is used to avoid that the second main sed command (meant for
|
---|
3710 | # 0-ary CPP macros) applies to n-ary macro definitions.
|
---|
3711 | # See the Autoconf documentation for `clear'.
|
---|
3712 | cat >confdef2sed.sed <<\_ACEOF
|
---|
3713 | s/[\\&,]/\\&/g
|
---|
3714 | s,[\\$`],\\&,g
|
---|
3715 | t clear
|
---|
3716 | : clear
|
---|
3717 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
|
---|
3718 | t end
|
---|
3719 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
|
---|
3720 | : end
|
---|
3721 | _ACEOF
|
---|
3722 | # If some macros were called several times there might be several times
|
---|
3723 | # the same #defines, which is useless. Nevertheless, we may not want to
|
---|
3724 | # sort them, since we want the *last* AC-DEFINE to be honored.
|
---|
3725 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
|
---|
3726 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
|
---|
3727 | rm -f confdef2sed.sed
|
---|
3728 |
|
---|
3729 | # This sed command replaces #undef with comments. This is necessary, for
|
---|
3730 | # example, in the case of _POSIX_SOURCE, which is predefined and required
|
---|
3731 | # on some systems where configure will not decide to define it.
|
---|
3732 | cat >>conftest.undefs <<\_ACEOF
|
---|
3733 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
|
---|
3734 | _ACEOF
|
---|
3735 |
|
---|
3736 | # Break up conftest.defines because some shells have a limit on the size
|
---|
3737 | # of here documents, and old seds have small limits too (100 cmds).
|
---|
3738 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
|
---|
3739 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
|
---|
3740 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
|
---|
3741 | echo ' :' >>$CONFIG_STATUS
|
---|
3742 | rm -f conftest.tail
|
---|
3743 | while grep . conftest.defines >/dev/null
|
---|
3744 | do
|
---|
3745 | # Write a limited-size here document to $tmp/defines.sed.
|
---|
3746 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
|
---|
3747 | # Speed up: don't consider the non `#define' lines.
|
---|
3748 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
|
---|
3749 | # Work around the forget-to-reset-the-flag bug.
|
---|
3750 | echo 't clr' >>$CONFIG_STATUS
|
---|
3751 | echo ': clr' >>$CONFIG_STATUS
|
---|
3752 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
|
---|
3753 | echo 'CEOF
|
---|
3754 | sed -f $tmp/defines.sed $tmp/in >$tmp/out
|
---|
3755 | rm -f $tmp/in
|
---|
3756 | mv $tmp/out $tmp/in
|
---|
3757 | ' >>$CONFIG_STATUS
|
---|
3758 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
|
---|
3759 | rm -f conftest.defines
|
---|
3760 | mv conftest.tail conftest.defines
|
---|
3761 | done
|
---|
3762 | rm -f conftest.defines
|
---|
3763 | echo ' fi # grep' >>$CONFIG_STATUS
|
---|
3764 | echo >>$CONFIG_STATUS
|
---|
3765 |
|
---|
3766 | # Break up conftest.undefs because some shells have a limit on the size
|
---|
3767 | # of here documents, and old seds have small limits too (100 cmds).
|
---|
3768 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
|
---|
3769 | rm -f conftest.tail
|
---|
3770 | while grep . conftest.undefs >/dev/null
|
---|
3771 | do
|
---|
3772 | # Write a limited-size here document to $tmp/undefs.sed.
|
---|
3773 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
|
---|
3774 | # Speed up: don't consider the non `#undef'
|
---|
3775 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
|
---|
3776 | # Work around the forget-to-reset-the-flag bug.
|
---|
3777 | echo 't clr' >>$CONFIG_STATUS
|
---|
3778 | echo ': clr' >>$CONFIG_STATUS
|
---|
3779 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
|
---|
3780 | echo 'CEOF
|
---|
3781 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out
|
---|
3782 | rm -f $tmp/in
|
---|
3783 | mv $tmp/out $tmp/in
|
---|
3784 | ' >>$CONFIG_STATUS
|
---|
3785 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
|
---|
3786 | rm -f conftest.undefs
|
---|
3787 | mv conftest.tail conftest.undefs
|
---|
3788 | done
|
---|
3789 | rm -f conftest.undefs
|
---|
3790 |
|
---|
3791 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
3792 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
3793 | # use $as_me), people would be surprised to read:
|
---|
3794 | # /* config.h. Generated by config.status. */
|
---|
3795 | if test x"$ac_file" = x-; then
|
---|
3796 | echo "/* Generated by configure. */" >$tmp/config.h
|
---|
3797 | else
|
---|
3798 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
|
---|
3799 | fi
|
---|
3800 | cat $tmp/in >>$tmp/config.h
|
---|
3801 | rm -f $tmp/in
|
---|
3802 | if test x"$ac_file" != x-; then
|
---|
3803 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
|
---|
3804 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
---|
3805 | echo "$as_me: $ac_file is unchanged" >&6;}
|
---|
3806 | else
|
---|
3807 | ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
---|
3808 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
3809 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
3810 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
3811 | X"$ac_file" : 'X\(/\)' \| \
|
---|
3812 | . : '\(.\)' 2>/dev/null ||
|
---|
3813 | echo X"$ac_file" |
|
---|
3814 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
3815 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
3816 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
3817 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
3818 | s/.*/./; q'`
|
---|
3819 | { if $as_mkdir_p; then
|
---|
3820 | mkdir -p "$ac_dir"
|
---|
3821 | else
|
---|
3822 | as_dir="$ac_dir"
|
---|
3823 | as_dirs=
|
---|
3824 | while test ! -d "$as_dir"; do
|
---|
3825 | as_dirs="$as_dir $as_dirs"
|
---|
3826 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
---|
3827 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
3828 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
3829 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
3830 | X"$as_dir" : 'X\(/\)' \| \
|
---|
3831 | . : '\(.\)' 2>/dev/null ||
|
---|
3832 | echo X"$as_dir" |
|
---|
3833 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
3834 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
3835 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
3836 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
3837 | s/.*/./; q'`
|
---|
3838 | done
|
---|
3839 | test ! -n "$as_dirs" || mkdir $as_dirs
|
---|
3840 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
---|
3841 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
---|
3842 | { (exit 1); exit 1; }; }; }
|
---|
3843 |
|
---|
3844 | rm -f $ac_file
|
---|
3845 | mv $tmp/config.h $ac_file
|
---|
3846 | fi
|
---|
3847 | else
|
---|
3848 | cat $tmp/config.h
|
---|
3849 | rm -f $tmp/config.h
|
---|
3850 | fi
|
---|
3851 | # Compute $ac_file's index in $config_headers.
|
---|
3852 | _am_stamp_count=1
|
---|
3853 | for _am_header in $config_headers :; do
|
---|
3854 | case $_am_header in
|
---|
3855 | $ac_file | $ac_file:* )
|
---|
3856 | break ;;
|
---|
3857 | * )
|
---|
3858 | _am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
---|
3859 | esac
|
---|
3860 | done
|
---|
3861 | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
|
---|
3862 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
3863 | X$ac_file : 'X\(//\)[^/]' \| \
|
---|
3864 | X$ac_file : 'X\(//\)$' \| \
|
---|
3865 | X$ac_file : 'X\(/\)' \| \
|
---|
3866 | . : '\(.\)' 2>/dev/null ||
|
---|
3867 | echo X$ac_file |
|
---|
3868 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
3869 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
3870 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
3871 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
3872 | s/.*/./; q'`/stamp-h$_am_stamp_count
|
---|
3873 | done
|
---|
3874 | _ACEOF
|
---|
3875 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
3876 |
|
---|
3877 | #
|
---|
3878 | # CONFIG_COMMANDS section.
|
---|
3879 | #
|
---|
3880 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
|
---|
3881 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
|
---|
3882 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
3883 | ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
|
---|
3884 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
3885 | X"$ac_dest" : 'X\(//\)[^/]' \| \
|
---|
3886 | X"$ac_dest" : 'X\(//\)$' \| \
|
---|
3887 | X"$ac_dest" : 'X\(/\)' \| \
|
---|
3888 | . : '\(.\)' 2>/dev/null ||
|
---|
3889 | echo X"$ac_dest" |
|
---|
3890 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
3891 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
3892 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
3893 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
3894 | s/.*/./; q'`
|
---|
3895 | { if $as_mkdir_p; then
|
---|
3896 | mkdir -p "$ac_dir"
|
---|
3897 | else
|
---|
3898 | as_dir="$ac_dir"
|
---|
3899 | as_dirs=
|
---|
3900 | while test ! -d "$as_dir"; do
|
---|
3901 | as_dirs="$as_dir $as_dirs"
|
---|
3902 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
---|
3903 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
3904 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
3905 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
3906 | X"$as_dir" : 'X\(/\)' \| \
|
---|
3907 | . : '\(.\)' 2>/dev/null ||
|
---|
3908 | echo X"$as_dir" |
|
---|
3909 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
3910 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
3911 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
3912 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
3913 | s/.*/./; q'`
|
---|
3914 | done
|
---|
3915 | test ! -n "$as_dirs" || mkdir $as_dirs
|
---|
3916 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
---|
3917 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
---|
3918 | { (exit 1); exit 1; }; }; }
|
---|
3919 |
|
---|
3920 | ac_builddir=.
|
---|
3921 |
|
---|
3922 | if test "$ac_dir" != .; then
|
---|
3923 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
3924 | # A "../" for each directory in $ac_dir_suffix.
|
---|
3925 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
---|
3926 | else
|
---|
3927 | ac_dir_suffix= ac_top_builddir=
|
---|
3928 | fi
|
---|
3929 |
|
---|
3930 | case $srcdir in
|
---|
3931 | .) # No --srcdir option. We are building in place.
|
---|
3932 | ac_srcdir=.
|
---|
3933 | if test -z "$ac_top_builddir"; then
|
---|
3934 | ac_top_srcdir=.
|
---|
3935 | else
|
---|
3936 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
---|
3937 | fi ;;
|
---|
3938 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
---|
3939 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
3940 | ac_top_srcdir=$srcdir ;;
|
---|
3941 | *) # Relative path.
|
---|
3942 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
---|
3943 | ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
---|
3944 | esac
|
---|
3945 |
|
---|
3946 | # Do not use `cd foo && pwd` to compute absolute paths, because
|
---|
3947 | # the directories may not exist.
|
---|
3948 | case `pwd` in
|
---|
3949 | .) ac_abs_builddir="$ac_dir";;
|
---|
3950 | *)
|
---|
3951 | case "$ac_dir" in
|
---|
3952 | .) ac_abs_builddir=`pwd`;;
|
---|
3953 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
---|
3954 | *) ac_abs_builddir=`pwd`/"$ac_dir";;
|
---|
3955 | esac;;
|
---|
3956 | esac
|
---|
3957 | case $ac_abs_builddir in
|
---|
3958 | .) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
3959 | *)
|
---|
3960 | case ${ac_top_builddir}. in
|
---|
3961 | .) ac_abs_top_builddir=$ac_abs_builddir;;
|
---|
3962 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
3963 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
---|
3964 | esac;;
|
---|
3965 | esac
|
---|
3966 | case $ac_abs_builddir in
|
---|
3967 | .) ac_abs_srcdir=$ac_srcdir;;
|
---|
3968 | *)
|
---|
3969 | case $ac_srcdir in
|
---|
3970 | .) ac_abs_srcdir=$ac_abs_builddir;;
|
---|
3971 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
---|
3972 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
---|
3973 | esac;;
|
---|
3974 | esac
|
---|
3975 | case $ac_abs_builddir in
|
---|
3976 | .) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
3977 | *)
|
---|
3978 | case $ac_top_srcdir in
|
---|
3979 | .) ac_abs_top_srcdir=$ac_abs_builddir;;
|
---|
3980 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
3981 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
---|
3982 | esac;;
|
---|
3983 | esac
|
---|
3984 |
|
---|
3985 |
|
---|
3986 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
|
---|
3987 | echo "$as_me: executing $ac_dest commands" >&6;}
|
---|
3988 | case $ac_dest in
|
---|
3989 | depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
|
---|
3990 | # Strip MF so we end up with the name of the file.
|
---|
3991 | mf=`echo "$mf" | sed -e 's/:.*$//'`
|
---|
3992 | # Check whether this is an Automake generated Makefile or not.
|
---|
3993 | # We used to match only the files named `Makefile.in', but
|
---|
3994 | # some people rename them; so instead we look at the file content.
|
---|
3995 | # Grep'ing the first line is not enough: some people post-process
|
---|
3996 | # each Makefile.in and add a new line on top of each file to say so.
|
---|
3997 | # So let's grep whole file.
|
---|
3998 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
---|
3999 | dirpart=`(dirname "$mf") 2>/dev/null ||
|
---|
4000 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
4001 | X"$mf" : 'X\(//\)[^/]' \| \
|
---|
4002 | X"$mf" : 'X\(//\)$' \| \
|
---|
4003 | X"$mf" : 'X\(/\)' \| \
|
---|
4004 | . : '\(.\)' 2>/dev/null ||
|
---|
4005 | echo X"$mf" |
|
---|
4006 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
4007 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
4008 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
4009 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
4010 | s/.*/./; q'`
|
---|
4011 | else
|
---|
4012 | continue
|
---|
4013 | fi
|
---|
4014 | # Extract the definition of DEPDIR, am__include, and am__quote
|
---|
4015 | # from the Makefile without running `make'.
|
---|
4016 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
---|
4017 | test -z "$DEPDIR" && continue
|
---|
4018 | am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
---|
4019 | test -z "am__include" && continue
|
---|
4020 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
---|
4021 | # When using ansi2knr, U may be empty or an underscore; expand it
|
---|
4022 | U=`sed -n 's/^U = //p' < "$mf"`
|
---|
4023 | # Find all dependency output files, they are included files with
|
---|
4024 | # $(DEPDIR) in their names. We invoke sed twice because it is the
|
---|
4025 | # simplest approach to changing $(DEPDIR) to its actual value in the
|
---|
4026 | # expansion.
|
---|
4027 | for file in `sed -n "
|
---|
4028 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
---|
4029 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
---|
4030 | # Make sure the directory exists.
|
---|
4031 | test -f "$dirpart/$file" && continue
|
---|
4032 | fdir=`(dirname "$file") 2>/dev/null ||
|
---|
4033 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
4034 | X"$file" : 'X\(//\)[^/]' \| \
|
---|
4035 | X"$file" : 'X\(//\)$' \| \
|
---|
4036 | X"$file" : 'X\(/\)' \| \
|
---|
4037 | . : '\(.\)' 2>/dev/null ||
|
---|
4038 | echo X"$file" |
|
---|
4039 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
4040 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
4041 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
4042 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
4043 | s/.*/./; q'`
|
---|
4044 | { if $as_mkdir_p; then
|
---|
4045 | mkdir -p $dirpart/$fdir
|
---|
4046 | else
|
---|
4047 | as_dir=$dirpart/$fdir
|
---|
4048 | as_dirs=
|
---|
4049 | while test ! -d "$as_dir"; do
|
---|
4050 | as_dirs="$as_dir $as_dirs"
|
---|
4051 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
---|
4052 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
4053 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
4054 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
4055 | X"$as_dir" : 'X\(/\)' \| \
|
---|
4056 | . : '\(.\)' 2>/dev/null ||
|
---|
4057 | echo X"$as_dir" |
|
---|
4058 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
4059 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
4060 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
4061 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
4062 | s/.*/./; q'`
|
---|
4063 | done
|
---|
4064 | test ! -n "$as_dirs" || mkdir $as_dirs
|
---|
4065 | fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
|
---|
4066 | echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
|
---|
4067 | { (exit 1); exit 1; }; }; }
|
---|
4068 |
|
---|
4069 | # echo "creating $dirpart/$file"
|
---|
4070 | echo '# dummy' > "$dirpart/$file"
|
---|
4071 | done
|
---|
4072 | done
|
---|
4073 | ;;
|
---|
4074 | esac
|
---|
4075 | done
|
---|
4076 | _ACEOF
|
---|
4077 |
|
---|
4078 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
4079 |
|
---|
4080 | { (exit 0); exit 0; }
|
---|
4081 | _ACEOF
|
---|
4082 | chmod +x $CONFIG_STATUS
|
---|
4083 | ac_clean_files=$ac_clean_files_save
|
---|
4084 |
|
---|
4085 |
|
---|
4086 | # configure is writing to config.log, and then calls config.status.
|
---|
4087 | # config.status does its own redirection, appending to config.log.
|
---|
4088 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
4089 | # by configure, so config.status won't be able to write to it; its
|
---|
4090 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
4091 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
4092 | # appended to by config.status. When coming back to configure, we
|
---|
4093 | # need to make the FD available again.
|
---|
4094 | if test "$no_create" != yes; then
|
---|
4095 | ac_cs_success=:
|
---|
4096 | ac_config_status_args=
|
---|
4097 | test "$silent" = yes &&
|
---|
4098 | ac_config_status_args="$ac_config_status_args --quiet"
|
---|
4099 | exec 5>/dev/null
|
---|
4100 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
---|
4101 | exec 5>>config.log
|
---|
4102 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
4103 | # would make configure fail if this is the last instruction.
|
---|
4104 | $ac_cs_success || { (exit 1); exit 1; }
|
---|
4105 | fi
|
---|
4106 |
|
---|