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