1 | #! /bin/sh |
1 | #! /bin/sh |
2 | |
|
|
3 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Guess values for system-dependent variables and create Makefiles. |
4 | # Generated automatically using autoconf version 2.13 |
3 | # Generated by GNU Autoconf 2.59. |
5 | # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
|
|
6 | # |
4 | # |
|
|
5 | # Copyright (C) 2003 Free Software Foundation, Inc. |
7 | # This configure script is free software; the Free Software Foundation |
6 | # This configure script is free software; the Free Software Foundation |
8 | # gives unlimited permission to copy, distribute and modify it. |
7 | # gives unlimited permission to copy, distribute and modify it. |
|
|
8 | ## --------------------- ## |
|
|
9 | ## M4sh Initialization. ## |
|
|
10 | ## --------------------- ## |
9 | |
11 | |
10 | # Defaults: |
12 | # Be Bourne compatible |
11 | ac_help= |
13 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
12 | ac_default_prefix=/usr/local |
14 | emulate sh |
13 | # Any additions from configure.in: |
15 | NULLCMD=: |
14 | ac_help="$ac_help |
16 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
15 | --enable-shared[=PKGS] build shared libraries [default=no]" |
17 | # is contrary to our usage. Disable this feature. |
16 | ac_help="$ac_help |
18 | alias -g '${1+"$@"}'='"$@"' |
17 | --enable-static[=PKGS] build static libraries [default=yes]" |
19 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
18 | ac_help="$ac_help |
20 | set -o posix |
19 | --enable-fast-install[=PKGS] optimize for fast installation [default=yes]" |
21 | fi |
20 | ac_help="$ac_help |
22 | DUALCASE=1; export DUALCASE # for MKS sh |
21 | --with-gnu-ld assume the C compiler uses GNU ld [default=no]" |
23 | |
|
|
24 | # Support unset when possible. |
|
|
25 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
|
26 | as_unset=unset |
|
|
27 | else |
|
|
28 | as_unset=false |
|
|
29 | fi |
|
|
30 | |
|
|
31 | |
|
|
32 | # Work around bugs in pre-3.0 UWIN ksh. |
|
|
33 | $as_unset ENV MAIL MAILPATH |
|
|
34 | PS1='$ ' |
|
|
35 | PS2='> ' |
|
|
36 | PS4='+ ' |
|
|
37 | |
|
|
38 | # NLS nuisances. |
|
|
39 | for as_var in \ |
|
|
40 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|
|
41 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|
|
42 | LC_TELEPHONE LC_TIME |
|
|
43 | do |
|
|
44 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
|
45 | eval $as_var=C; export $as_var |
|
|
46 | else |
|
|
47 | $as_unset $as_var |
|
|
48 | fi |
|
|
49 | done |
|
|
50 | |
|
|
51 | # Required to use basename. |
|
|
52 | if expr a : '\(a\)' >/dev/null 2>&1; then |
|
|
53 | as_expr=expr |
|
|
54 | else |
|
|
55 | as_expr=false |
|
|
56 | fi |
|
|
57 | |
|
|
58 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
|
|
59 | as_basename=basename |
|
|
60 | else |
|
|
61 | as_basename=false |
|
|
62 | fi |
|
|
63 | |
|
|
64 | |
|
|
65 | # Name of the executable. |
|
|
66 | as_me=`$as_basename "$0" || |
|
|
67 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
|
68 | X"$0" : 'X\(//\)$' \| \ |
|
|
69 | X"$0" : 'X\(/\)$' \| \ |
|
|
70 | . : '\(.\)' 2>/dev/null || |
|
|
71 | echo X/"$0" | |
|
|
72 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
|
|
73 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
|
|
74 | /^X\/\(\/\).*/{ s//\1/; q; } |
|
|
75 | s/.*/./; q'` |
|
|
76 | |
|
|
77 | |
|
|
78 | # PATH needs CR, and LINENO needs CR and PATH. |
|
|
79 | # Avoid depending upon Character Ranges. |
|
|
80 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
|
81 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
|
82 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
|
83 | as_cr_digits='0123456789' |
|
|
84 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
|
85 | |
|
|
86 | # The user is always right. |
|
|
87 | if test "${PATH_SEPARATOR+set}" != set; then |
|
|
88 | echo "#! /bin/sh" >conf$$.sh |
|
|
89 | echo "exit 0" >>conf$$.sh |
|
|
90 | chmod +x conf$$.sh |
|
|
91 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
|
92 | PATH_SEPARATOR=';' |
|
|
93 | else |
|
|
94 | PATH_SEPARATOR=: |
|
|
95 | fi |
|
|
96 | rm -f conf$$.sh |
|
|
97 | fi |
|
|
98 | |
|
|
99 | |
|
|
100 | as_lineno_1=$LINENO |
|
|
101 | as_lineno_2=$LINENO |
|
|
102 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
|
|
103 | test "x$as_lineno_1" != "x$as_lineno_2" && |
|
|
104 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
|
|
105 | # Find who we are. Look in the path if we contain no path at all |
|
|
106 | # relative or not. |
|
|
107 | case $0 in |
|
|
108 | *[\\/]* ) as_myself=$0 ;; |
|
|
109 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
110 | for as_dir in $PATH |
|
|
111 | do |
|
|
112 | IFS=$as_save_IFS |
|
|
113 | test -z "$as_dir" && as_dir=. |
|
|
114 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
|
115 | done |
|
|
116 | |
|
|
117 | ;; |
|
|
118 | esac |
|
|
119 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
|
|
120 | # in which case we are not to be found in the path. |
|
|
121 | if test "x$as_myself" = x; then |
|
|
122 | as_myself=$0 |
|
|
123 | fi |
|
|
124 | if test ! -f "$as_myself"; then |
|
|
125 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
|
|
126 | { (exit 1); exit 1; }; } |
|
|
127 | fi |
|
|
128 | case $CONFIG_SHELL in |
|
|
129 | '') |
|
|
130 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
131 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
|
132 | do |
|
|
133 | IFS=$as_save_IFS |
|
|
134 | test -z "$as_dir" && as_dir=. |
|
|
135 | for as_base in sh bash ksh sh5; do |
|
|
136 | case $as_dir in |
|
|
137 | /*) |
|
|
138 | if ("$as_dir/$as_base" -c ' |
|
|
139 | as_lineno_1=$LINENO |
|
|
140 | as_lineno_2=$LINENO |
|
|
141 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
|
|
142 | test "x$as_lineno_1" != "x$as_lineno_2" && |
|
|
143 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
|
|
144 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
|
|
145 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
|
|
146 | CONFIG_SHELL=$as_dir/$as_base |
|
|
147 | export CONFIG_SHELL |
|
|
148 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
|
|
149 | fi;; |
|
|
150 | esac |
|
|
151 | done |
|
|
152 | done |
|
|
153 | ;; |
|
|
154 | esac |
|
|
155 | |
|
|
156 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
|
157 | # uniformly replaced by the line number. The first 'sed' inserts a |
|
|
158 | # line-number line before each line; the second 'sed' does the real |
|
|
159 | # work. The second script uses 'N' to pair each line-number line |
|
|
160 | # with the numbered line, and appends trailing '-' during |
|
|
161 | # substitution so that $LINENO is not a special case at line end. |
|
|
162 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|
|
163 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
|
|
164 | sed '=' <$as_myself | |
|
|
165 | sed ' |
|
|
166 | N |
|
|
167 | s,$,-, |
|
|
168 | : loop |
|
|
169 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
|
|
170 | t loop |
|
|
171 | s,-$,, |
|
|
172 | s,^['$as_cr_digits']*\n,, |
|
|
173 | ' >$as_me.lineno && |
|
|
174 | chmod +x $as_me.lineno || |
|
|
175 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
|
|
176 | { (exit 1); exit 1; }; } |
|
|
177 | |
|
|
178 | # Don't try to exec as it changes $[0], causing all sort of problems |
|
|
179 | # (the dirname of $[0] is not the place where we might find the |
|
|
180 | # original and so on. Autoconf is especially sensible to this). |
|
|
181 | . ./$as_me.lineno |
|
|
182 | # Exit status is that of the last command. |
|
|
183 | exit |
|
|
184 | } |
|
|
185 | |
|
|
186 | |
|
|
187 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
|
|
188 | *c*,-n*) ECHO_N= ECHO_C=' |
|
|
189 | ' ECHO_T=' ' ;; |
|
|
190 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
|
|
191 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
|
|
192 | esac |
|
|
193 | |
|
|
194 | if expr a : '\(a\)' >/dev/null 2>&1; then |
|
|
195 | as_expr=expr |
|
|
196 | else |
|
|
197 | as_expr=false |
|
|
198 | fi |
|
|
199 | |
|
|
200 | rm -f conf$$ conf$$.exe conf$$.file |
|
|
201 | echo >conf$$.file |
|
|
202 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
|
203 | # We could just check for DJGPP; but this test a) works b) is more generic |
|
|
204 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
|
|
205 | if test -f conf$$.exe; then |
|
|
206 | # Don't use ln at all; we don't have any links |
|
|
207 | as_ln_s='cp -p' |
|
|
208 | else |
|
|
209 | as_ln_s='ln -s' |
|
|
210 | fi |
|
|
211 | elif ln conf$$.file conf$$ 2>/dev/null; then |
|
|
212 | as_ln_s=ln |
|
|
213 | else |
|
|
214 | as_ln_s='cp -p' |
|
|
215 | fi |
|
|
216 | rm -f conf$$ conf$$.exe conf$$.file |
|
|
217 | |
|
|
218 | if mkdir -p . 2>/dev/null; then |
|
|
219 | as_mkdir_p=: |
|
|
220 | else |
|
|
221 | test -d ./-p && rmdir ./-p |
|
|
222 | as_mkdir_p=false |
|
|
223 | fi |
|
|
224 | |
|
|
225 | as_executable_p="test -f" |
|
|
226 | |
|
|
227 | # Sed expression to map a string onto a valid CPP name. |
|
|
228 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
|
229 | |
|
|
230 | # Sed expression to map a string onto a valid variable name. |
|
|
231 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
|
232 | |
|
|
233 | |
|
|
234 | # IFS |
|
|
235 | # We need space, tab and new line, in precisely that order. |
|
|
236 | as_nl=' |
|
|
237 | ' |
|
|
238 | IFS=" $as_nl" |
|
|
239 | |
|
|
240 | # CDPATH. |
|
|
241 | $as_unset CDPATH |
|
|
242 | |
22 | |
243 | |
23 | # Find the correct PATH separator. Usually this is `:', but |
244 | # Find the correct PATH separator. Usually this is `:', but |
24 | # DJGPP uses `;' like DOS. |
245 | # DJGPP uses `;' like DOS. |
25 | if test "X${PATH_SEPARATOR+set}" != Xset; then |
246 | if test "X${PATH_SEPARATOR+set}" != Xset; then |
26 | UNAME=${UNAME-`uname 2>/dev/null`} |
247 | UNAME=${UNAME-`uname 2>/dev/null`} |
… | |
… | |
175 | if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then |
396 | if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then |
176 | ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" |
397 | ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" |
177 | fi |
398 | fi |
178 | |
399 | |
179 | |
400 | |
180 | ac_help="$ac_help |
401 | |
181 | --disable-libtool-lock avoid locking (might break parallel builds)" |
402 | # Name of the host. |
182 | ac_help="$ac_help |
403 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
183 | dnl |
404 | # so uname gets run too. |
184 | --with-pic try to use only PIC/non-PIC objects [default=use both]" |
405 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
185 | ac_help="$ac_help |
406 | |
186 | --enable-everything enable standard non-multichoice features: marked * |
407 | exec 6>&1 |
187 | NOTE: this option is order dependent |
408 | |
188 | NOTE: automatically enabled with --enable-shared" |
409 | # |
189 | ac_help="$ac_help |
410 | # Initializations. |
190 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters" |
411 | # |
191 | ac_help="$ac_help |
412 | ac_default_prefix=/usr/local |
192 | --enable-xft enable xft support on systems that have it" |
413 | ac_config_libobj_dir=. |
193 | ac_help="$ac_help |
414 | cross_compiling=no |
194 | --with-codesets=NAME,... compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,vn,all)" |
415 | subdirs= |
195 | ac_help="$ac_help |
416 | MFLAGS= |
196 | --with-encoding=NAME set language default encoding to NAME (default: sjis) |
417 | MAKEFLAGS= |
197 | (eucj|sjis|big5|gb|kr|noenc)" |
418 | SHELL=${CONFIG_SHELL-/bin/sh} |
198 | ac_help="$ac_help |
419 | |
199 | --enable-utmp enable utmp (utmpx) support *" |
420 | # Maximum number of lines to put in a shell here document. |
200 | ac_help="$ac_help |
421 | # This variable seems obsolete. It should probably be removed, and |
201 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)*" |
422 | # only ac_max_sed_lines should be used. |
202 | ac_help="$ac_help |
423 | : ${ac_max_here_lines=38} |
203 | --enable-lastlog enable lastlog support (requires --enable-utmp) *" |
424 | |
204 | ac_help="$ac_help |
425 | # Identity of this package. |
205 | --enable-xpm-background enable XPM background pixmaps *" |
426 | PACKAGE_NAME= |
206 | ac_help="$ac_help |
427 | PACKAGE_TARNAME= |
207 | --enable-transparency enable transparent backgrounds *" |
428 | PACKAGE_VERSION= |
208 | ac_help="$ac_help |
429 | PACKAGE_STRING= |
209 | --enable-menubar enable menubar *" |
430 | PACKAGE_BUGREPORT= |
210 | ac_help="$ac_help |
431 | |
211 | --enable-graphics enable rxvt own graphics mode (see src/graphics) *" |
432 | ac_unique_file="src/feature.h" |
212 | ac_help="$ac_help |
433 | # Factoring default headers for most tests. |
213 | --enable-rxvt-scroll enable rxvt style scrollbar *" |
434 | ac_includes_default="\ |
214 | ac_help="$ac_help |
435 | #include <stdio.h> |
215 | --enable-next-scroll enable NeXT style scrollbar *" |
436 | #if HAVE_SYS_TYPES_H |
216 | ac_help="$ac_help |
437 | # include <sys/types.h> |
217 | --enable-xterm-scroll enable Xterm style scrollbar *" |
438 | #endif |
218 | ac_help="$ac_help |
439 | #if HAVE_SYS_STAT_H |
219 | --enable-half-shadow use half width/height shadow on rxvt scrollbar" |
440 | # include <sys/stat.h> |
220 | ac_help="$ac_help |
441 | #endif |
221 | --enable-xim XIM (X Input Method) protocol support *" |
442 | #if STDC_HEADERS |
222 | ac_help="$ac_help |
443 | # include <stdlib.h> |
223 | --enable-greek enable greek keyboard support" |
444 | # include <stddef.h> |
224 | ac_help="$ac_help |
445 | #else |
225 | --enable-ttygid enable tty setting to group named "tty"" |
446 | # if HAVE_STDLIB_H |
226 | ac_help="$ac_help |
447 | # include <stdlib.h> |
227 | --disable-backspace-key disable handling of the backspace key" |
448 | # endif |
228 | ac_help="$ac_help |
449 | #endif |
229 | --disable-delete-key disable handling of the delete key" |
450 | #if HAVE_STRING_H |
230 | ac_help="$ac_help |
451 | # if !STDC_HEADERS && HAVE_MEMORY_H |
231 | --disable-resources disable all resource checking" |
452 | # include <memory.h> |
232 | ac_help="$ac_help |
453 | # endif |
233 | --enable-xgetdefault enable resources via X instead of our small version" |
454 | # include <string.h> |
234 | ac_help="$ac_help |
455 | #endif |
235 | --enable-strings enable some replacement system functions" |
456 | #if HAVE_STRINGS_H |
236 | ac_help="$ac_help |
457 | # include <strings.h> |
237 | --disable-swapscreen disable swap screen support" |
458 | #endif |
238 | ac_help="$ac_help |
459 | #if HAVE_INTTYPES_H |
239 | --enable-frills enable support for rarely used features *" |
460 | # include <inttypes.h> |
240 | ac_help="$ac_help |
461 | #else |
241 | --enable-linespace enable support for linespace *" |
462 | # if HAVE_STDINT_H |
242 | ac_help="$ac_help |
463 | # include <stdint.h> |
243 | --enable-24bit enable support for using 24bit visuals if available *" |
464 | # endif |
244 | ac_help="$ac_help |
465 | #endif |
245 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press *" |
466 | #if HAVE_UNISTD_H |
246 | ac_help="$ac_help |
467 | # include <unistd.h> |
247 | --enable-selectionscrolling enable scrolling during selections *" |
468 | #endif" |
248 | ac_help="$ac_help |
469 | |
249 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 *" |
470 | 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 VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL INSTALL_LIBRXVT MV RM CP LN SED CMP TBL X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define DEBUG DINCLUDE DLIB RXVTNAME include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' |
250 | ac_help="$ac_help |
471 | ac_subst_files='MCOMMON' |
251 | --enable-slipwheeling enable slip wheel scrolling (requires previous) *" |
|
|
252 | ac_help="$ac_help |
|
|
253 | --enable-old-selection enable v2.20 (& prior) mouse selection style support*" |
|
|
254 | ac_help="$ac_help |
|
|
255 | --disable-new-selection disable new mouse (xterm) selection style support" |
|
|
256 | ac_help="$ac_help |
|
|
257 | --enable-dmalloc enable Gray Watson's malloc - for debugging use" |
|
|
258 | ac_help="$ac_help |
|
|
259 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
|
|
260 | NOTE: enable only one malloc package" |
|
|
261 | ac_help="$ac_help |
|
|
262 | --enable-smart-resize enable smart growth/shrink behaviour" |
|
|
263 | ac_help="$ac_help |
|
|
264 | --enable-256-color enable 256-color support" |
|
|
265 | ac_help="$ac_help |
|
|
266 | --enable-cursor-blink enable blinking cursor *" |
|
|
267 | ac_help="$ac_help |
|
|
268 | --enable-pointer-blank enable pointer blank when typing or inactive pointer*" |
|
|
269 | ac_help="$ac_help |
|
|
270 | --with-term=NAME set the terminal to NAME (default \"xterm\")" |
|
|
271 | ac_help="$ac_help |
|
|
272 | --with-terminfo=PATH set the path to the terminfo tree to PATH" |
|
|
273 | ac_help="$ac_help |
|
|
274 | --with-x use the X Window System" |
|
|
275 | ac_help="$ac_help |
|
|
276 | --with-xpm-includes=DIR use XPM includes in DIR" |
|
|
277 | ac_help="$ac_help |
|
|
278 | --with-xpm-library=DIR use XPM library in DIR" |
|
|
279 | ac_help="$ac_help |
|
|
280 | --with-xpm use XPM" |
|
|
281 | |
472 | |
282 | # Initialize some variables set by options. |
473 | # Initialize some variables set by options. |
|
|
474 | ac_init_help= |
|
|
475 | ac_init_version=false |
283 | # The variables have the same names as the options, with |
476 | # The variables have the same names as the options, with |
284 | # dashes changed to underlines. |
477 | # dashes changed to underlines. |
285 | build=NONE |
478 | cache_file=/dev/null |
286 | cache_file=./config.cache |
|
|
287 | exec_prefix=NONE |
479 | exec_prefix=NONE |
288 | host=NONE |
|
|
289 | no_create= |
480 | no_create= |
290 | nonopt=NONE |
|
|
291 | no_recursion= |
481 | no_recursion= |
292 | prefix=NONE |
482 | prefix=NONE |
293 | program_prefix=NONE |
483 | program_prefix=NONE |
294 | program_suffix=NONE |
484 | program_suffix=NONE |
295 | program_transform_name=s,x,x, |
485 | program_transform_name=s,x,x, |
296 | silent= |
486 | silent= |
297 | site= |
487 | site= |
298 | srcdir= |
488 | srcdir= |
299 | target=NONE |
|
|
300 | verbose= |
489 | verbose= |
301 | x_includes=NONE |
490 | x_includes=NONE |
302 | x_libraries=NONE |
491 | x_libraries=NONE |
|
|
492 | |
|
|
493 | # Installation directory options. |
|
|
494 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
|
|
495 | # and all the variables that are supposed to be based on exec_prefix |
|
|
496 | # by default will actually change. |
|
|
497 | # Use braces instead of parens because sh, perl, etc. also accept them. |
303 | bindir='${exec_prefix}/bin' |
498 | bindir='${exec_prefix}/bin' |
304 | sbindir='${exec_prefix}/sbin' |
499 | sbindir='${exec_prefix}/sbin' |
305 | libexecdir='${exec_prefix}/libexec' |
500 | libexecdir='${exec_prefix}/libexec' |
306 | datadir='${prefix}/share' |
501 | datadir='${prefix}/share' |
307 | sysconfdir='${prefix}/etc' |
502 | sysconfdir='${prefix}/etc' |
… | |
… | |
311 | includedir='${prefix}/include' |
506 | includedir='${prefix}/include' |
312 | oldincludedir='/usr/include' |
507 | oldincludedir='/usr/include' |
313 | infodir='${prefix}/info' |
508 | infodir='${prefix}/info' |
314 | mandir='${prefix}/man' |
509 | mandir='${prefix}/man' |
315 | |
510 | |
316 | # Initialize some other variables. |
|
|
317 | subdirs= |
|
|
318 | MFLAGS= MAKEFLAGS= |
|
|
319 | SHELL=${CONFIG_SHELL-/bin/sh} |
|
|
320 | # Maximum number of lines to put in a shell here document. |
|
|
321 | ac_max_here_lines=12 |
|
|
322 | |
|
|
323 | ac_prev= |
511 | ac_prev= |
324 | for ac_option |
512 | for ac_option |
325 | do |
513 | do |
326 | |
|
|
327 | # If the previous option needs an argument, assign it. |
514 | # If the previous option needs an argument, assign it. |
328 | if test -n "$ac_prev"; then |
515 | if test -n "$ac_prev"; then |
329 | eval "$ac_prev=\$ac_option" |
516 | eval "$ac_prev=\$ac_option" |
330 | ac_prev= |
517 | ac_prev= |
331 | continue |
518 | continue |
332 | fi |
519 | fi |
333 | |
520 | |
334 | case "$ac_option" in |
521 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
335 | -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |
|
|
336 | *) ac_optarg= ;; |
|
|
337 | esac |
|
|
338 | |
522 | |
339 | # Accept the important Cygnus configure options, so we can diagnose typos. |
523 | # Accept the important Cygnus configure options, so we can diagnose typos. |
340 | |
524 | |
341 | case "$ac_option" in |
525 | case $ac_option in |
342 | |
526 | |
343 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
527 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
344 | ac_prev=bindir ;; |
528 | ac_prev=bindir ;; |
345 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
529 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
346 | bindir="$ac_optarg" ;; |
530 | bindir=$ac_optarg ;; |
347 | |
531 | |
348 | -build | --build | --buil | --bui | --bu) |
532 | -build | --build | --buil | --bui | --bu) |
349 | ac_prev=build ;; |
533 | ac_prev=build_alias ;; |
350 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
534 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
351 | build="$ac_optarg" ;; |
535 | build_alias=$ac_optarg ;; |
352 | |
536 | |
353 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
537 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
354 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
538 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
355 | ac_prev=cache_file ;; |
539 | ac_prev=cache_file ;; |
356 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
540 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
357 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
541 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
358 | cache_file="$ac_optarg" ;; |
542 | cache_file=$ac_optarg ;; |
|
|
543 | |
|
|
544 | --config-cache | -C) |
|
|
545 | cache_file=config.cache ;; |
359 | |
546 | |
360 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
547 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
361 | ac_prev=datadir ;; |
548 | ac_prev=datadir ;; |
362 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
549 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
363 | | --da=*) |
550 | | --da=*) |
364 | datadir="$ac_optarg" ;; |
551 | datadir=$ac_optarg ;; |
365 | |
552 | |
366 | -disable-* | --disable-*) |
553 | -disable-* | --disable-*) |
367 | ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` |
554 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
368 | # Reject names that are not valid shell variable names. |
555 | # Reject names that are not valid shell variable names. |
369 | if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then |
556 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
370 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
557 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
371 | fi |
558 | { (exit 1); exit 1; }; } |
372 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
559 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
373 | eval "enable_${ac_feature}=no" ;; |
560 | eval "enable_$ac_feature=no" ;; |
374 | |
561 | |
375 | -enable-* | --enable-*) |
562 | -enable-* | --enable-*) |
376 | ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` |
563 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
377 | # Reject names that are not valid shell variable names. |
564 | # Reject names that are not valid shell variable names. |
378 | if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then |
565 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
379 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
566 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
380 | fi |
567 | { (exit 1); exit 1; }; } |
381 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
568 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
382 | case "$ac_option" in |
569 | case $ac_option in |
383 | *=*) ;; |
570 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
384 | *) ac_optarg=yes ;; |
571 | *) ac_optarg=yes ;; |
385 | esac |
572 | esac |
386 | eval "enable_${ac_feature}='$ac_optarg'" ;; |
573 | eval "enable_$ac_feature='$ac_optarg'" ;; |
387 | |
574 | |
388 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
575 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
389 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
576 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
390 | | --exec | --exe | --ex) |
577 | | --exec | --exe | --ex) |
391 | ac_prev=exec_prefix ;; |
578 | ac_prev=exec_prefix ;; |
392 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
579 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
393 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
580 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
394 | | --exec=* | --exe=* | --ex=*) |
581 | | --exec=* | --exe=* | --ex=*) |
395 | exec_prefix="$ac_optarg" ;; |
582 | exec_prefix=$ac_optarg ;; |
396 | |
583 | |
397 | -gas | --gas | --ga | --g) |
584 | -gas | --gas | --ga | --g) |
398 | # Obsolete; use --with-gas. |
585 | # Obsolete; use --with-gas. |
399 | with_gas=yes ;; |
586 | with_gas=yes ;; |
400 | |
587 | |
401 | -help | --help | --hel | --he) |
588 | -help | --help | --hel | --he | -h) |
402 | # Omit some internal or obsolete options to make the list less imposing. |
589 | ac_init_help=long ;; |
403 | # This message is too long to be a string in the A/UX 3.1 sh. |
590 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
404 | cat << EOF |
591 | ac_init_help=recursive ;; |
405 | Usage: configure [options] [host] |
592 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
406 | Options: [defaults in brackets after descriptions] |
593 | ac_init_help=short ;; |
407 | Configuration: |
|
|
408 | --cache-file=FILE cache test results in FILE |
|
|
409 | --help print this message |
|
|
410 | --no-create do not create output files |
|
|
411 | --quiet, --silent do not print \`checking...' messages |
|
|
412 | --version print the version of autoconf that created configure |
|
|
413 | Directory and file names: |
|
|
414 | --prefix=PREFIX install architecture-independent files in PREFIX |
|
|
415 | [$ac_default_prefix] |
|
|
416 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
|
417 | [same as prefix] |
|
|
418 | --bindir=DIR user executables in DIR [EPREFIX/bin] |
|
|
419 | --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] |
|
|
420 | --libexecdir=DIR program executables in DIR [EPREFIX/libexec] |
|
|
421 | --datadir=DIR read-only architecture-independent data in DIR |
|
|
422 | [PREFIX/share] |
|
|
423 | --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] |
|
|
424 | --sharedstatedir=DIR modifiable architecture-independent data in DIR |
|
|
425 | [PREFIX/com] |
|
|
426 | --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] |
|
|
427 | --libdir=DIR object code libraries in DIR [EPREFIX/lib] |
|
|
428 | --includedir=DIR C header files in DIR [PREFIX/include] |
|
|
429 | --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] |
|
|
430 | --infodir=DIR info documentation in DIR [PREFIX/info] |
|
|
431 | --mandir=DIR man documentation in DIR [PREFIX/man] |
|
|
432 | --srcdir=DIR find the sources in DIR [configure dir or ..] |
|
|
433 | --program-prefix=PREFIX prepend PREFIX to installed program names |
|
|
434 | --program-suffix=SUFFIX append SUFFIX to installed program names |
|
|
435 | --program-transform-name=PROGRAM |
|
|
436 | run sed PROGRAM on installed program names |
|
|
437 | EOF |
|
|
438 | cat << EOF |
|
|
439 | Host type: |
|
|
440 | --build=BUILD configure for building on BUILD [BUILD=HOST] |
|
|
441 | --host=HOST configure for HOST [guessed] |
|
|
442 | --target=TARGET configure for TARGET [TARGET=HOST] |
|
|
443 | Features and packages: |
|
|
444 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
|
445 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
|
446 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
|
447 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
|
448 | --x-includes=DIR X include files are in DIR |
|
|
449 | --x-libraries=DIR X library files are in DIR |
|
|
450 | EOF |
|
|
451 | if test -n "$ac_help"; then |
|
|
452 | echo "--enable and --with options recognized:$ac_help" |
|
|
453 | fi |
|
|
454 | exit 0 ;; |
|
|
455 | |
594 | |
456 | -host | --host | --hos | --ho) |
595 | -host | --host | --hos | --ho) |
457 | ac_prev=host ;; |
596 | ac_prev=host_alias ;; |
458 | -host=* | --host=* | --hos=* | --ho=*) |
597 | -host=* | --host=* | --hos=* | --ho=*) |
459 | host="$ac_optarg" ;; |
598 | host_alias=$ac_optarg ;; |
460 | |
599 | |
461 | -includedir | --includedir | --includedi | --included | --include \ |
600 | -includedir | --includedir | --includedi | --included | --include \ |
462 | | --includ | --inclu | --incl | --inc) |
601 | | --includ | --inclu | --incl | --inc) |
463 | ac_prev=includedir ;; |
602 | ac_prev=includedir ;; |
464 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
603 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
465 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
604 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
466 | includedir="$ac_optarg" ;; |
605 | includedir=$ac_optarg ;; |
467 | |
606 | |
468 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
607 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
469 | ac_prev=infodir ;; |
608 | ac_prev=infodir ;; |
470 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
609 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
471 | infodir="$ac_optarg" ;; |
610 | infodir=$ac_optarg ;; |
472 | |
611 | |
473 | -libdir | --libdir | --libdi | --libd) |
612 | -libdir | --libdir | --libdi | --libd) |
474 | ac_prev=libdir ;; |
613 | ac_prev=libdir ;; |
475 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
614 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
476 | libdir="$ac_optarg" ;; |
615 | libdir=$ac_optarg ;; |
477 | |
616 | |
478 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
617 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
479 | | --libexe | --libex | --libe) |
618 | | --libexe | --libex | --libe) |
480 | ac_prev=libexecdir ;; |
619 | ac_prev=libexecdir ;; |
481 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
620 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
482 | | --libexe=* | --libex=* | --libe=*) |
621 | | --libexe=* | --libex=* | --libe=*) |
483 | libexecdir="$ac_optarg" ;; |
622 | libexecdir=$ac_optarg ;; |
484 | |
623 | |
485 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
624 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
486 | | --localstate | --localstat | --localsta | --localst \ |
625 | | --localstate | --localstat | --localsta | --localst \ |
487 | | --locals | --local | --loca | --loc | --lo) |
626 | | --locals | --local | --loca | --loc | --lo) |
488 | ac_prev=localstatedir ;; |
627 | ac_prev=localstatedir ;; |
489 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
628 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
490 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
629 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
491 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
630 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
492 | localstatedir="$ac_optarg" ;; |
631 | localstatedir=$ac_optarg ;; |
493 | |
632 | |
494 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
633 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
495 | ac_prev=mandir ;; |
634 | ac_prev=mandir ;; |
496 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
635 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
497 | mandir="$ac_optarg" ;; |
636 | mandir=$ac_optarg ;; |
498 | |
637 | |
499 | -nfp | --nfp | --nf) |
638 | -nfp | --nfp | --nf) |
500 | # Obsolete; use --without-fp. |
639 | # Obsolete; use --without-fp. |
501 | with_fp=no ;; |
640 | with_fp=no ;; |
502 | |
641 | |
503 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
642 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
504 | | --no-cr | --no-c) |
643 | | --no-cr | --no-c | -n) |
505 | no_create=yes ;; |
644 | no_create=yes ;; |
506 | |
645 | |
507 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
646 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
508 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
647 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
509 | no_recursion=yes ;; |
648 | no_recursion=yes ;; |
… | |
… | |
513 | | --oldin | --oldi | --old | --ol | --o) |
652 | | --oldin | --oldi | --old | --ol | --o) |
514 | ac_prev=oldincludedir ;; |
653 | ac_prev=oldincludedir ;; |
515 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
654 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
516 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
655 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
517 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
656 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
518 | oldincludedir="$ac_optarg" ;; |
657 | oldincludedir=$ac_optarg ;; |
519 | |
658 | |
520 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
659 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
521 | ac_prev=prefix ;; |
660 | ac_prev=prefix ;; |
522 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
661 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
523 | prefix="$ac_optarg" ;; |
662 | prefix=$ac_optarg ;; |
524 | |
663 | |
525 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
664 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
526 | | --program-pre | --program-pr | --program-p) |
665 | | --program-pre | --program-pr | --program-p) |
527 | ac_prev=program_prefix ;; |
666 | ac_prev=program_prefix ;; |
528 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
667 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
529 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
668 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
530 | program_prefix="$ac_optarg" ;; |
669 | program_prefix=$ac_optarg ;; |
531 | |
670 | |
532 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
671 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
533 | | --program-suf | --program-su | --program-s) |
672 | | --program-suf | --program-su | --program-s) |
534 | ac_prev=program_suffix ;; |
673 | ac_prev=program_suffix ;; |
535 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
674 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
536 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
675 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
537 | program_suffix="$ac_optarg" ;; |
676 | program_suffix=$ac_optarg ;; |
538 | |
677 | |
539 | -program-transform-name | --program-transform-name \ |
678 | -program-transform-name | --program-transform-name \ |
540 | | --program-transform-nam | --program-transform-na \ |
679 | | --program-transform-nam | --program-transform-na \ |
541 | | --program-transform-n | --program-transform- \ |
680 | | --program-transform-n | --program-transform- \ |
542 | | --program-transform | --program-transfor \ |
681 | | --program-transform | --program-transfor \ |
… | |
… | |
549 | | --program-transform-n=* | --program-transform-=* \ |
688 | | --program-transform-n=* | --program-transform-=* \ |
550 | | --program-transform=* | --program-transfor=* \ |
689 | | --program-transform=* | --program-transfor=* \ |
551 | | --program-transfo=* | --program-transf=* \ |
690 | | --program-transfo=* | --program-transf=* \ |
552 | | --program-trans=* | --program-tran=* \ |
691 | | --program-trans=* | --program-tran=* \ |
553 | | --progr-tra=* | --program-tr=* | --program-t=*) |
692 | | --progr-tra=* | --program-tr=* | --program-t=*) |
554 | program_transform_name="$ac_optarg" ;; |
693 | program_transform_name=$ac_optarg ;; |
555 | |
694 | |
556 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
695 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
557 | | -silent | --silent | --silen | --sile | --sil) |
696 | | -silent | --silent | --silen | --sile | --sil) |
558 | silent=yes ;; |
697 | silent=yes ;; |
559 | |
698 | |
560 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
699 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
561 | ac_prev=sbindir ;; |
700 | ac_prev=sbindir ;; |
562 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
701 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
563 | | --sbi=* | --sb=*) |
702 | | --sbi=* | --sb=*) |
564 | sbindir="$ac_optarg" ;; |
703 | sbindir=$ac_optarg ;; |
565 | |
704 | |
566 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
705 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
567 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
706 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
568 | | --sharedst | --shareds | --shared | --share | --shar \ |
707 | | --sharedst | --shareds | --shared | --share | --shar \ |
569 | | --sha | --sh) |
708 | | --sha | --sh) |
570 | ac_prev=sharedstatedir ;; |
709 | ac_prev=sharedstatedir ;; |
571 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
710 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
572 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
711 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
573 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
712 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
574 | | --sha=* | --sh=*) |
713 | | --sha=* | --sh=*) |
575 | sharedstatedir="$ac_optarg" ;; |
714 | sharedstatedir=$ac_optarg ;; |
576 | |
715 | |
577 | -site | --site | --sit) |
716 | -site | --site | --sit) |
578 | ac_prev=site ;; |
717 | ac_prev=site ;; |
579 | -site=* | --site=* | --sit=*) |
718 | -site=* | --site=* | --sit=*) |
580 | site="$ac_optarg" ;; |
719 | site=$ac_optarg ;; |
581 | |
720 | |
582 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
721 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
583 | ac_prev=srcdir ;; |
722 | ac_prev=srcdir ;; |
584 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
723 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
585 | srcdir="$ac_optarg" ;; |
724 | srcdir=$ac_optarg ;; |
586 | |
725 | |
587 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
726 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
588 | | --syscon | --sysco | --sysc | --sys | --sy) |
727 | | --syscon | --sysco | --sysc | --sys | --sy) |
589 | ac_prev=sysconfdir ;; |
728 | ac_prev=sysconfdir ;; |
590 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
729 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
591 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
730 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
592 | sysconfdir="$ac_optarg" ;; |
731 | sysconfdir=$ac_optarg ;; |
593 | |
732 | |
594 | -target | --target | --targe | --targ | --tar | --ta | --t) |
733 | -target | --target | --targe | --targ | --tar | --ta | --t) |
595 | ac_prev=target ;; |
734 | ac_prev=target_alias ;; |
596 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
735 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
597 | target="$ac_optarg" ;; |
736 | target_alias=$ac_optarg ;; |
598 | |
737 | |
599 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
738 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
600 | verbose=yes ;; |
739 | verbose=yes ;; |
601 | |
740 | |
602 | -version | --version | --versio | --versi | --vers) |
741 | -version | --version | --versio | --versi | --vers | -V) |
603 | echo "configure generated by autoconf version 2.13" |
742 | ac_init_version=: ;; |
604 | exit 0 ;; |
|
|
605 | |
743 | |
606 | -with-* | --with-*) |
744 | -with-* | --with-*) |
607 | ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` |
745 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
608 | # Reject names that are not valid shell variable names. |
746 | # Reject names that are not valid shell variable names. |
609 | if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then |
747 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
610 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
748 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
611 | fi |
749 | { (exit 1); exit 1; }; } |
612 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
750 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
613 | case "$ac_option" in |
751 | case $ac_option in |
614 | *=*) ;; |
752 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
615 | *) ac_optarg=yes ;; |
753 | *) ac_optarg=yes ;; |
616 | esac |
754 | esac |
617 | eval "with_${ac_package}='$ac_optarg'" ;; |
755 | eval "with_$ac_package='$ac_optarg'" ;; |
618 | |
756 | |
619 | -without-* | --without-*) |
757 | -without-* | --without-*) |
620 | ac_package=`echo $ac_option|sed -e 's/-*without-//'` |
758 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
621 | # Reject names that are not valid shell variable names. |
759 | # Reject names that are not valid shell variable names. |
622 | if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then |
760 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
623 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
761 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
624 | fi |
762 | { (exit 1); exit 1; }; } |
625 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
763 | ac_package=`echo $ac_package | sed 's/-/_/g'` |
626 | eval "with_${ac_package}=no" ;; |
764 | eval "with_$ac_package=no" ;; |
627 | |
765 | |
628 | --x) |
766 | --x) |
629 | # Obsolete; use --with-x. |
767 | # Obsolete; use --with-x. |
630 | with_x=yes ;; |
768 | with_x=yes ;; |
631 | |
769 | |
632 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
770 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
633 | | --x-incl | --x-inc | --x-in | --x-i) |
771 | | --x-incl | --x-inc | --x-in | --x-i) |
634 | ac_prev=x_includes ;; |
772 | ac_prev=x_includes ;; |
635 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
773 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
636 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
774 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
637 | x_includes="$ac_optarg" ;; |
775 | x_includes=$ac_optarg ;; |
638 | |
776 | |
639 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
777 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
640 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
778 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
641 | ac_prev=x_libraries ;; |
779 | ac_prev=x_libraries ;; |
642 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
780 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
643 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
781 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
644 | x_libraries="$ac_optarg" ;; |
782 | x_libraries=$ac_optarg ;; |
645 | |
783 | |
646 | -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } |
784 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
|
|
785 | Try \`$0 --help' for more information." >&2 |
|
|
786 | { (exit 1); exit 1; }; } |
647 | ;; |
787 | ;; |
648 | |
788 | |
|
|
789 | *=*) |
|
|
790 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
|
791 | # Reject names that are not valid shell variable names. |
|
|
792 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
|
|
793 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
|
|
794 | { (exit 1); exit 1; }; } |
|
|
795 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
|
|
796 | eval "$ac_envvar='$ac_optarg'" |
|
|
797 | export $ac_envvar ;; |
|
|
798 | |
649 | *) |
799 | *) |
650 | if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then |
800 | # FIXME: should be removed in autoconf 3.0. |
651 | echo "configure: warning: $ac_option: invalid host type" 1>&2 |
801 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
652 | fi |
802 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
653 | if test "x$nonopt" != xNONE; then |
803 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
654 | { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } |
804 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
655 | fi |
|
|
656 | nonopt="$ac_option" |
|
|
657 | ;; |
805 | ;; |
658 | |
806 | |
659 | esac |
807 | esac |
660 | done |
808 | done |
661 | |
809 | |
662 | if test -n "$ac_prev"; then |
810 | if test -n "$ac_prev"; then |
663 | { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } |
811 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
|
|
812 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
|
|
813 | { (exit 1); exit 1; }; } |
664 | fi |
814 | fi |
665 | |
815 | |
666 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
816 | # Be sure to have absolute paths. |
667 | |
817 | for ac_var in exec_prefix prefix |
668 | # File descriptor usage: |
|
|
669 | # 0 standard input |
|
|
670 | # 1 file creation |
|
|
671 | # 2 errors and warnings |
|
|
672 | # 3 some systems may open it to /dev/tty |
|
|
673 | # 4 used on the Kubota Titan |
|
|
674 | # 6 checking for... messages and results |
|
|
675 | # 5 compiler messages saved in config.log |
|
|
676 | if test "$silent" = yes; then |
|
|
677 | exec 6>/dev/null |
|
|
678 | else |
|
|
679 | exec 6>&1 |
|
|
680 | fi |
|
|
681 | exec 5>./config.log |
|
|
682 | |
|
|
683 | echo "\ |
|
|
684 | This file contains any messages produced by compilers while |
|
|
685 | running configure, to aid debugging if configure makes a mistake. |
|
|
686 | " 1>&5 |
|
|
687 | |
|
|
688 | # Strip out --no-create and --no-recursion so they do not pile up. |
|
|
689 | # Also quote any args containing shell metacharacters. |
|
|
690 | ac_configure_args= |
|
|
691 | for ac_arg |
|
|
692 | do |
818 | do |
|
|
819 | eval ac_val=$`echo $ac_var` |
693 | case "$ac_arg" in |
820 | case $ac_val in |
694 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
821 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
695 | | --no-cr | --no-c) ;; |
822 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
696 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
823 | { (exit 1); exit 1; }; };; |
697 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
|
|
698 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) |
|
|
699 | ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
|
|
700 | *) ac_configure_args="$ac_configure_args $ac_arg" ;; |
|
|
701 | esac |
824 | esac |
702 | done |
825 | done |
703 | |
826 | |
704 | # NLS nuisances. |
827 | # Be sure to have absolute paths. |
705 | # Only set these to C if already set. These must not be set unconditionally |
828 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
706 | # because not all systems understand e.g. LANG=C (notably SCO). |
829 | localstatedir libdir includedir oldincludedir infodir mandir |
707 | # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
830 | do |
708 | # Non-C LC_CTYPE values break the ctype check. |
831 | eval ac_val=$`echo $ac_var` |
709 | if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
832 | case $ac_val in |
710 | if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
833 | [\\/$]* | ?:[\\/]* ) ;; |
711 | if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
834 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
712 | if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
835 | { (exit 1); exit 1; }; };; |
|
|
836 | esac |
|
|
837 | done |
713 | |
838 | |
714 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
839 | # There might be people who depend on the old broken behavior: `$host' |
715 | rm -rf conftest* confdefs.h |
840 | # used to hold the argument of --host etc. |
716 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
841 | # FIXME: To remove some day. |
717 | echo > confdefs.h |
842 | build=$build_alias |
|
|
843 | host=$host_alias |
|
|
844 | target=$target_alias |
718 | |
845 | |
719 | # A filename unique to this package, relative to the directory that |
846 | # FIXME: To remove some day. |
720 | # configure is in, which we can look for to find out if srcdir is correct. |
847 | if test "x$host_alias" != x; then |
721 | ac_unique_file=src/feature.h |
848 | if test "x$build_alias" = x; then |
|
|
849 | cross_compiling=maybe |
|
|
850 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
|
|
851 | If a cross compiler is detected then cross compile mode will be used." >&2 |
|
|
852 | elif test "x$build_alias" != "x$host_alias"; then |
|
|
853 | cross_compiling=yes |
|
|
854 | fi |
|
|
855 | fi |
|
|
856 | |
|
|
857 | ac_tool_prefix= |
|
|
858 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
|
859 | |
|
|
860 | test "$silent" = yes && exec 6>/dev/null |
|
|
861 | |
722 | |
862 | |
723 | # Find the source files, if location was not specified. |
863 | # Find the source files, if location was not specified. |
724 | if test -z "$srcdir"; then |
864 | if test -z "$srcdir"; then |
725 | ac_srcdir_defaulted=yes |
865 | ac_srcdir_defaulted=yes |
726 | # Try the directory containing this script, then its parent. |
866 | # Try the directory containing this script, then its parent. |
727 | ac_prog=$0 |
867 | ac_confdir=`(dirname "$0") 2>/dev/null || |
728 | ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` |
868 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
729 | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
869 | X"$0" : 'X\(//\)[^/]' \| \ |
|
|
870 | X"$0" : 'X\(//\)$' \| \ |
|
|
871 | X"$0" : 'X\(/\)' \| \ |
|
|
872 | . : '\(.\)' 2>/dev/null || |
|
|
873 | echo X"$0" | |
|
|
874 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
|
875 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
|
876 | /^X\(\/\/\)$/{ s//\1/; q; } |
|
|
877 | /^X\(\/\).*/{ s//\1/; q; } |
|
|
878 | s/.*/./; q'` |
730 | srcdir=$ac_confdir |
879 | srcdir=$ac_confdir |
731 | if test ! -r $srcdir/$ac_unique_file; then |
880 | if test ! -r $srcdir/$ac_unique_file; then |
732 | srcdir=.. |
881 | srcdir=.. |
733 | fi |
882 | fi |
734 | else |
883 | else |
735 | ac_srcdir_defaulted=no |
884 | ac_srcdir_defaulted=no |
736 | fi |
885 | fi |
737 | if test ! -r $srcdir/$ac_unique_file; then |
886 | if test ! -r $srcdir/$ac_unique_file; then |
738 | if test "$ac_srcdir_defaulted" = yes; then |
887 | if test "$ac_srcdir_defaulted" = yes; then |
739 | { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } |
888 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
|
|
889 | { (exit 1); exit 1; }; } |
740 | else |
890 | else |
741 | { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } |
891 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
|
|
892 | { (exit 1); exit 1; }; } |
742 | fi |
893 | fi |
743 | fi |
894 | fi |
|
|
895 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
|
|
896 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
|
|
897 | { (exit 1); exit 1; }; } |
744 | srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` |
898 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
|
|
899 | ac_env_build_alias_set=${build_alias+set} |
|
|
900 | ac_env_build_alias_value=$build_alias |
|
|
901 | ac_cv_env_build_alias_set=${build_alias+set} |
|
|
902 | ac_cv_env_build_alias_value=$build_alias |
|
|
903 | ac_env_host_alias_set=${host_alias+set} |
|
|
904 | ac_env_host_alias_value=$host_alias |
|
|
905 | ac_cv_env_host_alias_set=${host_alias+set} |
|
|
906 | ac_cv_env_host_alias_value=$host_alias |
|
|
907 | ac_env_target_alias_set=${target_alias+set} |
|
|
908 | ac_env_target_alias_value=$target_alias |
|
|
909 | ac_cv_env_target_alias_set=${target_alias+set} |
|
|
910 | ac_cv_env_target_alias_value=$target_alias |
|
|
911 | ac_env_CC_set=${CC+set} |
|
|
912 | ac_env_CC_value=$CC |
|
|
913 | ac_cv_env_CC_set=${CC+set} |
|
|
914 | ac_cv_env_CC_value=$CC |
|
|
915 | ac_env_CFLAGS_set=${CFLAGS+set} |
|
|
916 | ac_env_CFLAGS_value=$CFLAGS |
|
|
917 | ac_cv_env_CFLAGS_set=${CFLAGS+set} |
|
|
918 | ac_cv_env_CFLAGS_value=$CFLAGS |
|
|
919 | ac_env_LDFLAGS_set=${LDFLAGS+set} |
|
|
920 | ac_env_LDFLAGS_value=$LDFLAGS |
|
|
921 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
|
|
922 | ac_cv_env_LDFLAGS_value=$LDFLAGS |
|
|
923 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
|
924 | ac_env_CPPFLAGS_value=$CPPFLAGS |
|
|
925 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
|
926 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
|
|
927 | ac_env_CXX_set=${CXX+set} |
|
|
928 | ac_env_CXX_value=$CXX |
|
|
929 | ac_cv_env_CXX_set=${CXX+set} |
|
|
930 | ac_cv_env_CXX_value=$CXX |
|
|
931 | ac_env_CXXFLAGS_set=${CXXFLAGS+set} |
|
|
932 | ac_env_CXXFLAGS_value=$CXXFLAGS |
|
|
933 | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
|
|
934 | ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
|
|
935 | ac_env_CPP_set=${CPP+set} |
|
|
936 | ac_env_CPP_value=$CPP |
|
|
937 | ac_cv_env_CPP_set=${CPP+set} |
|
|
938 | ac_cv_env_CPP_value=$CPP |
745 | |
939 | |
|
|
940 | # |
|
|
941 | # Report the --help message. |
|
|
942 | # |
|
|
943 | if test "$ac_init_help" = "long"; then |
|
|
944 | # Omit some internal or obsolete options to make the list less imposing. |
|
|
945 | # This message is too long to be a string in the A/UX 3.1 sh. |
|
|
946 | cat <<_ACEOF |
|
|
947 | \`configure' configures this package to adapt to many kinds of systems. |
|
|
948 | |
|
|
949 | Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
950 | |
|
|
951 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
|
|
952 | VAR=VALUE. See below for descriptions of some of the useful variables. |
|
|
953 | |
|
|
954 | Defaults for the options are specified in brackets. |
|
|
955 | |
|
|
956 | Configuration: |
|
|
957 | -h, --help display this help and exit |
|
|
958 | --help=short display options specific to this package |
|
|
959 | --help=recursive display the short help of all the included packages |
|
|
960 | -V, --version display version information and exit |
|
|
961 | -q, --quiet, --silent do not print \`checking...' messages |
|
|
962 | --cache-file=FILE cache test results in FILE [disabled] |
|
|
963 | -C, --config-cache alias for \`--cache-file=config.cache' |
|
|
964 | -n, --no-create do not create output files |
|
|
965 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|
|
966 | |
|
|
967 | _ACEOF |
|
|
968 | |
|
|
969 | cat <<_ACEOF |
|
|
970 | Installation directories: |
|
|
971 | --prefix=PREFIX install architecture-independent files in PREFIX |
|
|
972 | [$ac_default_prefix] |
|
|
973 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
|
974 | [PREFIX] |
|
|
975 | |
|
|
976 | By default, \`make install' will install all the files in |
|
|
977 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
|
|
978 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
|
|
979 | for instance \`--prefix=\$HOME'. |
|
|
980 | |
|
|
981 | For better control, use the options below. |
|
|
982 | |
|
|
983 | Fine tuning of the installation directories: |
|
|
984 | --bindir=DIR user executables [EPREFIX/bin] |
|
|
985 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
|
|
986 | --libexecdir=DIR program executables [EPREFIX/libexec] |
|
|
987 | --datadir=DIR read-only architecture-independent data [PREFIX/share] |
|
|
988 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
|
|
989 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
|
|
990 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
|
991 | --libdir=DIR object code libraries [EPREFIX/lib] |
|
|
992 | --includedir=DIR C header files [PREFIX/include] |
|
|
993 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
|
|
994 | --infodir=DIR info documentation [PREFIX/info] |
|
|
995 | --mandir=DIR man documentation [PREFIX/man] |
|
|
996 | _ACEOF |
|
|
997 | |
|
|
998 | cat <<\_ACEOF |
|
|
999 | |
|
|
1000 | X features: |
|
|
1001 | --x-includes=DIR X include files are in DIR |
|
|
1002 | --x-libraries=DIR X library files are in DIR |
|
|
1003 | |
|
|
1004 | Program names: |
|
|
1005 | --program-prefix=PREFIX prepend PREFIX to installed program names |
|
|
1006 | --program-suffix=SUFFIX append SUFFIX to installed program names |
|
|
1007 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
|
|
1008 | |
|
|
1009 | System types: |
|
|
1010 | --build=BUILD configure for building on BUILD [guessed] |
|
|
1011 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
|
|
1012 | _ACEOF |
|
|
1013 | fi |
|
|
1014 | |
|
|
1015 | if test -n "$ac_init_help"; then |
|
|
1016 | |
|
|
1017 | cat <<\_ACEOF |
|
|
1018 | |
|
|
1019 | Optional Features: |
|
|
1020 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
|
1021 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
|
1022 | --enable-shared=PKGS build shared libraries default=no |
|
|
1023 | --enable-static=PKGS build static libraries default=yes |
|
|
1024 | --enable-fast-install=PKGS optimize for fast installation default=yes |
|
|
1025 | --disable-libtool-lock avoid locking (might break parallel builds) |
|
|
1026 | --enable-everything enable standard non-multichoice features: marked * |
|
|
1027 | NOTE: this option is order dependent |
|
|
1028 | NOTE: automatically enabled with --enable-shared |
|
|
1029 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
|
|
1030 | --enable-xft enable xft support on systems that have it |
|
|
1031 | --enable-utmp enable utmp (utmpx) support |
|
|
1032 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
|
|
1033 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
|
|
1034 | --enable-xpm-background enable XPM background pixmaps |
|
|
1035 | --enable-transparency enable transparent backgrounds |
|
|
1036 | --enable-menubar enable menubar |
|
|
1037 | --enable-rxvt-scroll enable rxvt style scrollbar |
|
|
1038 | --enable-next-scroll enable NeXT style scrollbar |
|
|
1039 | --enable-xterm-scroll enable Xterm style scrollbar |
|
|
1040 | --enable-plain-scroll enable plain style scrollbar |
|
|
1041 | --enable-half-shadow use half width/height shadow on rxvt scrollbar |
|
|
1042 | --enable-xim XIM (X Input Method) protocol support |
|
|
1043 | --enable-ttygid enable tty setting to group named "tty" |
|
|
1044 | --disable-backspace-key disable handling of the backspace key |
|
|
1045 | --disable-delete-key disable handling of the delete key |
|
|
1046 | --disable-resources disable all resource checking |
|
|
1047 | --enable-xgetdefault enable resources via X instead of our small version |
|
|
1048 | --enable-strings enable some replacement system functions |
|
|
1049 | --disable-swapscreen disable swap screen support |
|
|
1050 | --enable-frills enable support for rarely used features |
|
|
1051 | --enable-linespace enable support for linespace |
|
|
1052 | --enable-24bit enable support for using 24bit visuals if available |
|
|
1053 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
|
|
1054 | --enable-selectionscrolling enable scrolling during selections |
|
|
1055 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
|
|
1056 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
|
|
1057 | --enable-old-selection enable v2.20 (& prior) mouse selection style support |
|
|
1058 | --disable-new-selection disable new mouse (xterm) selection style support |
|
|
1059 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
|
|
1060 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
|
|
1061 | NOTE: enable only one malloc package |
|
|
1062 | --enable-smart-resize enable smart growth/shrink behaviour |
|
|
1063 | --enable-256-color enable 256-color support |
|
|
1064 | --enable-cursor-blink enable blinking cursor |
|
|
1065 | --enable-text-blink enable blinking text |
|
|
1066 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
|
|
1067 | |
|
|
1068 | Optional Packages: |
|
|
1069 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
|
1070 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
|
1071 | --with-gnu-ld assume the C compiler uses GNU ld default=no |
|
|
1072 | --with-pic try to use only PIC/non-PIC objects default=use both |
|
|
1073 | --with-codesets=NAME,... compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,vn,all) |
|
|
1074 | --with-encoding=NAME set language default encoding to NAME (default: sjis) |
|
|
1075 | (eucj|sjis|big5|gb|kr|noenc) |
|
|
1076 | --with-term=NAME set the terminal to NAME (default \"rxvt\") |
|
|
1077 | --with-terminfo=PATH set the path to the terminfo tree to PATH |
|
|
1078 | --with-x use the X Window System |
|
|
1079 | --with-xpm-includes=DIR use XPM includes in DIR |
|
|
1080 | --with-xpm-library=DIR use XPM library in DIR |
|
|
1081 | --with-xpm use XPM |
|
|
1082 | |
|
|
1083 | Some influential environment variables: |
|
|
1084 | CC C compiler command |
|
|
1085 | CFLAGS C compiler flags |
|
|
1086 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
|
|
1087 | nonstandard directory <lib dir> |
|
|
1088 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
|
|
1089 | headers in a nonstandard directory <include dir> |
|
|
1090 | CXX C++ compiler command |
|
|
1091 | CXXFLAGS C++ compiler flags |
|
|
1092 | CPP C preprocessor |
|
|
1093 | |
|
|
1094 | Use these variables to override the choices made by `configure' or to help |
|
|
1095 | it to find libraries and programs with nonstandard names/locations. |
|
|
1096 | |
|
|
1097 | _ACEOF |
|
|
1098 | fi |
|
|
1099 | |
|
|
1100 | if test "$ac_init_help" = "recursive"; then |
|
|
1101 | # If there are subdirs, report their specific --help. |
|
|
1102 | ac_popdir=`pwd` |
|
|
1103 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
|
1104 | test -d $ac_dir || continue |
|
|
1105 | ac_builddir=. |
|
|
1106 | |
|
|
1107 | if test "$ac_dir" != .; then |
|
|
1108 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
|
|
1109 | # A "../" for each directory in $ac_dir_suffix. |
|
|
1110 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
|
|
1111 | else |
|
|
1112 | ac_dir_suffix= ac_top_builddir= |
|
|
1113 | fi |
|
|
1114 | |
|
|
1115 | case $srcdir in |
|
|
1116 | .) # No --srcdir option. We are building in place. |
|
|
1117 | ac_srcdir=. |
|
|
1118 | if test -z "$ac_top_builddir"; then |
|
|
1119 | ac_top_srcdir=. |
|
|
1120 | else |
|
|
1121 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
|
1122 | fi ;; |
|
|
1123 | [\\/]* | ?:[\\/]* ) # Absolute path. |
|
|
1124 | ac_srcdir=$srcdir$ac_dir_suffix; |
|
|
1125 | ac_top_srcdir=$srcdir ;; |
|
|
1126 | *) # Relative path. |
|
|
1127 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
|
|
1128 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
|
|
1129 | esac |
|
|
1130 | |
|
|
1131 | # Do not use `cd foo && pwd` to compute absolute paths, because |
|
|
1132 | # the directories may not exist. |
|
|
1133 | case `pwd` in |
|
|
1134 | .) ac_abs_builddir="$ac_dir";; |
|
|
1135 | *) |
|
|
1136 | case "$ac_dir" in |
|
|
1137 | .) ac_abs_builddir=`pwd`;; |
|
|
1138 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
|
|
1139 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
|
1140 | esac;; |
|
|
1141 | esac |
|
|
1142 | case $ac_abs_builddir in |
|
|
1143 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
1144 | *) |
|
|
1145 | case ${ac_top_builddir}. in |
|
|
1146 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
|
|
1147 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
1148 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
|
1149 | esac;; |
|
|
1150 | esac |
|
|
1151 | case $ac_abs_builddir in |
|
|
1152 | .) ac_abs_srcdir=$ac_srcdir;; |
|
|
1153 | *) |
|
|
1154 | case $ac_srcdir in |
|
|
1155 | .) ac_abs_srcdir=$ac_abs_builddir;; |
|
|
1156 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
|
1157 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
|
1158 | esac;; |
|
|
1159 | esac |
|
|
1160 | case $ac_abs_builddir in |
|
|
1161 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
1162 | *) |
|
|
1163 | case $ac_top_srcdir in |
|
|
1164 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
|
1165 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
1166 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
|
1167 | esac;; |
|
|
1168 | esac |
|
|
1169 | |
|
|
1170 | cd $ac_dir |
|
|
1171 | # Check for guested configure; otherwise get Cygnus style configure. |
|
|
1172 | if test -f $ac_srcdir/configure.gnu; then |
|
|
1173 | echo |
|
|
1174 | $SHELL $ac_srcdir/configure.gnu --help=recursive |
|
|
1175 | elif test -f $ac_srcdir/configure; then |
|
|
1176 | echo |
|
|
1177 | $SHELL $ac_srcdir/configure --help=recursive |
|
|
1178 | elif test -f $ac_srcdir/configure.ac || |
|
|
1179 | test -f $ac_srcdir/configure.in; then |
|
|
1180 | echo |
|
|
1181 | $ac_configure --help |
|
|
1182 | else |
|
|
1183 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
|
|
1184 | fi |
|
|
1185 | cd "$ac_popdir" |
|
|
1186 | done |
|
|
1187 | fi |
|
|
1188 | |
|
|
1189 | test -n "$ac_init_help" && exit 0 |
|
|
1190 | if $ac_init_version; then |
|
|
1191 | cat <<\_ACEOF |
|
|
1192 | |
|
|
1193 | Copyright (C) 2003 Free Software Foundation, Inc. |
|
|
1194 | This configure script is free software; the Free Software Foundation |
|
|
1195 | gives unlimited permission to copy, distribute and modify it. |
|
|
1196 | _ACEOF |
|
|
1197 | exit 0 |
|
|
1198 | fi |
|
|
1199 | exec 5>config.log |
|
|
1200 | cat >&5 <<_ACEOF |
|
|
1201 | This file contains any messages produced by compilers while |
|
|
1202 | running configure, to aid debugging if configure makes a mistake. |
|
|
1203 | |
|
|
1204 | It was created by $as_me, which was |
|
|
1205 | generated by GNU Autoconf 2.59. Invocation command line was |
|
|
1206 | |
|
|
1207 | $ $0 $@ |
|
|
1208 | |
|
|
1209 | _ACEOF |
|
|
1210 | { |
|
|
1211 | cat <<_ASUNAME |
|
|
1212 | ## --------- ## |
|
|
1213 | ## Platform. ## |
|
|
1214 | ## --------- ## |
|
|
1215 | |
|
|
1216 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
|
1217 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|
|
1218 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
|
|
1219 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
|
|
1220 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
|
|
1221 | |
|
|
1222 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
|
|
1223 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
|
|
1224 | |
|
|
1225 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
|
|
1226 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
|
|
1227 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
|
|
1228 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
|
|
1229 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
|
|
1230 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
|
|
1231 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|
|
1232 | |
|
|
1233 | _ASUNAME |
|
|
1234 | |
|
|
1235 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
1236 | for as_dir in $PATH |
|
|
1237 | do |
|
|
1238 | IFS=$as_save_IFS |
|
|
1239 | test -z "$as_dir" && as_dir=. |
|
|
1240 | echo "PATH: $as_dir" |
|
|
1241 | done |
|
|
1242 | |
|
|
1243 | } >&5 |
|
|
1244 | |
|
|
1245 | cat >&5 <<_ACEOF |
|
|
1246 | |
|
|
1247 | |
|
|
1248 | ## ----------- ## |
|
|
1249 | ## Core tests. ## |
|
|
1250 | ## ----------- ## |
|
|
1251 | |
|
|
1252 | _ACEOF |
|
|
1253 | |
|
|
1254 | |
|
|
1255 | # Keep a trace of the command line. |
|
|
1256 | # Strip out --no-create and --no-recursion so they do not pile up. |
|
|
1257 | # Strip out --silent because we don't want to record it for future runs. |
|
|
1258 | # Also quote any args containing shell meta-characters. |
|
|
1259 | # Make two passes to allow for proper duplicate-argument suppression. |
|
|
1260 | ac_configure_args= |
|
|
1261 | ac_configure_args0= |
|
|
1262 | ac_configure_args1= |
|
|
1263 | ac_sep= |
|
|
1264 | ac_must_keep_next=false |
|
|
1265 | for ac_pass in 1 2 |
|
|
1266 | do |
|
|
1267 | for ac_arg |
|
|
1268 | do |
|
|
1269 | case $ac_arg in |
|
|
1270 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
|
1271 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
|
1272 | | -silent | --silent | --silen | --sile | --sil) |
|
|
1273 | continue ;; |
|
|
1274 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
|
|
1275 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
|
1276 | esac |
|
|
1277 | case $ac_pass in |
|
|
1278 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
|
|
1279 | 2) |
|
|
1280 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
|
|
1281 | if test $ac_must_keep_next = true; then |
|
|
1282 | ac_must_keep_next=false # Got value, back to normal. |
|
|
1283 | else |
|
|
1284 | case $ac_arg in |
|
|
1285 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
|
|
1286 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
|
1287 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
|
1288 | | -with-* | --with-* | -without-* | --without-* | --x) |
|
|
1289 | case "$ac_configure_args0 " in |
|
|
1290 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
|
1291 | esac |
|
|
1292 | ;; |
|
|
1293 | -* ) ac_must_keep_next=true ;; |
|
|
1294 | esac |
|
|
1295 | fi |
|
|
1296 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
|
|
1297 | # Get rid of the leading space. |
|
|
1298 | ac_sep=" " |
|
|
1299 | ;; |
|
|
1300 | esac |
|
|
1301 | done |
|
|
1302 | done |
|
|
1303 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
|
|
1304 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
|
|
1305 | |
|
|
1306 | # When interrupted or exit'd, cleanup temporary files, and complete |
|
|
1307 | # config.log. We remove comments because anyway the quotes in there |
|
|
1308 | # would cause problems or look ugly. |
|
|
1309 | # WARNING: Be sure not to use single quotes in there, as some shells, |
|
|
1310 | # such as our DU 5.0 friend, will then `close' the trap. |
|
|
1311 | trap 'exit_status=$? |
|
|
1312 | # Save into config.log some information that might help in debugging. |
|
|
1313 | { |
|
|
1314 | echo |
|
|
1315 | |
|
|
1316 | cat <<\_ASBOX |
|
|
1317 | ## ---------------- ## |
|
|
1318 | ## Cache variables. ## |
|
|
1319 | ## ---------------- ## |
|
|
1320 | _ASBOX |
|
|
1321 | echo |
|
|
1322 | # The following way of writing the cache mishandles newlines in values, |
|
|
1323 | { |
|
|
1324 | (set) 2>&1 | |
|
|
1325 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
|
|
1326 | *ac_space=\ *) |
|
|
1327 | sed -n \ |
|
|
1328 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
|
|
1329 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
|
|
1330 | ;; |
|
|
1331 | *) |
|
|
1332 | sed -n \ |
|
|
1333 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
|
|
1334 | ;; |
|
|
1335 | esac; |
|
|
1336 | } |
|
|
1337 | echo |
|
|
1338 | |
|
|
1339 | cat <<\_ASBOX |
|
|
1340 | ## ----------------- ## |
|
|
1341 | ## Output variables. ## |
|
|
1342 | ## ----------------- ## |
|
|
1343 | _ASBOX |
|
|
1344 | echo |
|
|
1345 | for ac_var in $ac_subst_vars |
|
|
1346 | do |
|
|
1347 | eval ac_val=$`echo $ac_var` |
|
|
1348 | echo "$ac_var='"'"'$ac_val'"'"'" |
|
|
1349 | done | sort |
|
|
1350 | echo |
|
|
1351 | |
|
|
1352 | if test -n "$ac_subst_files"; then |
|
|
1353 | cat <<\_ASBOX |
|
|
1354 | ## ------------- ## |
|
|
1355 | ## Output files. ## |
|
|
1356 | ## ------------- ## |
|
|
1357 | _ASBOX |
|
|
1358 | echo |
|
|
1359 | for ac_var in $ac_subst_files |
|
|
1360 | do |
|
|
1361 | eval ac_val=$`echo $ac_var` |
|
|
1362 | echo "$ac_var='"'"'$ac_val'"'"'" |
|
|
1363 | done | sort |
|
|
1364 | echo |
|
|
1365 | fi |
|
|
1366 | |
|
|
1367 | if test -s confdefs.h; then |
|
|
1368 | cat <<\_ASBOX |
|
|
1369 | ## ----------- ## |
|
|
1370 | ## confdefs.h. ## |
|
|
1371 | ## ----------- ## |
|
|
1372 | _ASBOX |
|
|
1373 | echo |
|
|
1374 | sed "/^$/d" confdefs.h | sort |
|
|
1375 | echo |
|
|
1376 | fi |
|
|
1377 | test "$ac_signal" != 0 && |
|
|
1378 | echo "$as_me: caught signal $ac_signal" |
|
|
1379 | echo "$as_me: exit $exit_status" |
|
|
1380 | } >&5 |
|
|
1381 | rm -f core *.core && |
|
|
1382 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
|
|
1383 | exit $exit_status |
|
|
1384 | ' 0 |
|
|
1385 | for ac_signal in 1 2 13 15; do |
|
|
1386 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
|
|
1387 | done |
|
|
1388 | ac_signal=0 |
|
|
1389 | |
|
|
1390 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
|
|
1391 | rm -rf conftest* confdefs.h |
|
|
1392 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
|
|
1393 | echo >confdefs.h |
|
|
1394 | |
|
|
1395 | # Predefined preprocessor variables. |
|
|
1396 | |
|
|
1397 | cat >>confdefs.h <<_ACEOF |
|
|
1398 | #define PACKAGE_NAME "$PACKAGE_NAME" |
|
|
1399 | _ACEOF |
|
|
1400 | |
|
|
1401 | |
|
|
1402 | cat >>confdefs.h <<_ACEOF |
|
|
1403 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|
|
1404 | _ACEOF |
|
|
1405 | |
|
|
1406 | |
|
|
1407 | cat >>confdefs.h <<_ACEOF |
|
|
1408 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
|
|
1409 | _ACEOF |
|
|
1410 | |
|
|
1411 | |
|
|
1412 | cat >>confdefs.h <<_ACEOF |
|
|
1413 | #define PACKAGE_STRING "$PACKAGE_STRING" |
|
|
1414 | _ACEOF |
|
|
1415 | |
|
|
1416 | |
|
|
1417 | cat >>confdefs.h <<_ACEOF |
|
|
1418 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|
|
1419 | _ACEOF |
|
|
1420 | |
|
|
1421 | |
|
|
1422 | # Let the site file select an alternate cache file if it wants to. |
746 | # Prefer explicitly selected file to automatically selected ones. |
1423 | # Prefer explicitly selected file to automatically selected ones. |
747 | if test -z "$CONFIG_SITE"; then |
1424 | if test -z "$CONFIG_SITE"; then |
748 | if test "x$prefix" != xNONE; then |
1425 | if test "x$prefix" != xNONE; then |
749 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
1426 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
750 | else |
1427 | else |
751 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
1428 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
752 | fi |
1429 | fi |
753 | fi |
1430 | fi |
754 | for ac_site_file in $CONFIG_SITE; do |
1431 | for ac_site_file in $CONFIG_SITE; do |
755 | if test -r "$ac_site_file"; then |
1432 | if test -r "$ac_site_file"; then |
|
|
1433 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
756 | echo "loading site script $ac_site_file" |
1434 | echo "$as_me: loading site script $ac_site_file" >&6;} |
|
|
1435 | sed 's/^/| /' "$ac_site_file" >&5 |
757 | . "$ac_site_file" |
1436 | . "$ac_site_file" |
758 | fi |
1437 | fi |
759 | done |
1438 | done |
760 | |
1439 | |
761 | if test -r "$cache_file"; then |
1440 | if test -r "$cache_file"; then |
|
|
1441 | # Some versions of bash will fail to source /dev/null (special |
|
|
1442 | # files actually), so we avoid doing that. |
|
|
1443 | if test -f "$cache_file"; then |
|
|
1444 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
762 | echo "loading cache $cache_file" |
1445 | echo "$as_me: loading cache $cache_file" >&6;} |
763 | . $cache_file |
1446 | case $cache_file in |
|
|
1447 | [\\/]* | ?:[\\/]* ) . $cache_file;; |
|
|
1448 | *) . ./$cache_file;; |
|
|
1449 | esac |
|
|
1450 | fi |
764 | else |
1451 | else |
|
|
1452 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
765 | echo "creating cache $cache_file" |
1453 | echo "$as_me: creating cache $cache_file" >&6;} |
766 | > $cache_file |
1454 | >$cache_file |
|
|
1455 | fi |
|
|
1456 | |
|
|
1457 | # Check that the precious variables saved in the cache have kept the same |
|
|
1458 | # value. |
|
|
1459 | ac_cache_corrupted=false |
|
|
1460 | for ac_var in `(set) 2>&1 | |
|
|
1461 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
|
|
1462 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
|
|
1463 | eval ac_new_set=\$ac_env_${ac_var}_set |
|
|
1464 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
|
|
1465 | eval ac_new_val="\$ac_env_${ac_var}_value" |
|
|
1466 | case $ac_old_set,$ac_new_set in |
|
|
1467 | set,) |
|
|
1468 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
|
|
1469 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|
|
1470 | ac_cache_corrupted=: ;; |
|
|
1471 | ,set) |
|
|
1472 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
|
|
1473 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|
|
1474 | ac_cache_corrupted=: ;; |
|
|
1475 | ,);; |
|
|
1476 | *) |
|
|
1477 | if test "x$ac_old_val" != "x$ac_new_val"; then |
|
|
1478 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
|
|
1479 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|
|
1480 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
|
|
1481 | echo "$as_me: former value: $ac_old_val" >&2;} |
|
|
1482 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
|
|
1483 | echo "$as_me: current value: $ac_new_val" >&2;} |
|
|
1484 | ac_cache_corrupted=: |
|
|
1485 | fi;; |
|
|
1486 | esac |
|
|
1487 | # Pass precious variables to config.status. |
|
|
1488 | if test "$ac_new_set" = set; then |
|
|
1489 | case $ac_new_val in |
|
|
1490 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
|
|
1491 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
|
1492 | *) ac_arg=$ac_var=$ac_new_val ;; |
|
|
1493 | esac |
|
|
1494 | case " $ac_configure_args " in |
|
|
1495 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
|
1496 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
|
|
1497 | esac |
|
|
1498 | fi |
|
|
1499 | done |
|
|
1500 | if $ac_cache_corrupted; then |
|
|
1501 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
|
|
1502 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|
|
1503 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
|
|
1504 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
|
|
1505 | { (exit 1); exit 1; }; } |
767 | fi |
1506 | fi |
768 | |
1507 | |
769 | ac_ext=c |
1508 | ac_ext=c |
770 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
771 | ac_cpp='$CPP $CPPFLAGS' |
1509 | ac_cpp='$CPP $CPPFLAGS' |
772 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
1510 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
773 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
1511 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
774 | cross_compiling=$ac_cv_prog_cc_cross |
1512 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
775 | |
1513 | |
776 | ac_exeext= |
1514 | |
777 | ac_objext=o |
1515 | |
778 | if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
1516 | |
779 | # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
1517 | |
780 | if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
1518 | |
781 | ac_n= ac_c=' |
1519 | |
782 | ' ac_t=' ' |
1520 | |
783 | else |
1521 | |
784 | ac_n=-n ac_c= ac_t= |
1522 | |
785 | fi |
1523 | |
786 | else |
1524 | |
787 | ac_n= ac_c='\c' ac_t= |
1525 | |
788 | fi |
1526 | |
|
|
1527 | |
|
|
1528 | |
|
|
1529 | |
789 | |
1530 | |
790 | |
1531 | |
791 | ac_aux_dir= |
1532 | ac_aux_dir= |
792 | for ac_dir in autoconf $srcdir/autoconf; do |
1533 | for ac_dir in autoconf $srcdir/autoconf; do |
793 | if test -f $ac_dir/install-sh; then |
1534 | if test -f $ac_dir/install-sh; then |
… | |
… | |
796 | break |
1537 | break |
797 | elif test -f $ac_dir/install.sh; then |
1538 | elif test -f $ac_dir/install.sh; then |
798 | ac_aux_dir=$ac_dir |
1539 | ac_aux_dir=$ac_dir |
799 | ac_install_sh="$ac_aux_dir/install.sh -c" |
1540 | ac_install_sh="$ac_aux_dir/install.sh -c" |
800 | break |
1541 | break |
|
|
1542 | elif test -f $ac_dir/shtool; then |
|
|
1543 | ac_aux_dir=$ac_dir |
|
|
1544 | ac_install_sh="$ac_aux_dir/shtool install -c" |
|
|
1545 | break |
801 | fi |
1546 | fi |
802 | done |
1547 | done |
803 | if test -z "$ac_aux_dir"; then |
1548 | if test -z "$ac_aux_dir"; then |
|
|
1549 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5 |
804 | { echo "configure: error: can not find install-sh or install.sh in autoconf $srcdir/autoconf" 1>&2; exit 1; } |
1550 | echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;} |
|
|
1551 | { (exit 1); exit 1; }; } |
805 | fi |
1552 | fi |
806 | ac_config_guess=$ac_aux_dir/config.guess |
1553 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
807 | ac_config_sub=$ac_aux_dir/config.sub |
1554 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
808 | ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
1555 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
809 | |
1556 | |
|
|
1557 | ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in" |
810 | |
1558 | |
811 | |
1559 | |
812 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1560 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
813 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1561 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
814 | LSMDATE=`sed -n -e 's/^.*[ \t]LSMDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1562 | LSMDATE=`sed -n -e 's/^.*[ \t]LSMDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
… | |
… | |
816 | echo "" |
1564 | echo "" |
817 | echo "configuring for rxvt $VERSION" |
1565 | echo "configuring for rxvt $VERSION" |
818 | echo "" |
1566 | echo "" |
819 | |
1567 | |
820 | |
1568 | |
|
|
1569 | ac_ext=c |
|
|
1570 | ac_cpp='$CPP $CPPFLAGS' |
|
|
1571 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
1572 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
1573 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
1574 | if test -n "$ac_tool_prefix"; then |
821 | # Extract the first word of "gcc", so it can be a program name with args. |
1575 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
822 | set dummy gcc; ac_word=$2 |
1576 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
|
1577 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
823 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1578 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
824 | echo "configure:825: checking for $ac_word" >&5 |
|
|
825 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1579 | if test "${ac_cv_prog_CC+set}" = set; then |
826 | echo $ac_n "(cached) $ac_c" 1>&6 |
1580 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
827 | else |
1581 | else |
828 | if test -n "$CC"; then |
1582 | if test -n "$CC"; then |
829 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1583 | ac_cv_prog_CC="$CC" # Let the user override the test. |
830 | else |
1584 | else |
831 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1585 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
832 | ac_dummy="$PATH" |
1586 | for as_dir in $PATH |
833 | for ac_dir in $ac_dummy; do |
1587 | do |
|
|
1588 | IFS=$as_save_IFS |
834 | test -z "$ac_dir" && ac_dir=. |
1589 | test -z "$as_dir" && as_dir=. |
835 | if test -f $ac_dir/$ac_word; then |
1590 | for ac_exec_ext in '' $ac_executable_extensions; do |
836 | ac_cv_prog_CC="gcc" |
1591 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
1592 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
|
1593 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
837 | break |
1594 | break 2 |
838 | fi |
1595 | fi |
839 | done |
1596 | done |
840 | IFS="$ac_save_ifs" |
1597 | done |
|
|
1598 | |
841 | fi |
1599 | fi |
842 | fi |
1600 | fi |
843 | CC="$ac_cv_prog_CC" |
1601 | CC=$ac_cv_prog_CC |
844 | if test -n "$CC"; then |
1602 | if test -n "$CC"; then |
845 | echo "$ac_t""$CC" 1>&6 |
1603 | echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
1604 | echo "${ECHO_T}$CC" >&6 |
846 | else |
1605 | else |
847 | echo "$ac_t""no" 1>&6 |
1606 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
1607 | echo "${ECHO_T}no" >&6 |
848 | fi |
1608 | fi |
849 | |
1609 | |
|
|
1610 | fi |
|
|
1611 | if test -z "$ac_cv_prog_CC"; then |
|
|
1612 | ac_ct_CC=$CC |
|
|
1613 | # Extract the first word of "gcc", so it can be a program name with args. |
|
|
1614 | set dummy gcc; ac_word=$2 |
|
|
1615 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
1616 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
1617 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
|
1618 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
1619 | else |
|
|
1620 | if test -n "$ac_ct_CC"; then |
|
|
1621 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
1622 | else |
|
|
1623 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
1624 | for as_dir in $PATH |
|
|
1625 | do |
|
|
1626 | IFS=$as_save_IFS |
|
|
1627 | test -z "$as_dir" && as_dir=. |
|
|
1628 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
1629 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
1630 | ac_cv_prog_ac_ct_CC="gcc" |
|
|
1631 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
1632 | break 2 |
|
|
1633 | fi |
|
|
1634 | done |
|
|
1635 | done |
|
|
1636 | |
|
|
1637 | fi |
|
|
1638 | fi |
|
|
1639 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
1640 | if test -n "$ac_ct_CC"; then |
|
|
1641 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
|
1642 | echo "${ECHO_T}$ac_ct_CC" >&6 |
|
|
1643 | else |
|
|
1644 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
1645 | echo "${ECHO_T}no" >&6 |
|
|
1646 | fi |
|
|
1647 | |
|
|
1648 | CC=$ac_ct_CC |
|
|
1649 | else |
|
|
1650 | CC="$ac_cv_prog_CC" |
|
|
1651 | fi |
|
|
1652 | |
|
|
1653 | if test -z "$CC"; then |
|
|
1654 | if test -n "$ac_tool_prefix"; then |
|
|
1655 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
|
1656 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
|
1657 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
1658 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
1659 | if test "${ac_cv_prog_CC+set}" = set; then |
|
|
1660 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
1661 | else |
|
|
1662 | if test -n "$CC"; then |
|
|
1663 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
1664 | else |
|
|
1665 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
1666 | for as_dir in $PATH |
|
|
1667 | do |
|
|
1668 | IFS=$as_save_IFS |
|
|
1669 | test -z "$as_dir" && as_dir=. |
|
|
1670 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
1671 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
1672 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
|
1673 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
1674 | break 2 |
|
|
1675 | fi |
|
|
1676 | done |
|
|
1677 | done |
|
|
1678 | |
|
|
1679 | fi |
|
|
1680 | fi |
|
|
1681 | CC=$ac_cv_prog_CC |
|
|
1682 | if test -n "$CC"; then |
|
|
1683 | echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
1684 | echo "${ECHO_T}$CC" >&6 |
|
|
1685 | else |
|
|
1686 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
1687 | echo "${ECHO_T}no" >&6 |
|
|
1688 | fi |
|
|
1689 | |
|
|
1690 | fi |
|
|
1691 | if test -z "$ac_cv_prog_CC"; then |
|
|
1692 | ac_ct_CC=$CC |
|
|
1693 | # Extract the first word of "cc", so it can be a program name with args. |
|
|
1694 | set dummy cc; ac_word=$2 |
|
|
1695 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
1696 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
1697 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
|
1698 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
1699 | else |
|
|
1700 | if test -n "$ac_ct_CC"; then |
|
|
1701 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
1702 | else |
|
|
1703 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
1704 | for as_dir in $PATH |
|
|
1705 | do |
|
|
1706 | IFS=$as_save_IFS |
|
|
1707 | test -z "$as_dir" && as_dir=. |
|
|
1708 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
1709 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
1710 | ac_cv_prog_ac_ct_CC="cc" |
|
|
1711 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
1712 | break 2 |
|
|
1713 | fi |
|
|
1714 | done |
|
|
1715 | done |
|
|
1716 | |
|
|
1717 | fi |
|
|
1718 | fi |
|
|
1719 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
1720 | if test -n "$ac_ct_CC"; then |
|
|
1721 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
|
1722 | echo "${ECHO_T}$ac_ct_CC" >&6 |
|
|
1723 | else |
|
|
1724 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
1725 | echo "${ECHO_T}no" >&6 |
|
|
1726 | fi |
|
|
1727 | |
|
|
1728 | CC=$ac_ct_CC |
|
|
1729 | else |
|
|
1730 | CC="$ac_cv_prog_CC" |
|
|
1731 | fi |
|
|
1732 | |
|
|
1733 | fi |
850 | if test -z "$CC"; then |
1734 | if test -z "$CC"; then |
851 | # Extract the first word of "cc", so it can be a program name with args. |
1735 | # Extract the first word of "cc", so it can be a program name with args. |
852 | set dummy cc; ac_word=$2 |
1736 | set dummy cc; ac_word=$2 |
|
|
1737 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
853 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1738 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
854 | echo "configure:855: checking for $ac_word" >&5 |
|
|
855 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1739 | if test "${ac_cv_prog_CC+set}" = set; then |
856 | echo $ac_n "(cached) $ac_c" 1>&6 |
1740 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
857 | else |
1741 | else |
858 | if test -n "$CC"; then |
1742 | if test -n "$CC"; then |
859 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1743 | ac_cv_prog_CC="$CC" # Let the user override the test. |
860 | else |
1744 | else |
861 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
862 | ac_prog_rejected=no |
1745 | ac_prog_rejected=no |
863 | ac_dummy="$PATH" |
1746 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
864 | for ac_dir in $ac_dummy; do |
1747 | for as_dir in $PATH |
|
|
1748 | do |
|
|
1749 | IFS=$as_save_IFS |
865 | test -z "$ac_dir" && ac_dir=. |
1750 | test -z "$as_dir" && as_dir=. |
866 | if test -f $ac_dir/$ac_word; then |
1751 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
1752 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
867 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
1753 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
868 | ac_prog_rejected=yes |
1754 | ac_prog_rejected=yes |
869 | continue |
1755 | continue |
870 | fi |
1756 | fi |
871 | ac_cv_prog_CC="cc" |
1757 | ac_cv_prog_CC="cc" |
|
|
1758 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
872 | break |
1759 | break 2 |
873 | fi |
1760 | fi |
874 | done |
1761 | done |
875 | IFS="$ac_save_ifs" |
1762 | done |
|
|
1763 | |
876 | if test $ac_prog_rejected = yes; then |
1764 | if test $ac_prog_rejected = yes; then |
877 | # We found a bogon in the path, so make sure we never use it. |
1765 | # We found a bogon in the path, so make sure we never use it. |
878 | set dummy $ac_cv_prog_CC |
1766 | set dummy $ac_cv_prog_CC |
879 | shift |
1767 | shift |
880 | if test $# -gt 0; then |
1768 | if test $# != 0; then |
881 | # We chose a different compiler from the bogus one. |
1769 | # We chose a different compiler from the bogus one. |
882 | # However, it has the same basename, so the bogon will be chosen |
1770 | # However, it has the same basename, so the bogon will be chosen |
883 | # first if we set CC to just the basename; use the full file name. |
1771 | # first if we set CC to just the basename; use the full file name. |
884 | shift |
1772 | shift |
885 | set dummy "$ac_dir/$ac_word" "$@" |
1773 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
886 | shift |
|
|
887 | ac_cv_prog_CC="$@" |
|
|
888 | fi |
1774 | fi |
889 | fi |
1775 | fi |
890 | fi |
1776 | fi |
891 | fi |
1777 | fi |
892 | CC="$ac_cv_prog_CC" |
1778 | CC=$ac_cv_prog_CC |
893 | if test -n "$CC"; then |
1779 | if test -n "$CC"; then |
894 | echo "$ac_t""$CC" 1>&6 |
1780 | echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
1781 | echo "${ECHO_T}$CC" >&6 |
895 | else |
1782 | else |
896 | echo "$ac_t""no" 1>&6 |
1783 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
1784 | echo "${ECHO_T}no" >&6 |
897 | fi |
1785 | fi |
898 | |
1786 | |
|
|
1787 | fi |
899 | if test -z "$CC"; then |
1788 | if test -z "$CC"; then |
900 | case "`uname -s`" in |
1789 | if test -n "$ac_tool_prefix"; then |
901 | *win32* | *WIN32*) |
1790 | for ac_prog in cl |
|
|
1791 | do |
902 | # Extract the first word of "cl", so it can be a program name with args. |
1792 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
903 | set dummy cl; ac_word=$2 |
1793 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
|
1794 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
904 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1795 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
905 | echo "configure:906: checking for $ac_word" >&5 |
|
|
906 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1796 | if test "${ac_cv_prog_CC+set}" = set; then |
907 | echo $ac_n "(cached) $ac_c" 1>&6 |
1797 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
908 | else |
1798 | else |
909 | if test -n "$CC"; then |
1799 | if test -n "$CC"; then |
910 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1800 | ac_cv_prog_CC="$CC" # Let the user override the test. |
911 | else |
1801 | else |
912 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1802 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
913 | ac_dummy="$PATH" |
1803 | for as_dir in $PATH |
914 | for ac_dir in $ac_dummy; do |
1804 | do |
|
|
1805 | IFS=$as_save_IFS |
915 | test -z "$ac_dir" && ac_dir=. |
1806 | test -z "$as_dir" && as_dir=. |
916 | if test -f $ac_dir/$ac_word; then |
1807 | for ac_exec_ext in '' $ac_executable_extensions; do |
917 | ac_cv_prog_CC="cl" |
1808 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
1809 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
|
1810 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
918 | break |
1811 | break 2 |
|
|
1812 | fi |
|
|
1813 | done |
|
|
1814 | done |
|
|
1815 | |
|
|
1816 | fi |
|
|
1817 | fi |
|
|
1818 | CC=$ac_cv_prog_CC |
|
|
1819 | if test -n "$CC"; then |
|
|
1820 | echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
1821 | echo "${ECHO_T}$CC" >&6 |
|
|
1822 | else |
|
|
1823 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
1824 | echo "${ECHO_T}no" >&6 |
|
|
1825 | fi |
|
|
1826 | |
|
|
1827 | test -n "$CC" && break |
|
|
1828 | done |
|
|
1829 | fi |
|
|
1830 | if test -z "$CC"; then |
|
|
1831 | ac_ct_CC=$CC |
|
|
1832 | for ac_prog in cl |
|
|
1833 | do |
|
|
1834 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
1835 | set dummy $ac_prog; ac_word=$2 |
|
|
1836 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
1837 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
1838 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
|
1839 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
1840 | else |
|
|
1841 | if test -n "$ac_ct_CC"; then |
|
|
1842 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
1843 | else |
|
|
1844 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
1845 | for as_dir in $PATH |
|
|
1846 | do |
|
|
1847 | IFS=$as_save_IFS |
|
|
1848 | test -z "$as_dir" && as_dir=. |
|
|
1849 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
1850 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
1851 | ac_cv_prog_ac_ct_CC="$ac_prog" |
|
|
1852 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
1853 | break 2 |
|
|
1854 | fi |
|
|
1855 | done |
|
|
1856 | done |
|
|
1857 | |
|
|
1858 | fi |
|
|
1859 | fi |
|
|
1860 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
1861 | if test -n "$ac_ct_CC"; then |
|
|
1862 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
|
1863 | echo "${ECHO_T}$ac_ct_CC" >&6 |
|
|
1864 | else |
|
|
1865 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
1866 | echo "${ECHO_T}no" >&6 |
|
|
1867 | fi |
|
|
1868 | |
|
|
1869 | test -n "$ac_ct_CC" && break |
|
|
1870 | done |
|
|
1871 | |
|
|
1872 | CC=$ac_ct_CC |
|
|
1873 | fi |
|
|
1874 | |
|
|
1875 | fi |
|
|
1876 | |
|
|
1877 | |
|
|
1878 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
|
|
1879 | See \`config.log' for more details." >&5 |
|
|
1880 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
|
|
1881 | See \`config.log' for more details." >&2;} |
|
|
1882 | { (exit 1); exit 1; }; } |
|
|
1883 | |
|
|
1884 | # Provide some information about the compiler. |
|
|
1885 | echo "$as_me:$LINENO:" \ |
|
|
1886 | "checking for C compiler version" >&5 |
|
|
1887 | ac_compiler=`set X $ac_compile; echo $2` |
|
|
1888 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
|
|
1889 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
|
|
1890 | ac_status=$? |
|
|
1891 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
1892 | (exit $ac_status); } |
|
|
1893 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
|
|
1894 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
|
|
1895 | ac_status=$? |
|
|
1896 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
1897 | (exit $ac_status); } |
|
|
1898 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
|
|
1899 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
|
|
1900 | ac_status=$? |
|
|
1901 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
1902 | (exit $ac_status); } |
|
|
1903 | |
|
|
1904 | cat >conftest.$ac_ext <<_ACEOF |
|
|
1905 | /* confdefs.h. */ |
|
|
1906 | _ACEOF |
|
|
1907 | cat confdefs.h >>conftest.$ac_ext |
|
|
1908 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
1909 | /* end confdefs.h. */ |
|
|
1910 | |
|
|
1911 | int |
|
|
1912 | main () |
|
|
1913 | { |
|
|
1914 | |
|
|
1915 | ; |
|
|
1916 | return 0; |
|
|
1917 | } |
|
|
1918 | _ACEOF |
|
|
1919 | ac_clean_files_save=$ac_clean_files |
|
|
1920 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
|
|
1921 | # Try to create an executable without -o first, disregard a.out. |
|
|
1922 | # It will help us diagnose broken compilers, and finding out an intuition |
|
|
1923 | # of exeext. |
|
|
1924 | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
|
|
1925 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
|
|
1926 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
|
1927 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
|
|
1928 | (eval $ac_link_default) 2>&5 |
|
|
1929 | ac_status=$? |
|
|
1930 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
1931 | (exit $ac_status); }; then |
|
|
1932 | # Find the output, starting from the most likely. This scheme is |
|
|
1933 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last |
|
|
1934 | # resort. |
|
|
1935 | |
|
|
1936 | # Be careful to initialize this variable, since it used to be cached. |
|
|
1937 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
|
|
1938 | ac_cv_exeext= |
|
|
1939 | # b.out is created by i960 compilers. |
|
|
1940 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
|
|
1941 | do |
|
|
1942 | test -f "$ac_file" || continue |
|
|
1943 | case $ac_file in |
|
|
1944 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
|
|
1945 | ;; |
|
|
1946 | conftest.$ac_ext ) |
|
|
1947 | # This is the source file. |
|
|
1948 | ;; |
|
|
1949 | [ab].out ) |
|
|
1950 | # We found the default executable, but exeext='' is most |
|
|
1951 | # certainly right. |
|
|
1952 | break;; |
|
|
1953 | *.* ) |
|
|
1954 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
|
1955 | # FIXME: I believe we export ac_cv_exeext for Libtool, |
|
|
1956 | # but it would be cool to find out if it's true. Does anybody |
|
|
1957 | # maintain Libtool? --akim. |
|
|
1958 | export ac_cv_exeext |
|
|
1959 | break;; |
|
|
1960 | * ) |
|
|
1961 | break;; |
|
|
1962 | esac |
|
|
1963 | done |
|
|
1964 | else |
|
|
1965 | echo "$as_me: failed program was:" >&5 |
|
|
1966 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1967 | |
|
|
1968 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
|
|
1969 | See \`config.log' for more details." >&5 |
|
|
1970 | echo "$as_me: error: C compiler cannot create executables |
|
|
1971 | See \`config.log' for more details." >&2;} |
|
|
1972 | { (exit 77); exit 77; }; } |
|
|
1973 | fi |
|
|
1974 | |
|
|
1975 | ac_exeext=$ac_cv_exeext |
|
|
1976 | echo "$as_me:$LINENO: result: $ac_file" >&5 |
|
|
1977 | echo "${ECHO_T}$ac_file" >&6 |
|
|
1978 | |
|
|
1979 | # Check the compiler produces executables we can run. If not, either |
|
|
1980 | # the compiler is broken, or we cross compile. |
|
|
1981 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
|
|
1982 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
|
|
1983 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
|
|
1984 | # If not cross compiling, check that we can run a simple program. |
|
|
1985 | if test "$cross_compiling" != yes; then |
|
|
1986 | if { ac_try='./$ac_file' |
|
|
1987 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
1988 | (eval $ac_try) 2>&5 |
|
|
1989 | ac_status=$? |
|
|
1990 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
1991 | (exit $ac_status); }; }; then |
|
|
1992 | cross_compiling=no |
|
|
1993 | else |
|
|
1994 | if test "$cross_compiling" = maybe; then |
|
|
1995 | cross_compiling=yes |
|
|
1996 | else |
|
|
1997 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
|
|
1998 | If you meant to cross compile, use \`--host'. |
|
|
1999 | See \`config.log' for more details." >&5 |
|
|
2000 | echo "$as_me: error: cannot run C compiled programs. |
|
|
2001 | If you meant to cross compile, use \`--host'. |
|
|
2002 | See \`config.log' for more details." >&2;} |
|
|
2003 | { (exit 1); exit 1; }; } |
919 | fi |
2004 | fi |
920 | done |
|
|
921 | IFS="$ac_save_ifs" |
|
|
922 | fi |
|
|
923 | fi |
|
|
924 | CC="$ac_cv_prog_CC" |
|
|
925 | if test -n "$CC"; then |
|
|
926 | echo "$ac_t""$CC" 1>&6 |
|
|
927 | else |
|
|
928 | echo "$ac_t""no" 1>&6 |
|
|
929 | fi |
|
|
930 | ;; |
|
|
931 | esac |
|
|
932 | fi |
2005 | fi |
933 | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
|
|
934 | fi |
2006 | fi |
|
|
2007 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
2008 | echo "${ECHO_T}yes" >&6 |
935 | |
2009 | |
936 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2010 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
937 | echo "configure:938: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2011 | ac_clean_files=$ac_clean_files_save |
|
|
2012 | # Check the compiler produces executables we can run. If not, either |
|
|
2013 | # the compiler is broken, or we cross compile. |
|
|
2014 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
|
|
2015 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
|
|
2016 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
|
|
2017 | echo "${ECHO_T}$cross_compiling" >&6 |
938 | |
2018 | |
939 | ac_ext=c |
2019 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
940 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
2020 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
941 | ac_cpp='$CPP $CPPFLAGS' |
2021 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
942 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
2022 | (eval $ac_link) 2>&5 |
943 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
2023 | ac_status=$? |
944 | cross_compiling=$ac_cv_prog_cc_cross |
2024 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2025 | (exit $ac_status); }; then |
|
|
2026 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
|
|
2027 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
|
|
2028 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
|
|
2029 | # `rm'. |
|
|
2030 | for ac_file in conftest.exe conftest conftest.*; do |
|
|
2031 | test -f "$ac_file" || continue |
|
|
2032 | case $ac_file in |
|
|
2033 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
|
|
2034 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
|
2035 | export ac_cv_exeext |
|
|
2036 | break;; |
|
|
2037 | * ) break;; |
|
|
2038 | esac |
|
|
2039 | done |
|
|
2040 | else |
|
|
2041 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
|
|
2042 | See \`config.log' for more details." >&5 |
|
|
2043 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
|
|
2044 | See \`config.log' for more details." >&2;} |
|
|
2045 | { (exit 1); exit 1; }; } |
|
|
2046 | fi |
945 | |
2047 | |
|
|
2048 | rm -f conftest$ac_cv_exeext |
|
|
2049 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
|
|
2050 | echo "${ECHO_T}$ac_cv_exeext" >&6 |
|
|
2051 | |
|
|
2052 | rm -f conftest.$ac_ext |
|
|
2053 | EXEEXT=$ac_cv_exeext |
|
|
2054 | ac_exeext=$EXEEXT |
|
|
2055 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
|
|
2056 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
|
|
2057 | if test "${ac_cv_objext+set}" = set; then |
|
|
2058 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
2059 | else |
|
|
2060 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2061 | /* confdefs.h. */ |
|
|
2062 | _ACEOF |
|
|
2063 | cat confdefs.h >>conftest.$ac_ext |
946 | cat > conftest.$ac_ext << EOF |
2064 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2065 | /* end confdefs.h. */ |
947 | |
2066 | |
948 | #line 949 "configure" |
2067 | int |
949 | #include "confdefs.h" |
2068 | main () |
|
|
2069 | { |
950 | |
2070 | |
951 | main(){return(0);} |
2071 | ; |
952 | EOF |
2072 | return 0; |
953 | if { (eval echo configure:954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2073 | } |
954 | ac_cv_prog_cc_works=yes |
2074 | _ACEOF |
955 | # If we can't run a trivial program, we are probably using a cross compiler. |
2075 | rm -f conftest.o conftest.obj |
956 | if (./conftest; exit) 2>/dev/null; then |
2076 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
957 | ac_cv_prog_cc_cross=no |
2077 | (eval $ac_compile) 2>&5 |
|
|
2078 | ac_status=$? |
|
|
2079 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2080 | (exit $ac_status); }; then |
|
|
2081 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
|
|
2082 | case $ac_file in |
|
|
2083 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
|
|
2084 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
|
|
2085 | break;; |
|
|
2086 | esac |
|
|
2087 | done |
958 | else |
2088 | else |
959 | ac_cv_prog_cc_cross=yes |
|
|
960 | fi |
|
|
961 | else |
|
|
962 | echo "configure: failed program was:" >&5 |
2089 | echo "$as_me: failed program was:" >&5 |
963 | cat conftest.$ac_ext >&5 |
2090 | sed 's/^/| /' conftest.$ac_ext >&5 |
964 | ac_cv_prog_cc_works=no |
|
|
965 | fi |
|
|
966 | rm -fr conftest* |
|
|
967 | ac_ext=c |
|
|
968 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
969 | ac_cpp='$CPP $CPPFLAGS' |
|
|
970 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
|
971 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
|
972 | cross_compiling=$ac_cv_prog_cc_cross |
|
|
973 | |
2091 | |
974 | echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2092 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
975 | if test $ac_cv_prog_cc_works = no; then |
2093 | See \`config.log' for more details." >&5 |
976 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2094 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
|
|
2095 | See \`config.log' for more details." >&2;} |
|
|
2096 | { (exit 1); exit 1; }; } |
977 | fi |
2097 | fi |
978 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
|
|
979 | echo "configure:980: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|
|
980 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
|
|
981 | cross_compiling=$ac_cv_prog_cc_cross |
|
|
982 | |
2098 | |
|
|
2099 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
|
2100 | fi |
|
|
2101 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
|
|
2102 | echo "${ECHO_T}$ac_cv_objext" >&6 |
|
|
2103 | OBJEXT=$ac_cv_objext |
|
|
2104 | ac_objext=$OBJEXT |
|
|
2105 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
983 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2106 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
984 | echo "configure:985: checking whether we are using GNU C" >&5 |
2107 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
985 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
|
|
986 | echo $ac_n "(cached) $ac_c" 1>&6 |
2108 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
987 | else |
2109 | else |
988 | cat > conftest.c <<EOF |
2110 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2111 | /* confdefs.h. */ |
|
|
2112 | _ACEOF |
|
|
2113 | cat confdefs.h >>conftest.$ac_ext |
|
|
2114 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2115 | /* end confdefs.h. */ |
|
|
2116 | |
|
|
2117 | int |
|
|
2118 | main () |
|
|
2119 | { |
989 | #ifdef __GNUC__ |
2120 | #ifndef __GNUC__ |
990 | yes; |
2121 | choke me |
991 | #endif |
2122 | #endif |
992 | EOF |
|
|
993 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|
|
994 | ac_cv_prog_gcc=yes |
|
|
995 | else |
|
|
996 | ac_cv_prog_gcc=no |
|
|
997 | fi |
|
|
998 | fi |
|
|
999 | |
2123 | |
1000 | echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
2124 | ; |
1001 | |
2125 | return 0; |
1002 | if test $ac_cv_prog_gcc = yes; then |
2126 | } |
1003 | GCC=yes |
2127 | _ACEOF |
|
|
2128 | rm -f conftest.$ac_objext |
|
|
2129 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
2130 | (eval $ac_compile) 2>conftest.er1 |
|
|
2131 | ac_status=$? |
|
|
2132 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2133 | rm -f conftest.er1 |
|
|
2134 | cat conftest.err >&5 |
|
|
2135 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2136 | (exit $ac_status); } && |
|
|
2137 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
2138 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2139 | (eval $ac_try) 2>&5 |
|
|
2140 | ac_status=$? |
|
|
2141 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2142 | (exit $ac_status); }; } && |
|
|
2143 | { ac_try='test -s conftest.$ac_objext' |
|
|
2144 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2145 | (eval $ac_try) 2>&5 |
|
|
2146 | ac_status=$? |
|
|
2147 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2148 | (exit $ac_status); }; }; then |
|
|
2149 | ac_compiler_gnu=yes |
1004 | else |
2150 | else |
1005 | GCC= |
2151 | echo "$as_me: failed program was:" >&5 |
1006 | fi |
2152 | sed 's/^/| /' conftest.$ac_ext >&5 |
1007 | |
2153 | |
|
|
2154 | ac_compiler_gnu=no |
|
|
2155 | fi |
|
|
2156 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
2157 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
|
2158 | |
|
|
2159 | fi |
|
|
2160 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
|
|
2161 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
|
|
2162 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
1008 | ac_test_CFLAGS="${CFLAGS+set}" |
2163 | ac_test_CFLAGS=${CFLAGS+set} |
1009 | ac_save_CFLAGS="$CFLAGS" |
2164 | ac_save_CFLAGS=$CFLAGS |
1010 | CFLAGS= |
2165 | CFLAGS="-g" |
|
|
2166 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
1011 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2167 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
1012 | echo "configure:1013: checking whether ${CC-cc} accepts -g" >&5 |
|
|
1013 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
2168 | if test "${ac_cv_prog_cc_g+set}" = set; then |
1014 | echo $ac_n "(cached) $ac_c" 1>&6 |
2169 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1015 | else |
2170 | else |
1016 | echo 'void f(){}' > conftest.c |
2171 | cat >conftest.$ac_ext <<_ACEOF |
1017 | if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2172 | /* confdefs.h. */ |
|
|
2173 | _ACEOF |
|
|
2174 | cat confdefs.h >>conftest.$ac_ext |
|
|
2175 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2176 | /* end confdefs.h. */ |
|
|
2177 | |
|
|
2178 | int |
|
|
2179 | main () |
|
|
2180 | { |
|
|
2181 | |
|
|
2182 | ; |
|
|
2183 | return 0; |
|
|
2184 | } |
|
|
2185 | _ACEOF |
|
|
2186 | rm -f conftest.$ac_objext |
|
|
2187 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
2188 | (eval $ac_compile) 2>conftest.er1 |
|
|
2189 | ac_status=$? |
|
|
2190 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2191 | rm -f conftest.er1 |
|
|
2192 | cat conftest.err >&5 |
|
|
2193 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2194 | (exit $ac_status); } && |
|
|
2195 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
2196 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2197 | (eval $ac_try) 2>&5 |
|
|
2198 | ac_status=$? |
|
|
2199 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2200 | (exit $ac_status); }; } && |
|
|
2201 | { ac_try='test -s conftest.$ac_objext' |
|
|
2202 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2203 | (eval $ac_try) 2>&5 |
|
|
2204 | ac_status=$? |
|
|
2205 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2206 | (exit $ac_status); }; }; then |
1018 | ac_cv_prog_cc_g=yes |
2207 | ac_cv_prog_cc_g=yes |
1019 | else |
2208 | else |
|
|
2209 | echo "$as_me: failed program was:" >&5 |
|
|
2210 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2211 | |
1020 | ac_cv_prog_cc_g=no |
2212 | ac_cv_prog_cc_g=no |
1021 | fi |
2213 | fi |
1022 | rm -f conftest* |
2214 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
1023 | |
|
|
1024 | fi |
2215 | fi |
1025 | |
2216 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
1026 | echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
2217 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
1027 | if test "$ac_test_CFLAGS" = set; then |
2218 | if test "$ac_test_CFLAGS" = set; then |
1028 | CFLAGS="$ac_save_CFLAGS" |
2219 | CFLAGS=$ac_save_CFLAGS |
1029 | elif test $ac_cv_prog_cc_g = yes; then |
2220 | elif test $ac_cv_prog_cc_g = yes; then |
1030 | if test "$GCC" = yes; then |
2221 | if test "$GCC" = yes; then |
1031 | CFLAGS="-g -O2" |
2222 | CFLAGS="-g -O2" |
1032 | else |
2223 | else |
1033 | CFLAGS="-g" |
2224 | CFLAGS="-g" |
… | |
… | |
1037 | CFLAGS="-O2" |
2228 | CFLAGS="-O2" |
1038 | else |
2229 | else |
1039 | CFLAGS= |
2230 | CFLAGS= |
1040 | fi |
2231 | fi |
1041 | fi |
2232 | fi |
|
|
2233 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
|
|
2234 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
|
|
2235 | if test "${ac_cv_prog_cc_stdc+set}" = set; then |
|
|
2236 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
2237 | else |
|
|
2238 | ac_cv_prog_cc_stdc=no |
|
|
2239 | ac_save_CC=$CC |
|
|
2240 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2241 | /* confdefs.h. */ |
|
|
2242 | _ACEOF |
|
|
2243 | cat confdefs.h >>conftest.$ac_ext |
|
|
2244 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2245 | /* end confdefs.h. */ |
|
|
2246 | #include <stdarg.h> |
|
|
2247 | #include <stdio.h> |
|
|
2248 | #include <sys/types.h> |
|
|
2249 | #include <sys/stat.h> |
|
|
2250 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
|
2251 | struct buf { int x; }; |
|
|
2252 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
|
2253 | static char *e (p, i) |
|
|
2254 | char **p; |
|
|
2255 | int i; |
|
|
2256 | { |
|
|
2257 | return p[i]; |
|
|
2258 | } |
|
|
2259 | static char *f (char * (*g) (char **, int), char **p, ...) |
|
|
2260 | { |
|
|
2261 | char *s; |
|
|
2262 | va_list v; |
|
|
2263 | va_start (v,p); |
|
|
2264 | s = g (p, va_arg (v,int)); |
|
|
2265 | va_end (v); |
|
|
2266 | return s; |
|
|
2267 | } |
1042 | |
2268 | |
1043 | for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl |
2269 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
|
2270 | function prototypes and stuff, but not '\xHH' hex character constants. |
|
|
2271 | These don't provoke an error unfortunately, instead are silently treated |
|
|
2272 | as 'x'. The following induces an error, until -std1 is added to get |
|
|
2273 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
|
2274 | array size at least. It's necessary to write '\x00'==0 to get something |
|
|
2275 | that's true only with -std1. */ |
|
|
2276 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
2277 | |
|
|
2278 | int test (int i, double x); |
|
|
2279 | struct s1 {int (*f) (int a);}; |
|
|
2280 | struct s2 {int (*f) (double a);}; |
|
|
2281 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
|
2282 | int argc; |
|
|
2283 | char **argv; |
|
|
2284 | int |
|
|
2285 | main () |
|
|
2286 | { |
|
|
2287 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
|
2288 | ; |
|
|
2289 | return 0; |
|
|
2290 | } |
|
|
2291 | _ACEOF |
|
|
2292 | # Don't try gcc -ansi; that turns off useful extensions and |
|
|
2293 | # breaks some systems' header files. |
|
|
2294 | # AIX -qlanglvl=ansi |
|
|
2295 | # Ultrix and OSF/1 -std1 |
|
|
2296 | # HP-UX 10.20 and later -Ae |
|
|
2297 | # HP-UX older versions -Aa -D_HPUX_SOURCE |
|
|
2298 | # SVR4 -Xc -D__EXTENSIONS__ |
|
|
2299 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
1044 | do |
2300 | do |
|
|
2301 | CC="$ac_save_CC $ac_arg" |
|
|
2302 | rm -f conftest.$ac_objext |
|
|
2303 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
2304 | (eval $ac_compile) 2>conftest.er1 |
|
|
2305 | ac_status=$? |
|
|
2306 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2307 | rm -f conftest.er1 |
|
|
2308 | cat conftest.err >&5 |
|
|
2309 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2310 | (exit $ac_status); } && |
|
|
2311 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
2312 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2313 | (eval $ac_try) 2>&5 |
|
|
2314 | ac_status=$? |
|
|
2315 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2316 | (exit $ac_status); }; } && |
|
|
2317 | { ac_try='test -s conftest.$ac_objext' |
|
|
2318 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2319 | (eval $ac_try) 2>&5 |
|
|
2320 | ac_status=$? |
|
|
2321 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2322 | (exit $ac_status); }; }; then |
|
|
2323 | ac_cv_prog_cc_stdc=$ac_arg |
|
|
2324 | break |
|
|
2325 | else |
|
|
2326 | echo "$as_me: failed program was:" >&5 |
|
|
2327 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2328 | |
|
|
2329 | fi |
|
|
2330 | rm -f conftest.err conftest.$ac_objext |
|
|
2331 | done |
|
|
2332 | rm -f conftest.$ac_ext conftest.$ac_objext |
|
|
2333 | CC=$ac_save_CC |
|
|
2334 | |
|
|
2335 | fi |
|
|
2336 | |
|
|
2337 | case "x$ac_cv_prog_cc_stdc" in |
|
|
2338 | x|xno) |
|
|
2339 | echo "$as_me:$LINENO: result: none needed" >&5 |
|
|
2340 | echo "${ECHO_T}none needed" >&6 ;; |
|
|
2341 | *) |
|
|
2342 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
|
|
2343 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
|
|
2344 | CC="$CC $ac_cv_prog_cc_stdc" ;; |
|
|
2345 | esac |
|
|
2346 | |
|
|
2347 | # Some people use a C++ compiler to compile C. Since we use `exit', |
|
|
2348 | # in C++ we need to declare it. In case someone uses the same compiler |
|
|
2349 | # for both compiling C and C++ we need to have the C++ compiler decide |
|
|
2350 | # the declaration of exit, since it's the most demanding environment. |
|
|
2351 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2352 | #ifndef __cplusplus |
|
|
2353 | choke me |
|
|
2354 | #endif |
|
|
2355 | _ACEOF |
|
|
2356 | rm -f conftest.$ac_objext |
|
|
2357 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
2358 | (eval $ac_compile) 2>conftest.er1 |
|
|
2359 | ac_status=$? |
|
|
2360 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2361 | rm -f conftest.er1 |
|
|
2362 | cat conftest.err >&5 |
|
|
2363 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2364 | (exit $ac_status); } && |
|
|
2365 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
2366 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2367 | (eval $ac_try) 2>&5 |
|
|
2368 | ac_status=$? |
|
|
2369 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2370 | (exit $ac_status); }; } && |
|
|
2371 | { ac_try='test -s conftest.$ac_objext' |
|
|
2372 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2373 | (eval $ac_try) 2>&5 |
|
|
2374 | ac_status=$? |
|
|
2375 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2376 | (exit $ac_status); }; }; then |
|
|
2377 | for ac_declaration in \ |
|
|
2378 | '' \ |
|
|
2379 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
|
|
2380 | 'extern "C" void std::exit (int); using std::exit;' \ |
|
|
2381 | 'extern "C" void exit (int) throw ();' \ |
|
|
2382 | 'extern "C" void exit (int);' \ |
|
|
2383 | 'void exit (int);' |
|
|
2384 | do |
|
|
2385 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2386 | /* confdefs.h. */ |
|
|
2387 | _ACEOF |
|
|
2388 | cat confdefs.h >>conftest.$ac_ext |
|
|
2389 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2390 | /* end confdefs.h. */ |
|
|
2391 | $ac_declaration |
|
|
2392 | #include <stdlib.h> |
|
|
2393 | int |
|
|
2394 | main () |
|
|
2395 | { |
|
|
2396 | exit (42); |
|
|
2397 | ; |
|
|
2398 | return 0; |
|
|
2399 | } |
|
|
2400 | _ACEOF |
|
|
2401 | rm -f conftest.$ac_objext |
|
|
2402 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
2403 | (eval $ac_compile) 2>conftest.er1 |
|
|
2404 | ac_status=$? |
|
|
2405 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2406 | rm -f conftest.er1 |
|
|
2407 | cat conftest.err >&5 |
|
|
2408 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2409 | (exit $ac_status); } && |
|
|
2410 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
2411 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2412 | (eval $ac_try) 2>&5 |
|
|
2413 | ac_status=$? |
|
|
2414 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2415 | (exit $ac_status); }; } && |
|
|
2416 | { ac_try='test -s conftest.$ac_objext' |
|
|
2417 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2418 | (eval $ac_try) 2>&5 |
|
|
2419 | ac_status=$? |
|
|
2420 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2421 | (exit $ac_status); }; }; then |
|
|
2422 | : |
|
|
2423 | else |
|
|
2424 | echo "$as_me: failed program was:" >&5 |
|
|
2425 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2426 | |
|
|
2427 | continue |
|
|
2428 | fi |
|
|
2429 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
2430 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2431 | /* confdefs.h. */ |
|
|
2432 | _ACEOF |
|
|
2433 | cat confdefs.h >>conftest.$ac_ext |
|
|
2434 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2435 | /* end confdefs.h. */ |
|
|
2436 | $ac_declaration |
|
|
2437 | int |
|
|
2438 | main () |
|
|
2439 | { |
|
|
2440 | exit (42); |
|
|
2441 | ; |
|
|
2442 | return 0; |
|
|
2443 | } |
|
|
2444 | _ACEOF |
|
|
2445 | rm -f conftest.$ac_objext |
|
|
2446 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
2447 | (eval $ac_compile) 2>conftest.er1 |
|
|
2448 | ac_status=$? |
|
|
2449 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2450 | rm -f conftest.er1 |
|
|
2451 | cat conftest.err >&5 |
|
|
2452 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2453 | (exit $ac_status); } && |
|
|
2454 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
2455 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2456 | (eval $ac_try) 2>&5 |
|
|
2457 | ac_status=$? |
|
|
2458 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2459 | (exit $ac_status); }; } && |
|
|
2460 | { ac_try='test -s conftest.$ac_objext' |
|
|
2461 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2462 | (eval $ac_try) 2>&5 |
|
|
2463 | ac_status=$? |
|
|
2464 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2465 | (exit $ac_status); }; }; then |
|
|
2466 | break |
|
|
2467 | else |
|
|
2468 | echo "$as_me: failed program was:" >&5 |
|
|
2469 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2470 | |
|
|
2471 | fi |
|
|
2472 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
2473 | done |
|
|
2474 | rm -f conftest* |
|
|
2475 | if test -n "$ac_declaration"; then |
|
|
2476 | echo '#ifdef __cplusplus' >>confdefs.h |
|
|
2477 | echo $ac_declaration >>confdefs.h |
|
|
2478 | echo '#endif' >>confdefs.h |
|
|
2479 | fi |
|
|
2480 | |
|
|
2481 | else |
|
|
2482 | echo "$as_me: failed program was:" >&5 |
|
|
2483 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2484 | |
|
|
2485 | fi |
|
|
2486 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
2487 | ac_ext=c |
|
|
2488 | ac_cpp='$CPP $CPPFLAGS' |
|
|
2489 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
2490 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
2491 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
2492 | |
|
|
2493 | ac_ext=cc |
|
|
2494 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
2495 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
2496 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
2497 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
2498 | if test -n "$ac_tool_prefix"; then |
|
|
2499 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
|
|
2500 | do |
1045 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2501 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1046 | set dummy $ac_prog; ac_word=$2 |
2502 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
|
2503 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1047 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2504 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1048 | echo "configure:1049: checking for $ac_word" >&5 |
|
|
1049 | if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then |
2505 | if test "${ac_cv_prog_CXX+set}" = set; then |
1050 | echo $ac_n "(cached) $ac_c" 1>&6 |
2506 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1051 | else |
2507 | else |
1052 | if test -n "$CXX"; then |
2508 | if test -n "$CXX"; then |
1053 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
2509 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
1054 | else |
2510 | else |
1055 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2511 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1056 | ac_dummy="$PATH" |
2512 | for as_dir in $PATH |
1057 | for ac_dir in $ac_dummy; do |
2513 | do |
|
|
2514 | IFS=$as_save_IFS |
1058 | test -z "$ac_dir" && ac_dir=. |
2515 | test -z "$as_dir" && as_dir=. |
1059 | if test -f $ac_dir/$ac_word; then |
2516 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2517 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1060 | ac_cv_prog_CXX="$ac_prog" |
2518 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
|
|
2519 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1061 | break |
2520 | break 2 |
1062 | fi |
2521 | fi |
|
|
2522 | done |
|
|
2523 | done |
|
|
2524 | |
|
|
2525 | fi |
|
|
2526 | fi |
|
|
2527 | CXX=$ac_cv_prog_CXX |
|
|
2528 | if test -n "$CXX"; then |
|
|
2529 | echo "$as_me:$LINENO: result: $CXX" >&5 |
|
|
2530 | echo "${ECHO_T}$CXX" >&6 |
|
|
2531 | else |
|
|
2532 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
2533 | echo "${ECHO_T}no" >&6 |
|
|
2534 | fi |
|
|
2535 | |
|
|
2536 | test -n "$CXX" && break |
1063 | done |
2537 | done |
1064 | IFS="$ac_save_ifs" |
|
|
1065 | fi |
2538 | fi |
1066 | fi |
|
|
1067 | CXX="$ac_cv_prog_CXX" |
|
|
1068 | if test -n "$CXX"; then |
2539 | if test -z "$CXX"; then |
1069 | echo "$ac_t""$CXX" 1>&6 |
2540 | ac_ct_CXX=$CXX |
|
|
2541 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
|
|
2542 | do |
|
|
2543 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
2544 | set dummy $ac_prog; ac_word=$2 |
|
|
2545 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
2546 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
2547 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
|
|
2548 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1070 | else |
2549 | else |
1071 | echo "$ac_t""no" 1>&6 |
2550 | if test -n "$ac_ct_CXX"; then |
1072 | fi |
2551 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
1073 | |
2552 | else |
1074 | test -n "$CXX" && break |
2553 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2554 | for as_dir in $PATH |
|
|
2555 | do |
|
|
2556 | IFS=$as_save_IFS |
|
|
2557 | test -z "$as_dir" && as_dir=. |
|
|
2558 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2559 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
2560 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
|
|
2561 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
2562 | break 2 |
|
|
2563 | fi |
1075 | done |
2564 | done |
|
|
2565 | done |
|
|
2566 | |
|
|
2567 | fi |
|
|
2568 | fi |
|
|
2569 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
|
|
2570 | if test -n "$ac_ct_CXX"; then |
|
|
2571 | echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
|
|
2572 | echo "${ECHO_T}$ac_ct_CXX" >&6 |
|
|
2573 | else |
|
|
2574 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
2575 | echo "${ECHO_T}no" >&6 |
|
|
2576 | fi |
|
|
2577 | |
|
|
2578 | test -n "$ac_ct_CXX" && break |
|
|
2579 | done |
1076 | test -n "$CXX" || CXX="gcc" |
2580 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" |
1077 | |
2581 | |
|
|
2582 | CXX=$ac_ct_CXX |
|
|
2583 | fi |
1078 | |
2584 | |
1079 | echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
|
|
1080 | echo "configure:1081: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 |
|
|
1081 | |
2585 | |
1082 | ac_ext=C |
2586 | # Provide some information about the compiler. |
1083 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
2587 | echo "$as_me:$LINENO:" \ |
1084 | ac_cpp='$CXXCPP $CPPFLAGS' |
2588 | "checking for C++ compiler version" >&5 |
1085 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
2589 | ac_compiler=`set X $ac_compile; echo $2` |
1086 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
2590 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
1087 | cross_compiling=$ac_cv_prog_cxx_cross |
2591 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
|
|
2592 | ac_status=$? |
|
|
2593 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2594 | (exit $ac_status); } |
|
|
2595 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
|
|
2596 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
|
|
2597 | ac_status=$? |
|
|
2598 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2599 | (exit $ac_status); } |
|
|
2600 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
|
|
2601 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
|
|
2602 | ac_status=$? |
|
|
2603 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2604 | (exit $ac_status); } |
1088 | |
2605 | |
|
|
2606 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
|
|
2607 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
|
|
2608 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
|
|
2609 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
2610 | else |
|
|
2611 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2612 | /* confdefs.h. */ |
|
|
2613 | _ACEOF |
|
|
2614 | cat confdefs.h >>conftest.$ac_ext |
1089 | cat > conftest.$ac_ext << EOF |
2615 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2616 | /* end confdefs.h. */ |
1090 | |
2617 | |
1091 | #line 1092 "configure" |
2618 | int |
1092 | #include "confdefs.h" |
2619 | main () |
1093 | |
2620 | { |
1094 | int main(){return(0);} |
|
|
1095 | EOF |
|
|
1096 | if { (eval echo configure:1097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
1097 | ac_cv_prog_cxx_works=yes |
|
|
1098 | # If we can't run a trivial program, we are probably using a cross compiler. |
|
|
1099 | if (./conftest; exit) 2>/dev/null; then |
|
|
1100 | ac_cv_prog_cxx_cross=no |
|
|
1101 | else |
|
|
1102 | ac_cv_prog_cxx_cross=yes |
|
|
1103 | fi |
|
|
1104 | else |
|
|
1105 | echo "configure: failed program was:" >&5 |
|
|
1106 | cat conftest.$ac_ext >&5 |
|
|
1107 | ac_cv_prog_cxx_works=no |
|
|
1108 | fi |
|
|
1109 | rm -fr conftest* |
|
|
1110 | ac_ext=c |
|
|
1111 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
1112 | ac_cpp='$CPP $CPPFLAGS' |
|
|
1113 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
|
1114 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
|
1115 | cross_compiling=$ac_cv_prog_cc_cross |
|
|
1116 | |
|
|
1117 | echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 |
|
|
1118 | if test $ac_cv_prog_cxx_works = no; then |
|
|
1119 | { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } |
|
|
1120 | fi |
|
|
1121 | echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
|
|
1122 | echo "configure:1123: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|
|
1123 | echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 |
|
|
1124 | cross_compiling=$ac_cv_prog_cxx_cross |
|
|
1125 | |
|
|
1126 | echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 |
|
|
1127 | echo "configure:1128: checking whether we are using GNU C++" >&5 |
|
|
1128 | if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then |
|
|
1129 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
1130 | else |
|
|
1131 | cat > conftest.C <<EOF |
|
|
1132 | #ifdef __GNUC__ |
2621 | #ifndef __GNUC__ |
1133 | yes; |
2622 | choke me |
1134 | #endif |
2623 | #endif |
1135 | EOF |
|
|
1136 | if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|
|
1137 | ac_cv_prog_gxx=yes |
|
|
1138 | else |
|
|
1139 | ac_cv_prog_gxx=no |
|
|
1140 | fi |
|
|
1141 | fi |
|
|
1142 | |
2624 | |
1143 | echo "$ac_t""$ac_cv_prog_gxx" 1>&6 |
2625 | ; |
1144 | |
2626 | return 0; |
1145 | if test $ac_cv_prog_gxx = yes; then |
2627 | } |
1146 | GXX=yes |
2628 | _ACEOF |
|
|
2629 | rm -f conftest.$ac_objext |
|
|
2630 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
2631 | (eval $ac_compile) 2>conftest.er1 |
|
|
2632 | ac_status=$? |
|
|
2633 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2634 | rm -f conftest.er1 |
|
|
2635 | cat conftest.err >&5 |
|
|
2636 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2637 | (exit $ac_status); } && |
|
|
2638 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
2639 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2640 | (eval $ac_try) 2>&5 |
|
|
2641 | ac_status=$? |
|
|
2642 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2643 | (exit $ac_status); }; } && |
|
|
2644 | { ac_try='test -s conftest.$ac_objext' |
|
|
2645 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2646 | (eval $ac_try) 2>&5 |
|
|
2647 | ac_status=$? |
|
|
2648 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2649 | (exit $ac_status); }; }; then |
|
|
2650 | ac_compiler_gnu=yes |
1147 | else |
2651 | else |
1148 | GXX= |
2652 | echo "$as_me: failed program was:" >&5 |
1149 | fi |
2653 | sed 's/^/| /' conftest.$ac_ext >&5 |
1150 | |
2654 | |
|
|
2655 | ac_compiler_gnu=no |
|
|
2656 | fi |
|
|
2657 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
2658 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
|
|
2659 | |
|
|
2660 | fi |
|
|
2661 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
|
|
2662 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
|
|
2663 | GXX=`test $ac_compiler_gnu = yes && echo yes` |
1151 | ac_test_CXXFLAGS="${CXXFLAGS+set}" |
2664 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
1152 | ac_save_CXXFLAGS="$CXXFLAGS" |
2665 | ac_save_CXXFLAGS=$CXXFLAGS |
1153 | CXXFLAGS= |
2666 | CXXFLAGS="-g" |
|
|
2667 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
1154 | echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 |
2668 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
1155 | echo "configure:1156: checking whether ${CXX-g++} accepts -g" >&5 |
|
|
1156 | if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then |
2669 | if test "${ac_cv_prog_cxx_g+set}" = set; then |
1157 | echo $ac_n "(cached) $ac_c" 1>&6 |
2670 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1158 | else |
2671 | else |
1159 | echo 'void f(){}' > conftest.cc |
2672 | cat >conftest.$ac_ext <<_ACEOF |
1160 | if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then |
2673 | /* confdefs.h. */ |
|
|
2674 | _ACEOF |
|
|
2675 | cat confdefs.h >>conftest.$ac_ext |
|
|
2676 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2677 | /* end confdefs.h. */ |
|
|
2678 | |
|
|
2679 | int |
|
|
2680 | main () |
|
|
2681 | { |
|
|
2682 | |
|
|
2683 | ; |
|
|
2684 | return 0; |
|
|
2685 | } |
|
|
2686 | _ACEOF |
|
|
2687 | rm -f conftest.$ac_objext |
|
|
2688 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
2689 | (eval $ac_compile) 2>conftest.er1 |
|
|
2690 | ac_status=$? |
|
|
2691 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2692 | rm -f conftest.er1 |
|
|
2693 | cat conftest.err >&5 |
|
|
2694 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2695 | (exit $ac_status); } && |
|
|
2696 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
2697 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2698 | (eval $ac_try) 2>&5 |
|
|
2699 | ac_status=$? |
|
|
2700 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2701 | (exit $ac_status); }; } && |
|
|
2702 | { ac_try='test -s conftest.$ac_objext' |
|
|
2703 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2704 | (eval $ac_try) 2>&5 |
|
|
2705 | ac_status=$? |
|
|
2706 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2707 | (exit $ac_status); }; }; then |
1161 | ac_cv_prog_cxx_g=yes |
2708 | ac_cv_prog_cxx_g=yes |
1162 | else |
2709 | else |
|
|
2710 | echo "$as_me: failed program was:" >&5 |
|
|
2711 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2712 | |
1163 | ac_cv_prog_cxx_g=no |
2713 | ac_cv_prog_cxx_g=no |
1164 | fi |
2714 | fi |
1165 | rm -f conftest* |
2715 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
1166 | |
|
|
1167 | fi |
2716 | fi |
1168 | |
2717 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
1169 | echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 |
2718 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
1170 | if test "$ac_test_CXXFLAGS" = set; then |
2719 | if test "$ac_test_CXXFLAGS" = set; then |
1171 | CXXFLAGS="$ac_save_CXXFLAGS" |
2720 | CXXFLAGS=$ac_save_CXXFLAGS |
1172 | elif test $ac_cv_prog_cxx_g = yes; then |
2721 | elif test $ac_cv_prog_cxx_g = yes; then |
1173 | if test "$GXX" = yes; then |
2722 | if test "$GXX" = yes; then |
1174 | CXXFLAGS="-g -O2" |
2723 | CXXFLAGS="-g -O2" |
1175 | else |
2724 | else |
1176 | CXXFLAGS="-g" |
2725 | CXXFLAGS="-g" |
… | |
… | |
1180 | CXXFLAGS="-O2" |
2729 | CXXFLAGS="-O2" |
1181 | else |
2730 | else |
1182 | CXXFLAGS= |
2731 | CXXFLAGS= |
1183 | fi |
2732 | fi |
1184 | fi |
2733 | fi |
|
|
2734 | for ac_declaration in \ |
|
|
2735 | '' \ |
|
|
2736 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
|
|
2737 | 'extern "C" void std::exit (int); using std::exit;' \ |
|
|
2738 | 'extern "C" void exit (int) throw ();' \ |
|
|
2739 | 'extern "C" void exit (int);' \ |
|
|
2740 | 'void exit (int);' |
|
|
2741 | do |
|
|
2742 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2743 | /* confdefs.h. */ |
|
|
2744 | _ACEOF |
|
|
2745 | cat confdefs.h >>conftest.$ac_ext |
|
|
2746 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2747 | /* end confdefs.h. */ |
|
|
2748 | $ac_declaration |
|
|
2749 | #include <stdlib.h> |
|
|
2750 | int |
|
|
2751 | main () |
|
|
2752 | { |
|
|
2753 | exit (42); |
|
|
2754 | ; |
|
|
2755 | return 0; |
|
|
2756 | } |
|
|
2757 | _ACEOF |
|
|
2758 | rm -f conftest.$ac_objext |
|
|
2759 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
2760 | (eval $ac_compile) 2>conftest.er1 |
|
|
2761 | ac_status=$? |
|
|
2762 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2763 | rm -f conftest.er1 |
|
|
2764 | cat conftest.err >&5 |
|
|
2765 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2766 | (exit $ac_status); } && |
|
|
2767 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
2768 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2769 | (eval $ac_try) 2>&5 |
|
|
2770 | ac_status=$? |
|
|
2771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2772 | (exit $ac_status); }; } && |
|
|
2773 | { ac_try='test -s conftest.$ac_objext' |
|
|
2774 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2775 | (eval $ac_try) 2>&5 |
|
|
2776 | ac_status=$? |
|
|
2777 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2778 | (exit $ac_status); }; }; then |
|
|
2779 | : |
|
|
2780 | else |
|
|
2781 | echo "$as_me: failed program was:" >&5 |
|
|
2782 | sed 's/^/| /' conftest.$ac_ext >&5 |
1185 | |
2783 | |
|
|
2784 | continue |
|
|
2785 | fi |
|
|
2786 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
2787 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2788 | /* confdefs.h. */ |
|
|
2789 | _ACEOF |
|
|
2790 | cat confdefs.h >>conftest.$ac_ext |
|
|
2791 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2792 | /* end confdefs.h. */ |
|
|
2793 | $ac_declaration |
|
|
2794 | int |
|
|
2795 | main () |
|
|
2796 | { |
|
|
2797 | exit (42); |
|
|
2798 | ; |
|
|
2799 | return 0; |
|
|
2800 | } |
|
|
2801 | _ACEOF |
|
|
2802 | rm -f conftest.$ac_objext |
|
|
2803 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
2804 | (eval $ac_compile) 2>conftest.er1 |
|
|
2805 | ac_status=$? |
|
|
2806 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2807 | rm -f conftest.er1 |
|
|
2808 | cat conftest.err >&5 |
|
|
2809 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2810 | (exit $ac_status); } && |
|
|
2811 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
2812 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2813 | (eval $ac_try) 2>&5 |
|
|
2814 | ac_status=$? |
|
|
2815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2816 | (exit $ac_status); }; } && |
|
|
2817 | { ac_try='test -s conftest.$ac_objext' |
|
|
2818 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2819 | (eval $ac_try) 2>&5 |
|
|
2820 | ac_status=$? |
|
|
2821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2822 | (exit $ac_status); }; }; then |
|
|
2823 | break |
|
|
2824 | else |
|
|
2825 | echo "$as_me: failed program was:" >&5 |
|
|
2826 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2827 | |
|
|
2828 | fi |
|
|
2829 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
2830 | done |
|
|
2831 | rm -f conftest* |
|
|
2832 | if test -n "$ac_declaration"; then |
|
|
2833 | echo '#ifdef __cplusplus' >>confdefs.h |
|
|
2834 | echo $ac_declaration >>confdefs.h |
|
|
2835 | echo '#endif' >>confdefs.h |
|
|
2836 | fi |
|
|
2837 | |
|
|
2838 | ac_ext=c |
|
|
2839 | ac_cpp='$CPP $CPPFLAGS' |
|
|
2840 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
2841 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
2842 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
2843 | |
|
|
2844 | ac_ext=c |
|
|
2845 | ac_cpp='$CPP $CPPFLAGS' |
|
|
2846 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
2847 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
2848 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
2849 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
1186 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2850 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
1187 | echo "configure:1188: checking how to run the C preprocessor" >&5 |
|
|
1188 | # On Suns, sometimes $CPP names a directory. |
2851 | # On Suns, sometimes $CPP names a directory. |
1189 | if test -n "$CPP" && test -d "$CPP"; then |
2852 | if test -n "$CPP" && test -d "$CPP"; then |
1190 | CPP= |
2853 | CPP= |
1191 | fi |
2854 | fi |
1192 | if test -z "$CPP"; then |
2855 | if test -z "$CPP"; then |
1193 | if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
2856 | if test "${ac_cv_prog_CPP+set}" = set; then |
1194 | echo $ac_n "(cached) $ac_c" 1>&6 |
2857 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1195 | else |
2858 | else |
1196 | # This must be in double quotes, not single quotes, because CPP may get |
2859 | # Double quotes because CPP needs to be expanded |
1197 | # substituted into the Makefile and "${CC-cc}" will confuse make. |
2860 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
1198 | CPP="${CC-cc} -E" |
2861 | do |
|
|
2862 | ac_preproc_ok=false |
|
|
2863 | for ac_c_preproc_warn_flag in '' yes |
|
|
2864 | do |
|
|
2865 | # Use a header file that comes with gcc, so configuring glibc |
|
|
2866 | # with a fresh cross-compiler works. |
|
|
2867 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
2868 | # <limits.h> exists even on freestanding compilers. |
1199 | # On the NeXT, cc -E runs the code through the compiler's parser, |
2869 | # On the NeXT, cc -E runs the code through the compiler's parser, |
1200 | # not just through cpp. |
2870 | # not just through cpp. "Syntax error" is here to catch this case. |
1201 | cat > conftest.$ac_ext <<EOF |
2871 | cat >conftest.$ac_ext <<_ACEOF |
1202 | #line 1203 "configure" |
2872 | /* confdefs.h. */ |
1203 | #include "confdefs.h" |
2873 | _ACEOF |
|
|
2874 | cat confdefs.h >>conftest.$ac_ext |
|
|
2875 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2876 | /* end confdefs.h. */ |
|
|
2877 | #ifdef __STDC__ |
|
|
2878 | # include <limits.h> |
|
|
2879 | #else |
1204 | #include <assert.h> |
2880 | # include <assert.h> |
1205 | Syntax Error |
2881 | #endif |
1206 | EOF |
2882 | Syntax error |
1207 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2883 | _ACEOF |
1208 | { (eval echo configure:1209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2884 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
1209 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2885 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
2886 | ac_status=$? |
|
|
2887 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2888 | rm -f conftest.er1 |
|
|
2889 | cat conftest.err >&5 |
|
|
2890 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2891 | (exit $ac_status); } >/dev/null; then |
|
|
2892 | if test -s conftest.err; then |
|
|
2893 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
2894 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
2895 | else |
|
|
2896 | ac_cpp_err= |
|
|
2897 | fi |
|
|
2898 | else |
|
|
2899 | ac_cpp_err=yes |
|
|
2900 | fi |
1210 | if test -z "$ac_err"; then |
2901 | if test -z "$ac_cpp_err"; then |
1211 | : |
2902 | : |
1212 | else |
2903 | else |
1213 | echo "$ac_err" >&5 |
|
|
1214 | echo "configure: failed program was:" >&5 |
2904 | echo "$as_me: failed program was:" >&5 |
1215 | cat conftest.$ac_ext >&5 |
2905 | sed 's/^/| /' conftest.$ac_ext >&5 |
1216 | rm -rf conftest* |
2906 | |
1217 | CPP="${CC-cc} -E -traditional-cpp" |
2907 | # Broken: fails on valid input. |
|
|
2908 | continue |
|
|
2909 | fi |
|
|
2910 | rm -f conftest.err conftest.$ac_ext |
|
|
2911 | |
|
|
2912 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
2913 | # can be detected and how. |
1218 | cat > conftest.$ac_ext <<EOF |
2914 | cat >conftest.$ac_ext <<_ACEOF |
1219 | #line 1220 "configure" |
2915 | /* confdefs.h. */ |
1220 | #include "confdefs.h" |
2916 | _ACEOF |
|
|
2917 | cat confdefs.h >>conftest.$ac_ext |
|
|
2918 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2919 | /* end confdefs.h. */ |
|
|
2920 | #include <ac_nonexistent.h> |
|
|
2921 | _ACEOF |
|
|
2922 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
2923 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
2924 | ac_status=$? |
|
|
2925 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2926 | rm -f conftest.er1 |
|
|
2927 | cat conftest.err >&5 |
|
|
2928 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2929 | (exit $ac_status); } >/dev/null; then |
|
|
2930 | if test -s conftest.err; then |
|
|
2931 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
2932 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
2933 | else |
|
|
2934 | ac_cpp_err= |
|
|
2935 | fi |
|
|
2936 | else |
|
|
2937 | ac_cpp_err=yes |
|
|
2938 | fi |
|
|
2939 | if test -z "$ac_cpp_err"; then |
|
|
2940 | # Broken: success on invalid input. |
|
|
2941 | continue |
|
|
2942 | else |
|
|
2943 | echo "$as_me: failed program was:" >&5 |
|
|
2944 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2945 | |
|
|
2946 | # Passes both tests. |
|
|
2947 | ac_preproc_ok=: |
|
|
2948 | break |
|
|
2949 | fi |
|
|
2950 | rm -f conftest.err conftest.$ac_ext |
|
|
2951 | |
|
|
2952 | done |
|
|
2953 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
2954 | rm -f conftest.err conftest.$ac_ext |
|
|
2955 | if $ac_preproc_ok; then |
|
|
2956 | break |
|
|
2957 | fi |
|
|
2958 | |
|
|
2959 | done |
|
|
2960 | ac_cv_prog_CPP=$CPP |
|
|
2961 | |
|
|
2962 | fi |
|
|
2963 | CPP=$ac_cv_prog_CPP |
|
|
2964 | else |
|
|
2965 | ac_cv_prog_CPP=$CPP |
|
|
2966 | fi |
|
|
2967 | echo "$as_me:$LINENO: result: $CPP" >&5 |
|
|
2968 | echo "${ECHO_T}$CPP" >&6 |
|
|
2969 | ac_preproc_ok=false |
|
|
2970 | for ac_c_preproc_warn_flag in '' yes |
|
|
2971 | do |
|
|
2972 | # Use a header file that comes with gcc, so configuring glibc |
|
|
2973 | # with a fresh cross-compiler works. |
|
|
2974 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
2975 | # <limits.h> exists even on freestanding compilers. |
|
|
2976 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
2977 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
2978 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2979 | /* confdefs.h. */ |
|
|
2980 | _ACEOF |
|
|
2981 | cat confdefs.h >>conftest.$ac_ext |
|
|
2982 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2983 | /* end confdefs.h. */ |
|
|
2984 | #ifdef __STDC__ |
|
|
2985 | # include <limits.h> |
|
|
2986 | #else |
1221 | #include <assert.h> |
2987 | # include <assert.h> |
1222 | Syntax Error |
2988 | #endif |
1223 | EOF |
2989 | Syntax error |
1224 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2990 | _ACEOF |
1225 | { (eval echo configure:1226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2991 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
1226 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2992 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
2993 | ac_status=$? |
|
|
2994 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2995 | rm -f conftest.er1 |
|
|
2996 | cat conftest.err >&5 |
|
|
2997 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2998 | (exit $ac_status); } >/dev/null; then |
|
|
2999 | if test -s conftest.err; then |
|
|
3000 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
3001 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
3002 | else |
|
|
3003 | ac_cpp_err= |
|
|
3004 | fi |
|
|
3005 | else |
|
|
3006 | ac_cpp_err=yes |
|
|
3007 | fi |
1227 | if test -z "$ac_err"; then |
3008 | if test -z "$ac_cpp_err"; then |
1228 | : |
3009 | : |
1229 | else |
3010 | else |
1230 | echo "$ac_err" >&5 |
|
|
1231 | echo "configure: failed program was:" >&5 |
3011 | echo "$as_me: failed program was:" >&5 |
1232 | cat conftest.$ac_ext >&5 |
3012 | sed 's/^/| /' conftest.$ac_ext >&5 |
1233 | rm -rf conftest* |
3013 | |
1234 | CPP="${CC-cc} -nologo -E" |
3014 | # Broken: fails on valid input. |
|
|
3015 | continue |
|
|
3016 | fi |
|
|
3017 | rm -f conftest.err conftest.$ac_ext |
|
|
3018 | |
|
|
3019 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
3020 | # can be detected and how. |
1235 | cat > conftest.$ac_ext <<EOF |
3021 | cat >conftest.$ac_ext <<_ACEOF |
1236 | #line 1237 "configure" |
3022 | /* confdefs.h. */ |
1237 | #include "confdefs.h" |
3023 | _ACEOF |
1238 | #include <assert.h> |
3024 | cat confdefs.h >>conftest.$ac_ext |
1239 | Syntax Error |
3025 | cat >>conftest.$ac_ext <<_ACEOF |
1240 | EOF |
3026 | /* end confdefs.h. */ |
1241 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3027 | #include <ac_nonexistent.h> |
1242 | { (eval echo configure:1243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3028 | _ACEOF |
1243 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3029 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3030 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3031 | ac_status=$? |
|
|
3032 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3033 | rm -f conftest.er1 |
|
|
3034 | cat conftest.err >&5 |
|
|
3035 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3036 | (exit $ac_status); } >/dev/null; then |
|
|
3037 | if test -s conftest.err; then |
|
|
3038 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
3039 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
3040 | else |
|
|
3041 | ac_cpp_err= |
|
|
3042 | fi |
|
|
3043 | else |
|
|
3044 | ac_cpp_err=yes |
|
|
3045 | fi |
1244 | if test -z "$ac_err"; then |
3046 | if test -z "$ac_cpp_err"; then |
|
|
3047 | # Broken: success on invalid input. |
|
|
3048 | continue |
|
|
3049 | else |
|
|
3050 | echo "$as_me: failed program was:" >&5 |
|
|
3051 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3052 | |
|
|
3053 | # Passes both tests. |
|
|
3054 | ac_preproc_ok=: |
|
|
3055 | break |
|
|
3056 | fi |
|
|
3057 | rm -f conftest.err conftest.$ac_ext |
|
|
3058 | |
|
|
3059 | done |
|
|
3060 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3061 | rm -f conftest.err conftest.$ac_ext |
|
|
3062 | if $ac_preproc_ok; then |
1245 | : |
3063 | : |
1246 | else |
3064 | else |
1247 | echo "$ac_err" >&5 |
3065 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
1248 | echo "configure: failed program was:" >&5 |
3066 | See \`config.log' for more details." >&5 |
1249 | cat conftest.$ac_ext >&5 |
3067 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
1250 | rm -rf conftest* |
3068 | See \`config.log' for more details." >&2;} |
1251 | CPP=/lib/cpp |
3069 | { (exit 1); exit 1; }; } |
1252 | fi |
3070 | fi |
1253 | rm -f conftest* |
3071 | |
1254 | fi |
3072 | ac_ext=c |
1255 | rm -f conftest* |
3073 | ac_cpp='$CPP $CPPFLAGS' |
1256 | fi |
3074 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1257 | rm -f conftest* |
3075 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1258 | ac_cv_prog_CPP="$CPP" |
3076 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1259 | fi |
|
|
1260 | CPP="$ac_cv_prog_CPP" |
|
|
1261 | else |
|
|
1262 | ac_cv_prog_CPP="$CPP" |
|
|
1263 | fi |
|
|
1264 | echo "$ac_t""$CPP" 1>&6 |
|
|
1265 | |
3077 | |
1266 | # Find a good install program. We prefer a C program (faster), |
3078 | # Find a good install program. We prefer a C program (faster), |
1267 | # so one script is as good as another. But avoid the broken or |
3079 | # so one script is as good as another. But avoid the broken or |
1268 | # incompatible versions: |
3080 | # incompatible versions: |
1269 | # SysV /etc/install, /usr/sbin/install |
3081 | # SysV /etc/install, /usr/sbin/install |
1270 | # SunOS /usr/etc/install |
3082 | # SunOS /usr/etc/install |
1271 | # IRIX /sbin/install |
3083 | # IRIX /sbin/install |
1272 | # AIX /bin/install |
3084 | # AIX /bin/install |
|
|
3085 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
1273 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3086 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1274 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3087 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1275 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3088 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
|
3089 | # OS/2's system install, which has a completely different semantic |
1276 | # ./install, which can be erroneously created by make from ./install.sh. |
3090 | # ./install, which can be erroneously created by make from ./install.sh. |
|
|
3091 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1277 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3092 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
1278 | echo "configure:1279: checking for a BSD compatible install" >&5 |
|
|
1279 | if test -z "$INSTALL"; then |
3093 | if test -z "$INSTALL"; then |
1280 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
3094 | if test "${ac_cv_path_install+set}" = set; then |
1281 | echo $ac_n "(cached) $ac_c" 1>&6 |
3095 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1282 | else |
3096 | else |
1283 | IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3097 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1284 | for ac_dir in $PATH; do |
3098 | for as_dir in $PATH |
|
|
3099 | do |
|
|
3100 | IFS=$as_save_IFS |
|
|
3101 | test -z "$as_dir" && as_dir=. |
1285 | # Account for people who put trailing slashes in PATH elements. |
3102 | # Account for people who put trailing slashes in PATH elements. |
1286 | case "$ac_dir/" in |
3103 | case $as_dir/ in |
|
|
3104 | ./ | .// | /cC/* | \ |
1287 | /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
3105 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
|
3106 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
|
|
3107 | /usr/ucb/* ) ;; |
1288 | *) |
3108 | *) |
1289 | # OSF1 and SCO ODT 3.0 have their own names for install. |
3109 | # OSF1 and SCO ODT 3.0 have their own names for install. |
1290 | # Don't use installbsd from OSF since it installs stuff as root |
3110 | # Don't use installbsd from OSF since it installs stuff as root |
1291 | # by default. |
3111 | # by default. |
1292 | for ac_prog in ginstall scoinst install; do |
3112 | for ac_prog in ginstall scoinst install; do |
1293 | if test -f $ac_dir/$ac_prog; then |
3113 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3114 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
1294 | if test $ac_prog = install && |
3115 | if test $ac_prog = install && |
1295 | grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
3116 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1296 | # AIX install. It has an incompatible calling convention. |
3117 | # AIX install. It has an incompatible calling convention. |
1297 | : |
3118 | : |
|
|
3119 | elif test $ac_prog = install && |
|
|
3120 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
|
3121 | # program-specific install script used by HP pwplus--don't use. |
|
|
3122 | : |
1298 | else |
3123 | else |
1299 | ac_cv_path_install="$ac_dir/$ac_prog -c" |
3124 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
1300 | break 2 |
3125 | break 3 |
1301 | fi |
3126 | fi |
1302 | fi |
3127 | fi |
1303 | done |
3128 | done |
1304 | ;; |
|
|
1305 | esac |
|
|
1306 | done |
3129 | done |
1307 | IFS="$ac_save_IFS" |
3130 | ;; |
|
|
3131 | esac |
|
|
3132 | done |
|
|
3133 | |
1308 | |
3134 | |
1309 | fi |
3135 | fi |
1310 | if test "${ac_cv_path_install+set}" = set; then |
3136 | if test "${ac_cv_path_install+set}" = set; then |
1311 | INSTALL="$ac_cv_path_install" |
3137 | INSTALL=$ac_cv_path_install |
1312 | else |
3138 | else |
1313 | # As a last resort, use the slow shell script. We don't cache a |
3139 | # As a last resort, use the slow shell script. We don't cache a |
1314 | # path for INSTALL within a source directory, because that will |
3140 | # path for INSTALL within a source directory, because that will |
1315 | # break other packages using the cache if that directory is |
3141 | # break other packages using the cache if that directory is |
1316 | # removed, or if the path is relative. |
3142 | # removed, or if the path is relative. |
1317 | INSTALL="$ac_install_sh" |
3143 | INSTALL=$ac_install_sh |
1318 | fi |
3144 | fi |
1319 | fi |
3145 | fi |
|
|
3146 | echo "$as_me:$LINENO: result: $INSTALL" >&5 |
1320 | echo "$ac_t""$INSTALL" 1>&6 |
3147 | echo "${ECHO_T}$INSTALL" >&6 |
1321 | |
3148 | |
1322 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3149 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
1323 | # It thinks the first close brace ends the variable substitution. |
3150 | # It thinks the first close brace ends the variable substitution. |
1324 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
3151 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
1325 | |
3152 | |
1326 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
3153 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
1327 | |
3154 | |
1328 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3155 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
1329 | |
3156 | |
1330 | for ac_prog in mawk gawk nawk awk |
3157 | for ac_prog in gawk mawk nawk awk |
1331 | do |
3158 | do |
1332 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3159 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
1333 | set dummy $ac_prog; ac_word=$2 |
3160 | set dummy $ac_prog; ac_word=$2 |
|
|
3161 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1334 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3162 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1335 | echo "configure:1336: checking for $ac_word" >&5 |
|
|
1336 | if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
3163 | if test "${ac_cv_prog_AWK+set}" = set; then |
1337 | echo $ac_n "(cached) $ac_c" 1>&6 |
3164 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1338 | else |
3165 | else |
1339 | if test -n "$AWK"; then |
3166 | if test -n "$AWK"; then |
1340 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
3167 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
1341 | else |
3168 | else |
1342 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3169 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1343 | ac_dummy="$PATH" |
3170 | for as_dir in $PATH |
1344 | for ac_dir in $ac_dummy; do |
3171 | do |
|
|
3172 | IFS=$as_save_IFS |
1345 | test -z "$ac_dir" && ac_dir=. |
3173 | test -z "$as_dir" && as_dir=. |
1346 | if test -f $ac_dir/$ac_word; then |
3174 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3175 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1347 | ac_cv_prog_AWK="$ac_prog" |
3176 | ac_cv_prog_AWK="$ac_prog" |
|
|
3177 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1348 | break |
3178 | break 2 |
|
|
3179 | fi |
|
|
3180 | done |
|
|
3181 | done |
|
|
3182 | |
|
|
3183 | fi |
|
|
3184 | fi |
|
|
3185 | AWK=$ac_cv_prog_AWK |
|
|
3186 | if test -n "$AWK"; then |
|
|
3187 | echo "$as_me:$LINENO: result: $AWK" >&5 |
|
|
3188 | echo "${ECHO_T}$AWK" >&6 |
|
|
3189 | else |
|
|
3190 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
3191 | echo "${ECHO_T}no" >&6 |
|
|
3192 | fi |
|
|
3193 | |
|
|
3194 | test -n "$AWK" && break |
|
|
3195 | done |
|
|
3196 | |
|
|
3197 | |
|
|
3198 | |
|
|
3199 | |
|
|
3200 | echo "$as_me:$LINENO: checking for egrep" >&5 |
|
|
3201 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
|
|
3202 | if test "${ac_cv_prog_egrep+set}" = set; then |
|
|
3203 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3204 | else |
|
|
3205 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
|
|
3206 | then ac_cv_prog_egrep='grep -E' |
|
|
3207 | else ac_cv_prog_egrep='egrep' |
1349 | fi |
3208 | fi |
1350 | done |
|
|
1351 | IFS="$ac_save_ifs" |
|
|
1352 | fi |
3209 | fi |
1353 | fi |
3210 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
1354 | AWK="$ac_cv_prog_AWK" |
3211 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
1355 | if test -n "$AWK"; then |
3212 | EGREP=$ac_cv_prog_egrep |
1356 | echo "$ac_t""$AWK" 1>&6 |
|
|
1357 | else |
|
|
1358 | echo "$ac_t""no" 1>&6 |
|
|
1359 | fi |
|
|
1360 | |
3213 | |
1361 | test -n "$AWK" && break |
|
|
1362 | done |
|
|
1363 | |
3214 | |
1364 | |
3215 | |
|
|
3216 | echo "$as_me:$LINENO: checking for AIX" >&5 |
1365 | echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
3217 | echo $ECHO_N "checking for AIX... $ECHO_C" >&6 |
1366 | echo "configure:1367: checking for AIX" >&5 |
|
|
1367 | cat > conftest.$ac_ext <<EOF |
3218 | cat >conftest.$ac_ext <<_ACEOF |
1368 | #line 1369 "configure" |
3219 | /* confdefs.h. */ |
1369 | #include "confdefs.h" |
3220 | _ACEOF |
|
|
3221 | cat confdefs.h >>conftest.$ac_ext |
|
|
3222 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3223 | /* end confdefs.h. */ |
1370 | #ifdef _AIX |
3224 | #ifdef _AIX |
1371 | yes |
3225 | yes |
1372 | #endif |
3226 | #endif |
1373 | |
3227 | |
1374 | EOF |
3228 | _ACEOF |
1375 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3229 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
1376 | egrep "yes" >/dev/null 2>&1; then |
3230 | $EGREP "yes" >/dev/null 2>&1; then |
1377 | rm -rf conftest* |
3231 | echo "$as_me:$LINENO: result: yes" >&5 |
1378 | echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
3232 | echo "${ECHO_T}yes" >&6 |
|
|
3233 | cat >>confdefs.h <<\_ACEOF |
1379 | #define _ALL_SOURCE 1 |
3234 | #define _ALL_SOURCE 1 |
1380 | EOF |
3235 | _ACEOF |
1381 | |
3236 | |
1382 | else |
3237 | else |
1383 | rm -rf conftest* |
3238 | echo "$as_me:$LINENO: result: no" >&5 |
1384 | echo "$ac_t""no" 1>&6 |
3239 | echo "${ECHO_T}no" >&6 |
1385 | fi |
3240 | fi |
1386 | rm -f conftest* |
3241 | rm -f conftest* |
1387 | |
3242 | |
1388 | |
3243 | |
1389 | echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 |
3244 | echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
1390 | echo "configure:1391: checking for POSIXized ISC" >&5 |
3245 | echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 |
1391 | if test -d /etc/conf/kconfig.d && |
3246 | if test "${ac_cv_search_strerror+set}" = set; then |
1392 | grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 |
3247 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1393 | then |
|
|
1394 | echo "$ac_t""yes" 1>&6 |
|
|
1395 | ISC=yes # If later tests want to check for ISC. |
|
|
1396 | cat >> confdefs.h <<\EOF |
|
|
1397 | #define _POSIX_SOURCE 1 |
|
|
1398 | EOF |
|
|
1399 | |
|
|
1400 | if test "$GCC" = yes; then |
|
|
1401 | CC="$CC -posix" |
|
|
1402 | else |
3248 | else |
1403 | CC="$CC -Xp" |
3249 | ac_func_search_save_LIBS=$LIBS |
1404 | fi |
3250 | ac_cv_search_strerror=no |
|
|
3251 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3252 | /* confdefs.h. */ |
|
|
3253 | _ACEOF |
|
|
3254 | cat confdefs.h >>conftest.$ac_ext |
|
|
3255 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3256 | /* end confdefs.h. */ |
|
|
3257 | |
|
|
3258 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3259 | #ifdef __cplusplus |
|
|
3260 | extern "C" |
|
|
3261 | #endif |
|
|
3262 | /* We use char because int might match the return type of a gcc2 |
|
|
3263 | builtin and then its argument prototype would still apply. */ |
|
|
3264 | char strerror (); |
|
|
3265 | int |
|
|
3266 | main () |
|
|
3267 | { |
|
|
3268 | strerror (); |
|
|
3269 | ; |
|
|
3270 | return 0; |
|
|
3271 | } |
|
|
3272 | _ACEOF |
|
|
3273 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3274 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3275 | (eval $ac_link) 2>conftest.er1 |
|
|
3276 | ac_status=$? |
|
|
3277 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3278 | rm -f conftest.er1 |
|
|
3279 | cat conftest.err >&5 |
|
|
3280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3281 | (exit $ac_status); } && |
|
|
3282 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
3283 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3284 | (eval $ac_try) 2>&5 |
|
|
3285 | ac_status=$? |
|
|
3286 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3287 | (exit $ac_status); }; } && |
|
|
3288 | { ac_try='test -s conftest$ac_exeext' |
|
|
3289 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3290 | (eval $ac_try) 2>&5 |
|
|
3291 | ac_status=$? |
|
|
3292 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3293 | (exit $ac_status); }; }; then |
|
|
3294 | ac_cv_search_strerror="none required" |
1405 | else |
3295 | else |
1406 | echo "$ac_t""no" 1>&6 |
3296 | echo "$as_me: failed program was:" >&5 |
1407 | ISC= |
3297 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3298 | |
|
|
3299 | fi |
|
|
3300 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3301 | conftest$ac_exeext conftest.$ac_ext |
|
|
3302 | if test "$ac_cv_search_strerror" = no; then |
|
|
3303 | for ac_lib in cposix; do |
|
|
3304 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
|
3305 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3306 | /* confdefs.h. */ |
|
|
3307 | _ACEOF |
|
|
3308 | cat confdefs.h >>conftest.$ac_ext |
|
|
3309 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3310 | /* end confdefs.h. */ |
|
|
3311 | |
|
|
3312 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3313 | #ifdef __cplusplus |
|
|
3314 | extern "C" |
|
|
3315 | #endif |
|
|
3316 | /* We use char because int might match the return type of a gcc2 |
|
|
3317 | builtin and then its argument prototype would still apply. */ |
|
|
3318 | char strerror (); |
|
|
3319 | int |
|
|
3320 | main () |
|
|
3321 | { |
|
|
3322 | strerror (); |
|
|
3323 | ; |
|
|
3324 | return 0; |
|
|
3325 | } |
|
|
3326 | _ACEOF |
|
|
3327 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3328 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3329 | (eval $ac_link) 2>conftest.er1 |
|
|
3330 | ac_status=$? |
|
|
3331 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3332 | rm -f conftest.er1 |
|
|
3333 | cat conftest.err >&5 |
|
|
3334 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3335 | (exit $ac_status); } && |
|
|
3336 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
3337 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3338 | (eval $ac_try) 2>&5 |
|
|
3339 | ac_status=$? |
|
|
3340 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3341 | (exit $ac_status); }; } && |
|
|
3342 | { ac_try='test -s conftest$ac_exeext' |
|
|
3343 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3344 | (eval $ac_try) 2>&5 |
|
|
3345 | ac_status=$? |
|
|
3346 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3347 | (exit $ac_status); }; }; then |
|
|
3348 | ac_cv_search_strerror="-l$ac_lib" |
|
|
3349 | break |
|
|
3350 | else |
|
|
3351 | echo "$as_me: failed program was:" >&5 |
|
|
3352 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3353 | |
|
|
3354 | fi |
|
|
3355 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3356 | conftest$ac_exeext conftest.$ac_ext |
|
|
3357 | done |
|
|
3358 | fi |
|
|
3359 | LIBS=$ac_func_search_save_LIBS |
|
|
3360 | fi |
|
|
3361 | echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
|
|
3362 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
|
|
3363 | if test "$ac_cv_search_strerror" != no; then |
|
|
3364 | test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
|
|
3365 | |
1408 | fi |
3366 | fi |
1409 | |
3367 | |
1410 | |
3368 | |
1411 | # Check whether --enable-shared or --disable-shared was given. |
3369 | # Check whether --enable-shared or --disable-shared was given. |
1412 | if test "${enable_shared+set}" = set; then |
3370 | if test "${enable_shared+set}" = set; then |
… | |
… | |
1427 | IFS="$ac_save_ifs" |
3385 | IFS="$ac_save_ifs" |
1428 | ;; |
3386 | ;; |
1429 | esac |
3387 | esac |
1430 | else |
3388 | else |
1431 | enable_shared=no |
3389 | enable_shared=no |
1432 | fi |
|
|
1433 | # Check whether --enable-static or --disable-static was given. |
3390 | fi; # Check whether --enable-static or --disable-static was given. |
1434 | if test "${enable_static+set}" = set; then |
3391 | if test "${enable_static+set}" = set; then |
1435 | enableval="$enable_static" |
3392 | enableval="$enable_static" |
1436 | p=${PACKAGE-default} |
3393 | p=${PACKAGE-default} |
1437 | case "$enableval" in |
3394 | case "$enableval" in |
1438 | yes) enable_static=yes ;; |
3395 | yes) enable_static=yes ;; |
… | |
… | |
1449 | IFS="$ac_save_ifs" |
3406 | IFS="$ac_save_ifs" |
1450 | ;; |
3407 | ;; |
1451 | esac |
3408 | esac |
1452 | else |
3409 | else |
1453 | enable_static=yes |
3410 | enable_static=yes |
1454 | fi |
|
|
1455 | echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 |
|
|
1456 | echo "configure:1457: checking for Cygwin environment" >&5 |
|
|
1457 | if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then |
|
|
1458 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
1459 | else |
|
|
1460 | cat > conftest.$ac_ext <<EOF |
|
|
1461 | #line 1462 "configure" |
|
|
1462 | #include "confdefs.h" |
|
|
1463 | |
|
|
1464 | int main() { |
|
|
1465 | |
|
|
1466 | #ifndef __CYGWIN__ |
|
|
1467 | #define __CYGWIN__ __CYGWIN32__ |
|
|
1468 | #endif |
|
|
1469 | return __CYGWIN__; |
|
|
1470 | ; return 0; } |
|
|
1471 | EOF |
|
|
1472 | if { (eval echo configure:1473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
1473 | rm -rf conftest* |
|
|
1474 | ac_cv_cygwin=yes |
|
|
1475 | else |
|
|
1476 | echo "configure: failed program was:" >&5 |
|
|
1477 | cat conftest.$ac_ext >&5 |
|
|
1478 | rm -rf conftest* |
|
|
1479 | ac_cv_cygwin=no |
|
|
1480 | fi |
|
|
1481 | rm -f conftest* |
|
|
1482 | rm -f conftest* |
|
|
1483 | fi |
|
|
1484 | |
|
|
1485 | echo "$ac_t""$ac_cv_cygwin" 1>&6 |
|
|
1486 | CYGWIN= |
|
|
1487 | test "$ac_cv_cygwin" = yes && CYGWIN=yes |
|
|
1488 | echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 |
|
|
1489 | echo "configure:1490: checking for mingw32 environment" >&5 |
|
|
1490 | if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then |
|
|
1491 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
1492 | else |
|
|
1493 | cat > conftest.$ac_ext <<EOF |
|
|
1494 | #line 1495 "configure" |
|
|
1495 | #include "confdefs.h" |
|
|
1496 | |
|
|
1497 | int main() { |
|
|
1498 | return __MINGW32__; |
|
|
1499 | ; return 0; } |
|
|
1500 | EOF |
|
|
1501 | if { (eval echo configure:1502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
1502 | rm -rf conftest* |
|
|
1503 | ac_cv_mingw32=yes |
|
|
1504 | else |
|
|
1505 | echo "configure: failed program was:" >&5 |
|
|
1506 | cat conftest.$ac_ext >&5 |
|
|
1507 | rm -rf conftest* |
|
|
1508 | ac_cv_mingw32=no |
|
|
1509 | fi |
|
|
1510 | rm -f conftest* |
|
|
1511 | rm -f conftest* |
|
|
1512 | fi |
|
|
1513 | |
|
|
1514 | echo "$ac_t""$ac_cv_mingw32" 1>&6 |
|
|
1515 | MINGW32= |
|
|
1516 | test "$ac_cv_mingw32" = yes && MINGW32=yes |
|
|
1517 | # Check whether --enable-fast-install or --disable-fast-install was given. |
3411 | fi; # Check whether --enable-fast-install or --disable-fast-install was given. |
1518 | if test "${enable_fast_install+set}" = set; then |
3412 | if test "${enable_fast_install+set}" = set; then |
1519 | enableval="$enable_fast_install" |
3413 | enableval="$enable_fast_install" |
1520 | p=${PACKAGE-default} |
3414 | p=${PACKAGE-default} |
1521 | case "$enableval" in |
3415 | case "$enableval" in |
1522 | yes) enable_fast_install=yes ;; |
3416 | yes) enable_fast_install=yes ;; |
… | |
… | |
1533 | IFS="$ac_save_ifs" |
3427 | IFS="$ac_save_ifs" |
1534 | ;; |
3428 | ;; |
1535 | esac |
3429 | esac |
1536 | else |
3430 | else |
1537 | enable_fast_install=yes |
3431 | enable_fast_install=yes |
1538 | fi |
3432 | fi; |
1539 | |
|
|
1540 | |
|
|
1541 | # Make sure we can run config.sub. |
3433 | # Make sure we can run config.sub. |
1542 | if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : |
3434 | $ac_config_sub sun4 >/dev/null 2>&1 || |
|
|
3435 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1543 | else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } |
3436 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1544 | fi |
3437 | { (exit 1); exit 1; }; } |
1545 | |
3438 | |
1546 | echo $ac_n "checking host system type""... $ac_c" 1>&6 |
3439 | echo "$as_me:$LINENO: checking build system type" >&5 |
1547 | echo "configure:1548: checking host system type" >&5 |
|
|
1548 | |
|
|
1549 | host_alias=$host |
|
|
1550 | case "$host_alias" in |
|
|
1551 | NONE) |
|
|
1552 | case $nonopt in |
|
|
1553 | NONE) |
|
|
1554 | if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : |
|
|
1555 | else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } |
|
|
1556 | fi ;; |
|
|
1557 | *) host_alias=$nonopt ;; |
|
|
1558 | esac ;; |
|
|
1559 | esac |
|
|
1560 | |
|
|
1561 | host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` |
|
|
1562 | host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
1563 | host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
1564 | host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
1565 | echo "$ac_t""$host" 1>&6 |
|
|
1566 | |
|
|
1567 | echo $ac_n "checking build system type""... $ac_c" 1>&6 |
3440 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
1568 | echo "configure:1569: checking build system type" >&5 |
3441 | if test "${ac_cv_build+set}" = set; then |
|
|
3442 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3443 | else |
|
|
3444 | ac_cv_build_alias=$build_alias |
|
|
3445 | test -z "$ac_cv_build_alias" && |
|
|
3446 | ac_cv_build_alias=`$ac_config_guess` |
|
|
3447 | test -z "$ac_cv_build_alias" && |
|
|
3448 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
|
|
3449 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
|
|
3450 | { (exit 1); exit 1; }; } |
|
|
3451 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
|
|
3452 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
|
|
3453 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
|
|
3454 | { (exit 1); exit 1; }; } |
1569 | |
3455 | |
1570 | build_alias=$build |
3456 | fi |
1571 | case "$build_alias" in |
3457 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
1572 | NONE) |
3458 | echo "${ECHO_T}$ac_cv_build" >&6 |
1573 | case $nonopt in |
3459 | build=$ac_cv_build |
1574 | NONE) build_alias=$host_alias ;; |
|
|
1575 | *) build_alias=$nonopt ;; |
|
|
1576 | esac ;; |
|
|
1577 | esac |
|
|
1578 | |
|
|
1579 | build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` |
|
|
1580 | build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
3460 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1581 | build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
3461 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1582 | build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
3462 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1583 | echo "$ac_t""$build" 1>&6 |
3463 | |
|
|
3464 | |
|
|
3465 | echo "$as_me:$LINENO: checking host system type" >&5 |
|
|
3466 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
|
|
3467 | if test "${ac_cv_host+set}" = set; then |
|
|
3468 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3469 | else |
|
|
3470 | ac_cv_host_alias=$host_alias |
|
|
3471 | test -z "$ac_cv_host_alias" && |
|
|
3472 | ac_cv_host_alias=$ac_cv_build_alias |
|
|
3473 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
|
|
3474 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
|
|
3475 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
|
|
3476 | { (exit 1); exit 1; }; } |
|
|
3477 | |
|
|
3478 | fi |
|
|
3479 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
|
|
3480 | echo "${ECHO_T}$ac_cv_host" >&6 |
|
|
3481 | host=$ac_cv_host |
|
|
3482 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
3483 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
3484 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
3485 | |
|
|
3486 | |
1584 | |
3487 | |
1585 | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
3488 | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
1586 | if test "${with_gnu_ld+set}" = set; then |
3489 | if test "${with_gnu_ld+set}" = set; then |
1587 | withval="$with_gnu_ld" |
3490 | withval="$with_gnu_ld" |
1588 | test "$withval" = no || with_gnu_ld=yes |
3491 | test "$withval" = no || with_gnu_ld=yes |
1589 | else |
3492 | else |
1590 | with_gnu_ld=no |
3493 | with_gnu_ld=no |
1591 | fi |
3494 | fi; |
1592 | |
|
|
1593 | ac_prog=ld |
3495 | ac_prog=ld |
1594 | if test "$GCC" = yes; then |
3496 | if test "$GCC" = yes; then |
1595 | # Check if gcc -print-prog-name=ld gives a path. |
3497 | # Check if gcc -print-prog-name=ld gives a path. |
|
|
3498 | echo "$as_me:$LINENO: checking for ld used by GCC" >&5 |
1596 | echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
3499 | echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 |
1597 | echo "configure:1598: checking for ld used by GCC" >&5 |
|
|
1598 | case $host in |
3500 | case $host in |
1599 | *-*-mingw*) |
3501 | *-*-mingw*) |
1600 | # gcc leaves a trailing carriage return which upsets mingw |
3502 | # gcc leaves a trailing carriage return which upsets mingw |
1601 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
3503 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
1602 | *) |
3504 | *) |
… | |
… | |
1621 | # If it is relative, then search for the first ld in PATH. |
3523 | # If it is relative, then search for the first ld in PATH. |
1622 | with_gnu_ld=unknown |
3524 | with_gnu_ld=unknown |
1623 | ;; |
3525 | ;; |
1624 | esac |
3526 | esac |
1625 | elif test "$with_gnu_ld" = yes; then |
3527 | elif test "$with_gnu_ld" = yes; then |
|
|
3528 | echo "$as_me:$LINENO: checking for GNU ld" >&5 |
1626 | echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
3529 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 |
1627 | echo "configure:1628: checking for GNU ld" >&5 |
|
|
1628 | else |
3530 | else |
|
|
3531 | echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
1629 | echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 |
3532 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 |
1630 | echo "configure:1631: checking for non-GNU ld" >&5 |
|
|
1631 | fi |
3533 | fi |
1632 | if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then |
3534 | if test "${lt_cv_path_LD+set}" = set; then |
1633 | echo $ac_n "(cached) $ac_c" 1>&6 |
3535 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1634 | else |
3536 | else |
1635 | if test -z "$LD"; then |
3537 | if test -z "$LD"; then |
1636 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
3538 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
1637 | for ac_dir in $PATH; do |
3539 | for ac_dir in $PATH; do |
1638 | test -z "$ac_dir" && ac_dir=. |
3540 | test -z "$ac_dir" && ac_dir=. |
… | |
… | |
1654 | fi |
3556 | fi |
1655 | fi |
3557 | fi |
1656 | |
3558 | |
1657 | LD="$lt_cv_path_LD" |
3559 | LD="$lt_cv_path_LD" |
1658 | if test -n "$LD"; then |
3560 | if test -n "$LD"; then |
1659 | echo "$ac_t""$LD" 1>&6 |
3561 | echo "$as_me:$LINENO: result: $LD" >&5 |
|
|
3562 | echo "${ECHO_T}$LD" >&6 |
1660 | else |
3563 | else |
1661 | echo "$ac_t""no" 1>&6 |
3564 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
3565 | echo "${ECHO_T}no" >&6 |
1662 | fi |
3566 | fi |
1663 | test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } |
3567 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
|
|
3568 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
|
|
3569 | { (exit 1); exit 1; }; } |
|
|
3570 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
1664 | echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 |
3571 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 |
1665 | echo "configure:1666: checking if the linker ($LD) is GNU ld" >&5 |
|
|
1666 | if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then |
3572 | if test "${lt_cv_prog_gnu_ld+set}" = set; then |
1667 | echo $ac_n "(cached) $ac_c" 1>&6 |
3573 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1668 | else |
3574 | else |
1669 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
3575 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
1670 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
3576 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
1671 | lt_cv_prog_gnu_ld=yes |
3577 | lt_cv_prog_gnu_ld=yes |
1672 | else |
3578 | else |
1673 | lt_cv_prog_gnu_ld=no |
3579 | lt_cv_prog_gnu_ld=no |
1674 | fi |
3580 | fi |
1675 | fi |
3581 | fi |
1676 | |
3582 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
1677 | echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 |
3583 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 |
1678 | with_gnu_ld=$lt_cv_prog_gnu_ld |
3584 | with_gnu_ld=$lt_cv_prog_gnu_ld |
1679 | |
3585 | |
1680 | |
3586 | |
|
|
3587 | echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 |
1681 | echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 |
3588 | echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 |
1682 | echo "configure:1683: checking for $LD option to reload object files" >&5 |
|
|
1683 | if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then |
3589 | if test "${lt_cv_ld_reload_flag+set}" = set; then |
1684 | echo $ac_n "(cached) $ac_c" 1>&6 |
3590 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1685 | else |
3591 | else |
1686 | lt_cv_ld_reload_flag='-r' |
3592 | lt_cv_ld_reload_flag='-r' |
1687 | fi |
3593 | fi |
1688 | |
3594 | echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 |
1689 | echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6 |
3595 | echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 |
1690 | reload_flag=$lt_cv_ld_reload_flag |
3596 | reload_flag=$lt_cv_ld_reload_flag |
1691 | test -n "$reload_flag" && reload_flag=" $reload_flag" |
3597 | test -n "$reload_flag" && reload_flag=" $reload_flag" |
1692 | |
3598 | |
|
|
3599 | echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
1693 | echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 |
3600 | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 |
1694 | echo "configure:1695: checking for BSD-compatible nm" >&5 |
|
|
1695 | if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then |
3601 | if test "${lt_cv_path_NM+set}" = set; then |
1696 | echo $ac_n "(cached) $ac_c" 1>&6 |
3602 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1697 | else |
3603 | else |
1698 | if test -n "$NM"; then |
3604 | if test -n "$NM"; then |
1699 | # Let the user override the test. |
3605 | # Let the user override the test. |
1700 | lt_cv_path_NM="$NM" |
3606 | lt_cv_path_NM="$NM" |
1701 | else |
3607 | else |
… | |
… | |
1724 | test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm |
3630 | test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm |
1725 | fi |
3631 | fi |
1726 | fi |
3632 | fi |
1727 | |
3633 | |
1728 | NM="$lt_cv_path_NM" |
3634 | NM="$lt_cv_path_NM" |
1729 | echo "$ac_t""$NM" 1>&6 |
3635 | echo "$as_me:$LINENO: result: $NM" >&5 |
|
|
3636 | echo "${ECHO_T}$NM" >&6 |
1730 | |
3637 | |
|
|
3638 | echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
1731 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
3639 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
1732 | echo "configure:1733: checking whether ln -s works" >&5 |
3640 | LN_S=$as_ln_s |
1733 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
|
|
1734 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
1735 | else |
|
|
1736 | rm -f conftestdata |
|
|
1737 | if ln -s X conftestdata 2>/dev/null |
|
|
1738 | then |
|
|
1739 | rm -f conftestdata |
|
|
1740 | ac_cv_prog_LN_S="ln -s" |
|
|
1741 | else |
|
|
1742 | ac_cv_prog_LN_S=ln |
|
|
1743 | fi |
|
|
1744 | fi |
|
|
1745 | LN_S="$ac_cv_prog_LN_S" |
|
|
1746 | if test "$ac_cv_prog_LN_S" = "ln -s"; then |
3641 | if test "$LN_S" = "ln -s"; then |
1747 | echo "$ac_t""yes" 1>&6 |
3642 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
3643 | echo "${ECHO_T}yes" >&6 |
1748 | else |
3644 | else |
1749 | echo "$ac_t""no" 1>&6 |
3645 | echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
|
|
3646 | echo "${ECHO_T}no, using $LN_S" >&6 |
1750 | fi |
3647 | fi |
1751 | |
3648 | |
|
|
3649 | echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5 |
1752 | echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 |
3650 | echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 |
1753 | echo "configure:1754: checking how to recognise dependant libraries" >&5 |
|
|
1754 | if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then |
3651 | if test "${lt_cv_deplibs_check_method+set}" = set; then |
1755 | echo $ac_n "(cached) $ac_c" 1>&6 |
3652 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1756 | else |
3653 | else |
1757 | lt_cv_file_magic_cmd='$MAGIC_CMD' |
3654 | lt_cv_file_magic_cmd='$MAGIC_CMD' |
1758 | lt_cv_file_magic_test_file= |
3655 | lt_cv_file_magic_test_file= |
1759 | lt_cv_deplibs_check_method='unknown' |
3656 | lt_cv_deplibs_check_method='unknown' |
1760 | # Need to set the preceding variable on all platforms that support |
3657 | # Need to set the preceding variable on all platforms that support |
… | |
… | |
1906 | esac |
3803 | esac |
1907 | ;; |
3804 | ;; |
1908 | esac |
3805 | esac |
1909 | |
3806 | |
1910 | fi |
3807 | fi |
1911 | |
3808 | echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 |
1912 | echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6 |
3809 | echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 |
1913 | file_magic_cmd=$lt_cv_file_magic_cmd |
3810 | file_magic_cmd=$lt_cv_file_magic_cmd |
1914 | deplibs_check_method=$lt_cv_deplibs_check_method |
3811 | deplibs_check_method=$lt_cv_deplibs_check_method |
1915 | |
3812 | |
1916 | echo $ac_n "checking for object suffix""... $ac_c" 1>&6 |
|
|
1917 | echo "configure:1918: checking for object suffix" >&5 |
|
|
1918 | if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then |
|
|
1919 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
1920 | else |
|
|
1921 | rm -f conftest* |
|
|
1922 | echo 'int i = 1;' > conftest.$ac_ext |
|
|
1923 | if { (eval echo configure:1924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
1924 | for ac_file in conftest.*; do |
|
|
1925 | case $ac_file in |
|
|
1926 | *.c) ;; |
|
|
1927 | *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;; |
|
|
1928 | esac |
|
|
1929 | done |
|
|
1930 | else |
|
|
1931 | { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; } |
|
|
1932 | fi |
|
|
1933 | rm -f conftest* |
|
|
1934 | fi |
|
|
1935 | |
3813 | |
1936 | echo "$ac_t""$ac_cv_objext" 1>&6 |
|
|
1937 | OBJEXT=$ac_cv_objext |
|
|
1938 | ac_objext=$ac_cv_objext |
|
|
1939 | |
3814 | |
1940 | |
|
|
1941 | |
|
|
1942 | echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 |
|
|
1943 | echo "configure:1944: checking for executable suffix" >&5 |
|
|
1944 | if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then |
|
|
1945 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
1946 | else |
|
|
1947 | if test "$CYGWIN" = yes || test "$MINGW32" = yes; then |
|
|
1948 | ac_cv_exeext=.exe |
|
|
1949 | else |
|
|
1950 | rm -f conftest* |
|
|
1951 | echo 'int main () { return 0; }' > conftest.$ac_ext |
|
|
1952 | ac_cv_exeext= |
|
|
1953 | if { (eval echo configure:1954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then |
|
|
1954 | for file in conftest.*; do |
|
|
1955 | case $file in |
|
|
1956 | *.$ac_ext | *.c | *.o | *.obj) ;; |
|
|
1957 | *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; |
|
|
1958 | esac |
|
|
1959 | done |
|
|
1960 | else |
|
|
1961 | { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } |
|
|
1962 | fi |
|
|
1963 | rm -f conftest* |
|
|
1964 | test x"${ac_cv_exeext}" = x && ac_cv_exeext=no |
|
|
1965 | fi |
|
|
1966 | fi |
|
|
1967 | |
|
|
1968 | EXEEXT="" |
|
|
1969 | test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} |
|
|
1970 | echo "$ac_t""${ac_cv_exeext}" 1>&6 |
|
|
1971 | ac_exeext=$EXEEXT |
|
|
1972 | |
|
|
1973 | if test $host != $build; then |
|
|
1974 | ac_tool_prefix=${host_alias}- |
|
|
1975 | else |
|
|
1976 | ac_tool_prefix= |
|
|
1977 | fi |
|
|
1978 | |
3815 | |
1979 | |
3816 | |
1980 | |
3817 | |
1981 | |
3818 | |
1982 | # Check for command to grab the raw symbol name followed by C symbol from nm. |
3819 | # Check for command to grab the raw symbol name followed by C symbol from nm. |
|
|
3820 | echo "$as_me:$LINENO: checking command to parse $NM output" >&5 |
1983 | echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6 |
3821 | echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 |
1984 | echo "configure:1985: checking command to parse $NM output" >&5 |
|
|
1985 | if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then |
3822 | if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then |
1986 | echo $ac_n "(cached) $ac_c" 1>&6 |
3823 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1987 | else |
3824 | else |
1988 | |
3825 | |
1989 | # These are sane defaults that work on at least a few old systems. |
3826 | # These are sane defaults that work on at least a few old systems. |
1990 | # [They come from Ultrix. What could be older than Ultrix?!! ;)] |
3827 | # [They come from Ultrix. What could be older than Ultrix?!! ;)] |
1991 | |
3828 | |
1992 | # Character class describing NM global symbol codes. |
3829 | # Character class describing NM global symbol codes. |
1993 | symcode='[BCDEGRST]' |
3830 | symcode='[BCDEGRST]' |
… | |
… | |
2055 | } |
3892 | } |
2056 | #endif |
3893 | #endif |
2057 | main(){nm_test_var='a';nm_test_func();return(0);} |
3894 | main(){nm_test_var='a';nm_test_func();return(0);} |
2058 | EOF |
3895 | EOF |
2059 | |
3896 | |
2060 | if { (eval echo configure:2061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3897 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
3898 | (eval $ac_compile) 2>&5 |
|
|
3899 | ac_status=$? |
|
|
3900 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3901 | (exit $ac_status); }; then |
2061 | # Now try to grab the symbols. |
3902 | # Now try to grab the symbols. |
2062 | nlist=conftest.nm |
3903 | nlist=conftest.nm |
2063 | if { (eval echo configure:2064: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then |
3904 | if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 |
|
|
3905 | (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 |
|
|
3906 | ac_status=$? |
|
|
3907 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3908 | (exit $ac_status); } && test -s "$nlist"; then |
2064 | # Try sorting and uniquifying the output. |
3909 | # Try sorting and uniquifying the output. |
2065 | if sort "$nlist" | uniq > "$nlist"T; then |
3910 | if sort "$nlist" | uniq > "$nlist"T; then |
2066 | mv -f "$nlist"T "$nlist" |
3911 | mv -f "$nlist"T "$nlist" |
2067 | else |
3912 | else |
2068 | rm -f "$nlist"T |
3913 | rm -f "$nlist"T |
… | |
… | |
2109 | mv conftest.$ac_objext conftstm.$ac_objext |
3954 | mv conftest.$ac_objext conftstm.$ac_objext |
2110 | save_LIBS="$LIBS" |
3955 | save_LIBS="$LIBS" |
2111 | save_CFLAGS="$CFLAGS" |
3956 | save_CFLAGS="$CFLAGS" |
2112 | LIBS="conftstm.$ac_objext" |
3957 | LIBS="conftstm.$ac_objext" |
2113 | CFLAGS="$CFLAGS$no_builtin_flag" |
3958 | CFLAGS="$CFLAGS$no_builtin_flag" |
2114 | if { (eval echo configure:2115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3959 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3960 | (eval $ac_link) 2>&5 |
|
|
3961 | ac_status=$? |
|
|
3962 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3963 | (exit $ac_status); } && test -s conftest; then |
2115 | pipe_works=yes |
3964 | pipe_works=yes |
2116 | fi |
3965 | fi |
2117 | LIBS="$save_LIBS" |
3966 | LIBS="$save_LIBS" |
2118 | CFLAGS="$save_CFLAGS" |
3967 | CFLAGS="$save_CFLAGS" |
2119 | else |
3968 | else |
… | |
… | |
2146 | global_symbol_to_cdecl= |
3995 | global_symbol_to_cdecl= |
2147 | else |
3996 | else |
2148 | global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" |
3997 | global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" |
2149 | fi |
3998 | fi |
2150 | if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then |
3999 | if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then |
2151 | echo "$ac_t""failed" 1>&6 |
4000 | echo "$as_me:$LINENO: result: failed" >&5 |
|
|
4001 | echo "${ECHO_T}failed" >&6 |
|
|
4002 | else |
|
|
4003 | echo "$as_me:$LINENO: result: ok" >&5 |
|
|
4004 | echo "${ECHO_T}ok" >&6 |
|
|
4005 | fi |
|
|
4006 | |
|
|
4007 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
|
4008 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
|
|
4009 | if test "${ac_cv_header_stdc+set}" = set; then |
|
|
4010 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4011 | else |
|
|
4012 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4013 | /* confdefs.h. */ |
|
|
4014 | _ACEOF |
|
|
4015 | cat confdefs.h >>conftest.$ac_ext |
|
|
4016 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4017 | /* end confdefs.h. */ |
|
|
4018 | #include <stdlib.h> |
|
|
4019 | #include <stdarg.h> |
|
|
4020 | #include <string.h> |
|
|
4021 | #include <float.h> |
|
|
4022 | |
|
|
4023 | int |
|
|
4024 | main () |
|
|
4025 | { |
|
|
4026 | |
|
|
4027 | ; |
|
|
4028 | return 0; |
|
|
4029 | } |
|
|
4030 | _ACEOF |
|
|
4031 | rm -f conftest.$ac_objext |
|
|
4032 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
4033 | (eval $ac_compile) 2>conftest.er1 |
|
|
4034 | ac_status=$? |
|
|
4035 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4036 | rm -f conftest.er1 |
|
|
4037 | cat conftest.err >&5 |
|
|
4038 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4039 | (exit $ac_status); } && |
|
|
4040 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
4041 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4042 | (eval $ac_try) 2>&5 |
|
|
4043 | ac_status=$? |
|
|
4044 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4045 | (exit $ac_status); }; } && |
|
|
4046 | { ac_try='test -s conftest.$ac_objext' |
|
|
4047 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4048 | (eval $ac_try) 2>&5 |
|
|
4049 | ac_status=$? |
|
|
4050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4051 | (exit $ac_status); }; }; then |
|
|
4052 | ac_cv_header_stdc=yes |
|
|
4053 | else |
|
|
4054 | echo "$as_me: failed program was:" >&5 |
|
|
4055 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4056 | |
|
|
4057 | ac_cv_header_stdc=no |
|
|
4058 | fi |
|
|
4059 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4060 | |
|
|
4061 | if test $ac_cv_header_stdc = yes; then |
|
|
4062 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
4063 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4064 | /* confdefs.h. */ |
|
|
4065 | _ACEOF |
|
|
4066 | cat confdefs.h >>conftest.$ac_ext |
|
|
4067 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4068 | /* end confdefs.h. */ |
|
|
4069 | #include <string.h> |
|
|
4070 | |
|
|
4071 | _ACEOF |
|
|
4072 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
4073 | $EGREP "memchr" >/dev/null 2>&1; then |
|
|
4074 | : |
|
|
4075 | else |
|
|
4076 | ac_cv_header_stdc=no |
|
|
4077 | fi |
|
|
4078 | rm -f conftest* |
|
|
4079 | |
|
|
4080 | fi |
|
|
4081 | |
|
|
4082 | if test $ac_cv_header_stdc = yes; then |
|
|
4083 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
4084 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4085 | /* confdefs.h. */ |
|
|
4086 | _ACEOF |
|
|
4087 | cat confdefs.h >>conftest.$ac_ext |
|
|
4088 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4089 | /* end confdefs.h. */ |
|
|
4090 | #include <stdlib.h> |
|
|
4091 | |
|
|
4092 | _ACEOF |
|
|
4093 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
4094 | $EGREP "free" >/dev/null 2>&1; then |
|
|
4095 | : |
|
|
4096 | else |
|
|
4097 | ac_cv_header_stdc=no |
|
|
4098 | fi |
|
|
4099 | rm -f conftest* |
|
|
4100 | |
|
|
4101 | fi |
|
|
4102 | |
|
|
4103 | if test $ac_cv_header_stdc = yes; then |
|
|
4104 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
4105 | if test "$cross_compiling" = yes; then |
|
|
4106 | : |
|
|
4107 | else |
|
|
4108 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4109 | /* confdefs.h. */ |
|
|
4110 | _ACEOF |
|
|
4111 | cat confdefs.h >>conftest.$ac_ext |
|
|
4112 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4113 | /* end confdefs.h. */ |
|
|
4114 | #include <ctype.h> |
|
|
4115 | #if ((' ' & 0x0FF) == 0x020) |
|
|
4116 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
4117 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2152 | else |
4118 | #else |
2153 | echo "$ac_t""ok" 1>&6 |
4119 | # define ISLOWER(c) \ |
2154 | fi |
4120 | (('a' <= (c) && (c) <= 'i') \ |
|
|
4121 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
4122 | || ('s' <= (c) && (c) <= 'z')) |
|
|
4123 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
4124 | #endif |
2155 | |
4125 | |
2156 | for ac_hdr in dlfcn.h |
4126 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
4127 | int |
|
|
4128 | main () |
|
|
4129 | { |
|
|
4130 | int i; |
|
|
4131 | for (i = 0; i < 256; i++) |
|
|
4132 | if (XOR (islower (i), ISLOWER (i)) |
|
|
4133 | || toupper (i) != TOUPPER (i)) |
|
|
4134 | exit(2); |
|
|
4135 | exit (0); |
|
|
4136 | } |
|
|
4137 | _ACEOF |
|
|
4138 | rm -f conftest$ac_exeext |
|
|
4139 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
4140 | (eval $ac_link) 2>&5 |
|
|
4141 | ac_status=$? |
|
|
4142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4143 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
4144 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4145 | (eval $ac_try) 2>&5 |
|
|
4146 | ac_status=$? |
|
|
4147 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4148 | (exit $ac_status); }; }; then |
|
|
4149 | : |
|
|
4150 | else |
|
|
4151 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
4152 | echo "$as_me: failed program was:" >&5 |
|
|
4153 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4154 | |
|
|
4155 | ( exit $ac_status ) |
|
|
4156 | ac_cv_header_stdc=no |
|
|
4157 | fi |
|
|
4158 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
4159 | fi |
|
|
4160 | fi |
|
|
4161 | fi |
|
|
4162 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
4163 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
|
|
4164 | if test $ac_cv_header_stdc = yes; then |
|
|
4165 | |
|
|
4166 | cat >>confdefs.h <<\_ACEOF |
|
|
4167 | #define STDC_HEADERS 1 |
|
|
4168 | _ACEOF |
|
|
4169 | |
|
|
4170 | fi |
|
|
4171 | |
|
|
4172 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
4173 | |
|
|
4174 | |
|
|
4175 | |
|
|
4176 | |
|
|
4177 | |
|
|
4178 | |
|
|
4179 | |
|
|
4180 | |
|
|
4181 | |
|
|
4182 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
4183 | inttypes.h stdint.h unistd.h |
2157 | do |
4184 | do |
2158 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4185 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
4186 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
2159 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4187 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
2160 | echo "configure:2161: checking for $ac_hdr" >&5 |
4188 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
2161 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|
|
2162 | echo $ac_n "(cached) $ac_c" 1>&6 |
4189 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2163 | else |
4190 | else |
2164 | cat > conftest.$ac_ext <<EOF |
4191 | cat >conftest.$ac_ext <<_ACEOF |
2165 | #line 2166 "configure" |
4192 | /* confdefs.h. */ |
2166 | #include "confdefs.h" |
4193 | _ACEOF |
|
|
4194 | cat confdefs.h >>conftest.$ac_ext |
|
|
4195 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4196 | /* end confdefs.h. */ |
|
|
4197 | $ac_includes_default |
|
|
4198 | |
2167 | #include <$ac_hdr> |
4199 | #include <$ac_header> |
2168 | EOF |
4200 | _ACEOF |
2169 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4201 | rm -f conftest.$ac_objext |
2170 | { (eval echo configure:2171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4202 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2171 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4203 | (eval $ac_compile) 2>conftest.er1 |
|
|
4204 | ac_status=$? |
|
|
4205 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4206 | rm -f conftest.er1 |
|
|
4207 | cat conftest.err >&5 |
|
|
4208 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4209 | (exit $ac_status); } && |
|
|
4210 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
4211 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4212 | (eval $ac_try) 2>&5 |
|
|
4213 | ac_status=$? |
|
|
4214 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4215 | (exit $ac_status); }; } && |
|
|
4216 | { ac_try='test -s conftest.$ac_objext' |
|
|
4217 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4218 | (eval $ac_try) 2>&5 |
|
|
4219 | ac_status=$? |
|
|
4220 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4221 | (exit $ac_status); }; }; then |
|
|
4222 | eval "$as_ac_Header=yes" |
|
|
4223 | else |
|
|
4224 | echo "$as_me: failed program was:" >&5 |
|
|
4225 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4226 | |
|
|
4227 | eval "$as_ac_Header=no" |
|
|
4228 | fi |
|
|
4229 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4230 | fi |
|
|
4231 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
4232 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
4233 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
4234 | cat >>confdefs.h <<_ACEOF |
|
|
4235 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
4236 | _ACEOF |
|
|
4237 | |
|
|
4238 | fi |
|
|
4239 | |
|
|
4240 | done |
|
|
4241 | |
|
|
4242 | |
|
|
4243 | |
|
|
4244 | for ac_header in dlfcn.h |
|
|
4245 | do |
|
|
4246 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
4247 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
4248 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
4249 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
4250 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
4251 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4252 | fi |
|
|
4253 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
4254 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
4255 | else |
|
|
4256 | # Is the header compilable? |
|
|
4257 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
4258 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
|
4259 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4260 | /* confdefs.h. */ |
|
|
4261 | _ACEOF |
|
|
4262 | cat confdefs.h >>conftest.$ac_ext |
|
|
4263 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4264 | /* end confdefs.h. */ |
|
|
4265 | $ac_includes_default |
|
|
4266 | #include <$ac_header> |
|
|
4267 | _ACEOF |
|
|
4268 | rm -f conftest.$ac_objext |
|
|
4269 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
4270 | (eval $ac_compile) 2>conftest.er1 |
|
|
4271 | ac_status=$? |
|
|
4272 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4273 | rm -f conftest.er1 |
|
|
4274 | cat conftest.err >&5 |
|
|
4275 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4276 | (exit $ac_status); } && |
|
|
4277 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
4278 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4279 | (eval $ac_try) 2>&5 |
|
|
4280 | ac_status=$? |
|
|
4281 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4282 | (exit $ac_status); }; } && |
|
|
4283 | { ac_try='test -s conftest.$ac_objext' |
|
|
4284 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4285 | (eval $ac_try) 2>&5 |
|
|
4286 | ac_status=$? |
|
|
4287 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4288 | (exit $ac_status); }; }; then |
|
|
4289 | ac_header_compiler=yes |
|
|
4290 | else |
|
|
4291 | echo "$as_me: failed program was:" >&5 |
|
|
4292 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4293 | |
|
|
4294 | ac_header_compiler=no |
|
|
4295 | fi |
|
|
4296 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4297 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
4298 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
4299 | |
|
|
4300 | # Is the header present? |
|
|
4301 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
4302 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
|
4303 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4304 | /* confdefs.h. */ |
|
|
4305 | _ACEOF |
|
|
4306 | cat confdefs.h >>conftest.$ac_ext |
|
|
4307 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4308 | /* end confdefs.h. */ |
|
|
4309 | #include <$ac_header> |
|
|
4310 | _ACEOF |
|
|
4311 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4312 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4313 | ac_status=$? |
|
|
4314 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4315 | rm -f conftest.er1 |
|
|
4316 | cat conftest.err >&5 |
|
|
4317 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4318 | (exit $ac_status); } >/dev/null; then |
|
|
4319 | if test -s conftest.err; then |
|
|
4320 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
4321 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
4322 | else |
|
|
4323 | ac_cpp_err= |
|
|
4324 | fi |
|
|
4325 | else |
|
|
4326 | ac_cpp_err=yes |
|
|
4327 | fi |
2172 | if test -z "$ac_err"; then |
4328 | if test -z "$ac_cpp_err"; then |
2173 | rm -rf conftest* |
4329 | ac_header_preproc=yes |
2174 | eval "ac_cv_header_$ac_safe=yes" |
|
|
2175 | else |
4330 | else |
2176 | echo "$ac_err" >&5 |
|
|
2177 | echo "configure: failed program was:" >&5 |
4331 | echo "$as_me: failed program was:" >&5 |
2178 | cat conftest.$ac_ext >&5 |
4332 | sed 's/^/| /' conftest.$ac_ext >&5 |
2179 | rm -rf conftest* |
4333 | |
2180 | eval "ac_cv_header_$ac_safe=no" |
4334 | ac_header_preproc=no |
2181 | fi |
4335 | fi |
2182 | rm -f conftest* |
4336 | rm -f conftest.err conftest.$ac_ext |
|
|
4337 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
4338 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
4339 | |
|
|
4340 | # So? What about this header? |
|
|
4341 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
|
4342 | yes:no: ) |
|
|
4343 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
4344 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
4345 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
4346 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
4347 | ac_header_preproc=yes |
|
|
4348 | ;; |
|
|
4349 | no:yes:* ) |
|
|
4350 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
4351 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
4352 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
4353 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
4354 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
4355 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
4356 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
4357 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
4358 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
4359 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
4360 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
4361 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
4362 | ( |
|
|
4363 | cat <<\_ASBOX |
|
|
4364 | ## ------------------------------------------ ## |
|
|
4365 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
4366 | ## ------------------------------------------ ## |
|
|
4367 | _ASBOX |
|
|
4368 | ) | |
|
|
4369 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
4370 | ;; |
|
|
4371 | esac |
|
|
4372 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
4373 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
4374 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
4375 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4376 | else |
|
|
4377 | eval "$as_ac_Header=\$ac_header_preproc" |
2183 | fi |
4378 | fi |
2184 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4379 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
2185 | echo "$ac_t""yes" 1>&6 |
4380 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
2186 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
4381 | |
|
|
4382 | fi |
|
|
4383 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
2187 | cat >> confdefs.h <<EOF |
4384 | cat >>confdefs.h <<_ACEOF |
2188 | #define $ac_tr_hdr 1 |
4385 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
2189 | EOF |
4386 | _ACEOF |
2190 | |
4387 | |
2191 | else |
|
|
2192 | echo "$ac_t""no" 1>&6 |
|
|
2193 | fi |
4388 | fi |
|
|
4389 | |
2194 | done |
4390 | done |
2195 | |
4391 | |
2196 | |
4392 | |
2197 | |
4393 | |
2198 | |
4394 | |
2199 | |
4395 | |
2200 | # Only perform the check for file, if the check method requires it |
4396 | # Only perform the check for file, if the check method requires it |
2201 | case "$deplibs_check_method" in |
4397 | case "$deplibs_check_method" in |
2202 | file_magic*) |
4398 | file_magic*) |
2203 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
4399 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
|
|
4400 | echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 |
2204 | echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 |
4401 | echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 |
2205 | echo "configure:2206: checking for ${ac_tool_prefix}file" >&5 |
|
|
2206 | if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then |
4402 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
2207 | echo $ac_n "(cached) $ac_c" 1>&6 |
4403 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2208 | else |
4404 | else |
2209 | case "$MAGIC_CMD" in |
4405 | case "$MAGIC_CMD" in |
2210 | /*) |
4406 | /*) |
2211 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
4407 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
2212 | ;; |
4408 | ;; |
… | |
… | |
2254 | esac |
4450 | esac |
2255 | fi |
4451 | fi |
2256 | |
4452 | |
2257 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
4453 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
2258 | if test -n "$MAGIC_CMD"; then |
4454 | if test -n "$MAGIC_CMD"; then |
|
|
4455 | echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
2259 | echo "$ac_t""$MAGIC_CMD" 1>&6 |
4456 | echo "${ECHO_T}$MAGIC_CMD" >&6 |
2260 | else |
4457 | else |
2261 | echo "$ac_t""no" 1>&6 |
4458 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4459 | echo "${ECHO_T}no" >&6 |
2262 | fi |
4460 | fi |
2263 | |
4461 | |
2264 | if test -z "$lt_cv_path_MAGIC_CMD"; then |
4462 | if test -z "$lt_cv_path_MAGIC_CMD"; then |
2265 | if test -n "$ac_tool_prefix"; then |
4463 | if test -n "$ac_tool_prefix"; then |
|
|
4464 | echo "$as_me:$LINENO: checking for file" >&5 |
2266 | echo $ac_n "checking for file""... $ac_c" 1>&6 |
4465 | echo $ECHO_N "checking for file... $ECHO_C" >&6 |
2267 | echo "configure:2268: checking for file" >&5 |
|
|
2268 | if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then |
4466 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
2269 | echo $ac_n "(cached) $ac_c" 1>&6 |
4467 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2270 | else |
4468 | else |
2271 | case "$MAGIC_CMD" in |
4469 | case "$MAGIC_CMD" in |
2272 | /*) |
4470 | /*) |
2273 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
4471 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
2274 | ;; |
4472 | ;; |
… | |
… | |
2316 | esac |
4514 | esac |
2317 | fi |
4515 | fi |
2318 | |
4516 | |
2319 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
4517 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
2320 | if test -n "$MAGIC_CMD"; then |
4518 | if test -n "$MAGIC_CMD"; then |
|
|
4519 | echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
2321 | echo "$ac_t""$MAGIC_CMD" 1>&6 |
4520 | echo "${ECHO_T}$MAGIC_CMD" >&6 |
2322 | else |
4521 | else |
2323 | echo "$ac_t""no" 1>&6 |
4522 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4523 | echo "${ECHO_T}no" >&6 |
2324 | fi |
4524 | fi |
2325 | |
4525 | |
2326 | else |
4526 | else |
2327 | MAGIC_CMD=: |
4527 | MAGIC_CMD=: |
2328 | fi |
4528 | fi |
… | |
… | |
2330 | |
4530 | |
2331 | fi |
4531 | fi |
2332 | ;; |
4532 | ;; |
2333 | esac |
4533 | esac |
2334 | |
4534 | |
|
|
4535 | if test -n "$ac_tool_prefix"; then |
2335 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
4536 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
2336 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
4537 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
|
|
4538 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2337 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4539 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2338 | echo "configure:2339: checking for $ac_word" >&5 |
|
|
2339 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
4540 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
2340 | echo $ac_n "(cached) $ac_c" 1>&6 |
4541 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2341 | else |
4542 | else |
2342 | if test -n "$RANLIB"; then |
4543 | if test -n "$RANLIB"; then |
2343 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
4544 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2344 | else |
4545 | else |
2345 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
4546 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2346 | ac_dummy="$PATH" |
4547 | for as_dir in $PATH |
2347 | for ac_dir in $ac_dummy; do |
4548 | do |
|
|
4549 | IFS=$as_save_IFS |
2348 | test -z "$ac_dir" && ac_dir=. |
4550 | test -z "$as_dir" && as_dir=. |
2349 | if test -f $ac_dir/$ac_word; then |
4551 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4552 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2350 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
4553 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
|
|
4554 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2351 | break |
4555 | break 2 |
2352 | fi |
4556 | fi |
2353 | done |
4557 | done |
2354 | IFS="$ac_save_ifs" |
4558 | done |
|
|
4559 | |
2355 | fi |
4560 | fi |
2356 | fi |
4561 | fi |
2357 | RANLIB="$ac_cv_prog_RANLIB" |
4562 | RANLIB=$ac_cv_prog_RANLIB |
2358 | if test -n "$RANLIB"; then |
4563 | if test -n "$RANLIB"; then |
2359 | echo "$ac_t""$RANLIB" 1>&6 |
4564 | echo "$as_me:$LINENO: result: $RANLIB" >&5 |
|
|
4565 | echo "${ECHO_T}$RANLIB" >&6 |
2360 | else |
4566 | else |
2361 | echo "$ac_t""no" 1>&6 |
4567 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4568 | echo "${ECHO_T}no" >&6 |
2362 | fi |
4569 | fi |
2363 | |
4570 | |
2364 | |
4571 | fi |
2365 | if test -z "$ac_cv_prog_RANLIB"; then |
4572 | if test -z "$ac_cv_prog_RANLIB"; then |
2366 | if test -n "$ac_tool_prefix"; then |
4573 | ac_ct_RANLIB=$RANLIB |
2367 | # Extract the first word of "ranlib", so it can be a program name with args. |
4574 | # Extract the first word of "ranlib", so it can be a program name with args. |
2368 | set dummy ranlib; ac_word=$2 |
4575 | set dummy ranlib; ac_word=$2 |
|
|
4576 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2369 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4577 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2370 | echo "configure:2371: checking for $ac_word" >&5 |
|
|
2371 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
4578 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
2372 | echo $ac_n "(cached) $ac_c" 1>&6 |
4579 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2373 | else |
4580 | else |
2374 | if test -n "$RANLIB"; then |
4581 | if test -n "$ac_ct_RANLIB"; then |
2375 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
4582 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
2376 | else |
4583 | else |
2377 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
4584 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2378 | ac_dummy="$PATH" |
4585 | for as_dir in $PATH |
2379 | for ac_dir in $ac_dummy; do |
4586 | do |
|
|
4587 | IFS=$as_save_IFS |
2380 | test -z "$ac_dir" && ac_dir=. |
4588 | test -z "$as_dir" && as_dir=. |
2381 | if test -f $ac_dir/$ac_word; then |
4589 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4590 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2382 | ac_cv_prog_RANLIB="ranlib" |
4591 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
|
|
4592 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2383 | break |
4593 | break 2 |
2384 | fi |
4594 | fi |
2385 | done |
4595 | done |
2386 | IFS="$ac_save_ifs" |
4596 | done |
|
|
4597 | |
2387 | test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" |
4598 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
2388 | fi |
4599 | fi |
2389 | fi |
4600 | fi |
|
|
4601 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
|
4602 | if test -n "$ac_ct_RANLIB"; then |
|
|
4603 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
|
|
4604 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
|
|
4605 | else |
|
|
4606 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4607 | echo "${ECHO_T}no" >&6 |
|
|
4608 | fi |
|
|
4609 | |
|
|
4610 | RANLIB=$ac_ct_RANLIB |
|
|
4611 | else |
2390 | RANLIB="$ac_cv_prog_RANLIB" |
4612 | RANLIB="$ac_cv_prog_RANLIB" |
2391 | if test -n "$RANLIB"; then |
|
|
2392 | echo "$ac_t""$RANLIB" 1>&6 |
|
|
2393 | else |
|
|
2394 | echo "$ac_t""no" 1>&6 |
|
|
2395 | fi |
4613 | fi |
2396 | |
4614 | |
2397 | else |
4615 | if test -n "$ac_tool_prefix"; then |
2398 | RANLIB=":" |
|
|
2399 | fi |
|
|
2400 | fi |
|
|
2401 | |
|
|
2402 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
4616 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2403 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
4617 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
|
4618 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2404 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4619 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2405 | echo "configure:2406: checking for $ac_word" >&5 |
|
|
2406 | if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then |
4620 | if test "${ac_cv_prog_STRIP+set}" = set; then |
2407 | echo $ac_n "(cached) $ac_c" 1>&6 |
4621 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2408 | else |
4622 | else |
2409 | if test -n "$STRIP"; then |
4623 | if test -n "$STRIP"; then |
2410 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
4624 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
2411 | else |
4625 | else |
2412 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
4626 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2413 | ac_dummy="$PATH" |
4627 | for as_dir in $PATH |
2414 | for ac_dir in $ac_dummy; do |
4628 | do |
|
|
4629 | IFS=$as_save_IFS |
2415 | test -z "$ac_dir" && ac_dir=. |
4630 | test -z "$as_dir" && as_dir=. |
2416 | if test -f $ac_dir/$ac_word; then |
4631 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4632 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2417 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
4633 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
|
4634 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2418 | break |
4635 | break 2 |
2419 | fi |
4636 | fi |
2420 | done |
4637 | done |
2421 | IFS="$ac_save_ifs" |
4638 | done |
|
|
4639 | |
2422 | fi |
4640 | fi |
2423 | fi |
4641 | fi |
2424 | STRIP="$ac_cv_prog_STRIP" |
4642 | STRIP=$ac_cv_prog_STRIP |
2425 | if test -n "$STRIP"; then |
4643 | if test -n "$STRIP"; then |
2426 | echo "$ac_t""$STRIP" 1>&6 |
4644 | echo "$as_me:$LINENO: result: $STRIP" >&5 |
|
|
4645 | echo "${ECHO_T}$STRIP" >&6 |
2427 | else |
4646 | else |
2428 | echo "$ac_t""no" 1>&6 |
4647 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4648 | echo "${ECHO_T}no" >&6 |
2429 | fi |
4649 | fi |
2430 | |
4650 | |
2431 | |
4651 | fi |
2432 | if test -z "$ac_cv_prog_STRIP"; then |
4652 | if test -z "$ac_cv_prog_STRIP"; then |
2433 | if test -n "$ac_tool_prefix"; then |
4653 | ac_ct_STRIP=$STRIP |
2434 | # Extract the first word of "strip", so it can be a program name with args. |
4654 | # Extract the first word of "strip", so it can be a program name with args. |
2435 | set dummy strip; ac_word=$2 |
4655 | set dummy strip; ac_word=$2 |
|
|
4656 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2436 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4657 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2437 | echo "configure:2438: checking for $ac_word" >&5 |
|
|
2438 | if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then |
4658 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
2439 | echo $ac_n "(cached) $ac_c" 1>&6 |
4659 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2440 | else |
4660 | else |
2441 | if test -n "$STRIP"; then |
4661 | if test -n "$ac_ct_STRIP"; then |
2442 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
4662 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
2443 | else |
4663 | else |
2444 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
4664 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2445 | ac_dummy="$PATH" |
4665 | for as_dir in $PATH |
2446 | for ac_dir in $ac_dummy; do |
4666 | do |
|
|
4667 | IFS=$as_save_IFS |
2447 | test -z "$ac_dir" && ac_dir=. |
4668 | test -z "$as_dir" && as_dir=. |
2448 | if test -f $ac_dir/$ac_word; then |
4669 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4670 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2449 | ac_cv_prog_STRIP="strip" |
4671 | ac_cv_prog_ac_ct_STRIP="strip" |
|
|
4672 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2450 | break |
4673 | break 2 |
2451 | fi |
4674 | fi |
2452 | done |
4675 | done |
2453 | IFS="$ac_save_ifs" |
4676 | done |
|
|
4677 | |
2454 | test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":" |
4678 | test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
2455 | fi |
4679 | fi |
2456 | fi |
4680 | fi |
|
|
4681 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
|
4682 | if test -n "$ac_ct_STRIP"; then |
|
|
4683 | echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
|
|
4684 | echo "${ECHO_T}$ac_ct_STRIP" >&6 |
|
|
4685 | else |
|
|
4686 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4687 | echo "${ECHO_T}no" >&6 |
|
|
4688 | fi |
|
|
4689 | |
|
|
4690 | STRIP=$ac_ct_STRIP |
|
|
4691 | else |
2457 | STRIP="$ac_cv_prog_STRIP" |
4692 | STRIP="$ac_cv_prog_STRIP" |
2458 | if test -n "$STRIP"; then |
|
|
2459 | echo "$ac_t""$STRIP" 1>&6 |
|
|
2460 | else |
|
|
2461 | echo "$ac_t""no" 1>&6 |
|
|
2462 | fi |
|
|
2463 | |
|
|
2464 | else |
|
|
2465 | STRIP=":" |
|
|
2466 | fi |
|
|
2467 | fi |
4693 | fi |
2468 | |
4694 | |
2469 | |
4695 | |
2470 | enable_dlopen=no |
4696 | enable_dlopen=no |
2471 | enable_win32_dll=no |
4697 | enable_win32_dll=no |
2472 | |
4698 | |
2473 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
4699 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
2474 | if test "${enable_libtool_lock+set}" = set; then |
4700 | if test "${enable_libtool_lock+set}" = set; then |
2475 | enableval="$enable_libtool_lock" |
4701 | enableval="$enable_libtool_lock" |
2476 | : |
4702 | |
2477 | fi |
4703 | fi; |
2478 | |
|
|
2479 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
4704 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
2480 | |
4705 | |
2481 | # Some flags need to be propagated to the compiler or linker for good |
4706 | # Some flags need to be propagated to the compiler or linker for good |
2482 | # libtool support. |
4707 | # libtool support. |
2483 | case "$host" in |
4708 | case "$host" in |
2484 | *-*-irix6*) |
4709 | *-*-irix6*) |
2485 | # Find out which ABI we are using. |
4710 | # Find out which ABI we are using. |
2486 | echo '#line 2487 "configure"' > conftest.$ac_ext |
4711 | echo '#line 4711 "configure"' > conftest.$ac_ext |
2487 | if { (eval echo configure:2488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4712 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
4713 | (eval $ac_compile) 2>&5 |
|
|
4714 | ac_status=$? |
|
|
4715 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4716 | (exit $ac_status); }; then |
2488 | case "`/usr/bin/file conftest.$ac_objext`" in |
4717 | case "`/usr/bin/file conftest.$ac_objext`" in |
2489 | *32-bit*) |
4718 | *32-bit*) |
2490 | LD="${LD-ld} -32" |
4719 | LD="${LD-ld} -32" |
2491 | ;; |
4720 | ;; |
2492 | *N32*) |
4721 | *N32*) |
… | |
… | |
2502 | |
4731 | |
2503 | *-*-sco3.2v5*) |
4732 | *-*-sco3.2v5*) |
2504 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
4733 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
2505 | SAVE_CFLAGS="$CFLAGS" |
4734 | SAVE_CFLAGS="$CFLAGS" |
2506 | CFLAGS="$CFLAGS -belf" |
4735 | CFLAGS="$CFLAGS -belf" |
|
|
4736 | echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 |
2507 | echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 |
4737 | echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 |
2508 | echo "configure:2509: checking whether the C compiler needs -belf" >&5 |
|
|
2509 | if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then |
4738 | if test "${lt_cv_cc_needs_belf+set}" = set; then |
2510 | echo $ac_n "(cached) $ac_c" 1>&6 |
4739 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2511 | else |
4740 | else |
2512 | |
4741 | |
|
|
4742 | |
2513 | ac_ext=c |
4743 | ac_ext=c |
2514 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
2515 | ac_cpp='$CPP $CPPFLAGS' |
4744 | ac_cpp='$CPP $CPPFLAGS' |
2516 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
4745 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2517 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
4746 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2518 | cross_compiling=$ac_cv_prog_cc_cross |
4747 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2519 | |
4748 | |
2520 | cat > conftest.$ac_ext <<EOF |
4749 | cat >conftest.$ac_ext <<_ACEOF |
2521 | #line 2522 "configure" |
4750 | /* confdefs.h. */ |
2522 | #include "confdefs.h" |
4751 | _ACEOF |
|
|
4752 | cat confdefs.h >>conftest.$ac_ext |
|
|
4753 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4754 | /* end confdefs.h. */ |
2523 | |
4755 | |
2524 | int main() { |
4756 | int |
|
|
4757 | main () |
|
|
4758 | { |
2525 | |
4759 | |
|
|
4760 | ; |
2526 | ; return 0; } |
4761 | return 0; |
2527 | EOF |
4762 | } |
2528 | if { (eval echo configure:2529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4763 | _ACEOF |
|
|
4764 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
4765 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
4766 | (eval $ac_link) 2>conftest.er1 |
|
|
4767 | ac_status=$? |
|
|
4768 | grep -v '^ *+' conftest.er1 >conftest.err |
2529 | rm -rf conftest* |
4769 | rm -f conftest.er1 |
|
|
4770 | cat conftest.err >&5 |
|
|
4771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4772 | (exit $ac_status); } && |
|
|
4773 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
4774 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4775 | (eval $ac_try) 2>&5 |
|
|
4776 | ac_status=$? |
|
|
4777 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4778 | (exit $ac_status); }; } && |
|
|
4779 | { ac_try='test -s conftest$ac_exeext' |
|
|
4780 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4781 | (eval $ac_try) 2>&5 |
|
|
4782 | ac_status=$? |
|
|
4783 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4784 | (exit $ac_status); }; }; then |
2530 | lt_cv_cc_needs_belf=yes |
4785 | lt_cv_cc_needs_belf=yes |
2531 | else |
4786 | else |
2532 | echo "configure: failed program was:" >&5 |
4787 | echo "$as_me: failed program was:" >&5 |
2533 | cat conftest.$ac_ext >&5 |
4788 | sed 's/^/| /' conftest.$ac_ext >&5 |
2534 | rm -rf conftest* |
4789 | |
2535 | lt_cv_cc_needs_belf=no |
4790 | lt_cv_cc_needs_belf=no |
2536 | fi |
4791 | fi |
2537 | rm -f conftest* |
4792 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4793 | conftest$ac_exeext conftest.$ac_ext |
2538 | ac_ext=c |
4794 | ac_ext=c |
2539 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
2540 | ac_cpp='$CPP $CPPFLAGS' |
4795 | ac_cpp='$CPP $CPPFLAGS' |
2541 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
4796 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2542 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
4797 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2543 | cross_compiling=$ac_cv_prog_cc_cross |
4798 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2544 | |
4799 | |
2545 | fi |
4800 | fi |
2546 | |
4801 | echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 |
2547 | echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 |
4802 | echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 |
2548 | if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
4803 | if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
2549 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
4804 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
2550 | CFLAGS="$SAVE_CFLAGS" |
4805 | CFLAGS="$SAVE_CFLAGS" |
2551 | fi |
4806 | fi |
2552 | ;; |
4807 | ;; |
… | |
… | |
2637 | set dummy $CC |
4892 | set dummy $CC |
2638 | compiler="$2" |
4893 | compiler="$2" |
2639 | |
4894 | |
2640 | ## FIXME: this should be a separate macro |
4895 | ## FIXME: this should be a separate macro |
2641 | ## |
4896 | ## |
|
|
4897 | echo "$as_me:$LINENO: checking for objdir" >&5 |
2642 | echo $ac_n "checking for objdir""... $ac_c" 1>&6 |
4898 | echo $ECHO_N "checking for objdir... $ECHO_C" >&6 |
2643 | echo "configure:2644: checking for objdir" >&5 |
|
|
2644 | rm -f .libs 2>/dev/null |
4899 | rm -f .libs 2>/dev/null |
2645 | mkdir .libs 2>/dev/null |
4900 | mkdir .libs 2>/dev/null |
2646 | if test -d .libs; then |
4901 | if test -d .libs; then |
2647 | objdir=.libs |
4902 | objdir=.libs |
2648 | else |
4903 | else |
2649 | # MS-DOS does not allow filenames that begin with a dot. |
4904 | # MS-DOS does not allow filenames that begin with a dot. |
2650 | objdir=_libs |
4905 | objdir=_libs |
2651 | fi |
4906 | fi |
2652 | rmdir .libs 2>/dev/null |
4907 | rmdir .libs 2>/dev/null |
|
|
4908 | echo "$as_me:$LINENO: result: $objdir" >&5 |
2653 | echo "$ac_t""$objdir" 1>&6 |
4909 | echo "${ECHO_T}$objdir" >&6 |
2654 | ## |
4910 | ## |
2655 | ## END FIXME |
4911 | ## END FIXME |
2656 | |
4912 | |
2657 | |
4913 | |
2658 | ## FIXME: this should be a separate macro |
4914 | ## FIXME: this should be a separate macro |
2659 | ## |
4915 | ## |
|
|
4916 | |
2660 | # Check whether --with-pic or --without-pic was given. |
4917 | # Check whether --with-pic or --without-pic was given. |
2661 | if test "${with_pic+set}" = set; then |
4918 | if test "${with_pic+set}" = set; then |
2662 | withval="$with_pic" |
4919 | withval="$with_pic" |
2663 | pic_mode="$withval" |
4920 | pic_mode="$withval" |
2664 | else |
4921 | else |
2665 | pic_mode=default |
4922 | pic_mode=default |
2666 | fi |
4923 | fi; |
2667 | |
|
|
2668 | test -z "$pic_mode" && pic_mode=default |
4924 | test -z "$pic_mode" && pic_mode=default |
2669 | |
4925 | |
2670 | # We assume here that the value for lt_cv_prog_cc_pic will not be cached |
4926 | # We assume here that the value for lt_cv_prog_cc_pic will not be cached |
2671 | # in isolation, and that seeing it set (from the cache) indicates that |
4927 | # in isolation, and that seeing it set (from the cache) indicates that |
2672 | # the associated values are set (in the cache) correctly too. |
4928 | # the associated values are set (in the cache) correctly too. |
|
|
4929 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
2673 | echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6 |
4930 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 |
2674 | echo "configure:2675: checking for $compiler option to produce PIC" >&5 |
|
|
2675 | if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then |
4931 | if test "${lt_cv_prog_cc_pic+set}" = set; then |
2676 | echo $ac_n "(cached) $ac_c" 1>&6 |
4932 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2677 | else |
4933 | else |
2678 | lt_cv_prog_cc_pic= |
4934 | lt_cv_prog_cc_pic= |
2679 | lt_cv_prog_cc_shlib= |
4935 | lt_cv_prog_cc_shlib= |
2680 | lt_cv_prog_cc_wl= |
4936 | lt_cv_prog_cc_wl= |
2681 | lt_cv_prog_cc_static= |
4937 | lt_cv_prog_cc_static= |
… | |
… | |
2804 | fi |
5060 | fi |
2805 | |
5061 | |
2806 | fi |
5062 | fi |
2807 | |
5063 | |
2808 | if test -z "$lt_cv_prog_cc_pic"; then |
5064 | if test -z "$lt_cv_prog_cc_pic"; then |
2809 | echo "$ac_t""none" 1>&6 |
5065 | echo "$as_me:$LINENO: result: none" >&5 |
|
|
5066 | echo "${ECHO_T}none" >&6 |
2810 | else |
5067 | else |
|
|
5068 | echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5 |
2811 | echo "$ac_t""$lt_cv_prog_cc_pic" 1>&6 |
5069 | echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 |
2812 | |
5070 | |
2813 | # Check to make sure the pic_flag actually works. |
5071 | # Check to make sure the pic_flag actually works. |
|
|
5072 | echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 |
2814 | echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6 |
5073 | echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 |
2815 | echo "configure:2816: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 |
|
|
2816 | if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then |
5074 | if test "${lt_cv_prog_cc_pic_works+set}" = set; then |
2817 | echo $ac_n "(cached) $ac_c" 1>&6 |
5075 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2818 | else |
5076 | else |
2819 | save_CFLAGS="$CFLAGS" |
5077 | save_CFLAGS="$CFLAGS" |
2820 | CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" |
5078 | CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" |
2821 | cat > conftest.$ac_ext <<EOF |
5079 | cat >conftest.$ac_ext <<_ACEOF |
2822 | #line 2823 "configure" |
5080 | /* confdefs.h. */ |
2823 | #include "confdefs.h" |
5081 | _ACEOF |
|
|
5082 | cat confdefs.h >>conftest.$ac_ext |
|
|
5083 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5084 | /* end confdefs.h. */ |
2824 | |
5085 | |
2825 | int main() { |
5086 | int |
|
|
5087 | main () |
|
|
5088 | { |
2826 | |
5089 | |
|
|
5090 | ; |
2827 | ; return 0; } |
5091 | return 0; |
2828 | EOF |
5092 | } |
2829 | if { (eval echo configure:2830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5093 | _ACEOF |
|
|
5094 | rm -f conftest.$ac_objext |
|
|
5095 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
5096 | (eval $ac_compile) 2>conftest.er1 |
|
|
5097 | ac_status=$? |
|
|
5098 | grep -v '^ *+' conftest.er1 >conftest.err |
2830 | rm -rf conftest* |
5099 | rm -f conftest.er1 |
|
|
5100 | cat conftest.err >&5 |
|
|
5101 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5102 | (exit $ac_status); } && |
|
|
5103 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
5104 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5105 | (eval $ac_try) 2>&5 |
|
|
5106 | ac_status=$? |
|
|
5107 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5108 | (exit $ac_status); }; } && |
|
|
5109 | { ac_try='test -s conftest.$ac_objext' |
|
|
5110 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5111 | (eval $ac_try) 2>&5 |
|
|
5112 | ac_status=$? |
|
|
5113 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5114 | (exit $ac_status); }; }; then |
2831 | case "$host_os" in |
5115 | case "$host_os" in |
2832 | hpux9* | hpux10* | hpux11*) |
5116 | hpux9* | hpux10* | hpux11*) |
2833 | # On HP-UX, both CC and GCC only warn that PIC is supported... then |
5117 | # On HP-UX, both CC and GCC only warn that PIC is supported... then |
2834 | # they create non-PIC objects. So, if there were any warnings, we |
5118 | # they create non-PIC objects. So, if there were any warnings, we |
2835 | # assume that PIC is not supported. |
5119 | # assume that PIC is not supported. |
… | |
… | |
2841 | ;; |
5125 | ;; |
2842 | *) |
5126 | *) |
2843 | lt_cv_prog_cc_pic_works=yes |
5127 | lt_cv_prog_cc_pic_works=yes |
2844 | ;; |
5128 | ;; |
2845 | esac |
5129 | esac |
2846 | |
5130 | |
2847 | else |
5131 | else |
2848 | echo "configure: failed program was:" >&5 |
5132 | echo "$as_me: failed program was:" >&5 |
2849 | cat conftest.$ac_ext >&5 |
5133 | sed 's/^/| /' conftest.$ac_ext >&5 |
2850 | rm -rf conftest* |
5134 | |
2851 | lt_cv_prog_cc_pic_works=no |
5135 | lt_cv_prog_cc_pic_works=no |
2852 | |
5136 | |
2853 | fi |
5137 | fi |
2854 | rm -f conftest* |
5138 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2855 | CFLAGS="$save_CFLAGS" |
5139 | CFLAGS="$save_CFLAGS" |
2856 | |
5140 | |
2857 | fi |
5141 | fi |
2858 | |
5142 | |
2859 | |
5143 | |
2860 | if test "X$lt_cv_prog_cc_pic_works" = Xno; then |
5144 | if test "X$lt_cv_prog_cc_pic_works" = Xno; then |
2861 | lt_cv_prog_cc_pic= |
5145 | lt_cv_prog_cc_pic= |
2862 | lt_cv_prog_cc_can_build_shared=no |
5146 | lt_cv_prog_cc_can_build_shared=no |
2863 | else |
5147 | else |
2864 | lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" |
5148 | lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" |
2865 | fi |
5149 | fi |
2866 | |
5150 | |
|
|
5151 | echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5 |
2867 | echo "$ac_t""$lt_cv_prog_cc_pic_works" 1>&6 |
5152 | echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 |
2868 | fi |
5153 | fi |
2869 | ## |
5154 | ## |
2870 | ## END FIXME |
5155 | ## END FIXME |
2871 | |
5156 | |
2872 | # Check for any special shared library compilation flags. |
5157 | # Check for any special shared library compilation flags. |
2873 | if test -n "$lt_cv_prog_cc_shlib"; then |
5158 | if test -n "$lt_cv_prog_cc_shlib"; then |
|
|
5159 | { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 |
2874 | echo "configure: warning: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" 1>&2 |
5160 | echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} |
2875 | if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then : |
5161 | if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then : |
2876 | else |
5162 | else |
|
|
5163 | { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 |
2877 | echo "configure: warning: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" 1>&2 |
5164 | echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} |
2878 | lt_cv_prog_cc_can_build_shared=no |
5165 | lt_cv_prog_cc_can_build_shared=no |
2879 | fi |
5166 | fi |
2880 | fi |
5167 | fi |
2881 | |
5168 | |
2882 | ## FIXME: this should be a separate macro |
5169 | ## FIXME: this should be a separate macro |
2883 | ## |
5170 | ## |
|
|
5171 | echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 |
2884 | echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6 |
5172 | echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 |
2885 | echo "configure:2886: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 |
|
|
2886 | if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then |
5173 | if test "${lt_cv_prog_cc_static_works+set}" = set; then |
2887 | echo $ac_n "(cached) $ac_c" 1>&6 |
5174 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2888 | else |
5175 | else |
2889 | lt_cv_prog_cc_static_works=no |
5176 | lt_cv_prog_cc_static_works=no |
2890 | save_LDFLAGS="$LDFLAGS" |
5177 | save_LDFLAGS="$LDFLAGS" |
2891 | LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" |
5178 | LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" |
2892 | cat > conftest.$ac_ext <<EOF |
5179 | cat >conftest.$ac_ext <<_ACEOF |
2893 | #line 2894 "configure" |
5180 | /* confdefs.h. */ |
2894 | #include "confdefs.h" |
5181 | _ACEOF |
|
|
5182 | cat confdefs.h >>conftest.$ac_ext |
|
|
5183 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5184 | /* end confdefs.h. */ |
2895 | |
5185 | |
2896 | int main() { |
5186 | int |
|
|
5187 | main () |
|
|
5188 | { |
2897 | |
5189 | |
|
|
5190 | ; |
2898 | ; return 0; } |
5191 | return 0; |
2899 | EOF |
5192 | } |
2900 | if { (eval echo configure:2901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5193 | _ACEOF |
|
|
5194 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5195 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
5196 | (eval $ac_link) 2>conftest.er1 |
|
|
5197 | ac_status=$? |
|
|
5198 | grep -v '^ *+' conftest.er1 >conftest.err |
2901 | rm -rf conftest* |
5199 | rm -f conftest.er1 |
|
|
5200 | cat conftest.err >&5 |
|
|
5201 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5202 | (exit $ac_status); } && |
|
|
5203 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
5204 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5205 | (eval $ac_try) 2>&5 |
|
|
5206 | ac_status=$? |
|
|
5207 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5208 | (exit $ac_status); }; } && |
|
|
5209 | { ac_try='test -s conftest$ac_exeext' |
|
|
5210 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5211 | (eval $ac_try) 2>&5 |
|
|
5212 | ac_status=$? |
|
|
5213 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5214 | (exit $ac_status); }; }; then |
2902 | lt_cv_prog_cc_static_works=yes |
5215 | lt_cv_prog_cc_static_works=yes |
2903 | else |
5216 | else |
2904 | echo "configure: failed program was:" >&5 |
5217 | echo "$as_me: failed program was:" >&5 |
2905 | cat conftest.$ac_ext >&5 |
5218 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5219 | |
2906 | fi |
5220 | fi |
2907 | rm -f conftest* |
5221 | rm -f conftest.err conftest.$ac_objext \ |
|
|
5222 | conftest$ac_exeext conftest.$ac_ext |
2908 | LDFLAGS="$save_LDFLAGS" |
5223 | LDFLAGS="$save_LDFLAGS" |
2909 | |
5224 | |
2910 | fi |
5225 | fi |
2911 | |
5226 | |
2912 | |
5227 | |
2913 | # Belt *and* braces to stop my trousers falling down: |
5228 | # Belt *and* braces to stop my trousers falling down: |
2914 | test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= |
5229 | test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= |
|
|
5230 | echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5 |
2915 | echo "$ac_t""$lt_cv_prog_cc_static_works" 1>&6 |
5231 | echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 |
2916 | |
5232 | |
2917 | pic_flag="$lt_cv_prog_cc_pic" |
5233 | pic_flag="$lt_cv_prog_cc_pic" |
2918 | special_shlib_compile_flags="$lt_cv_prog_cc_shlib" |
5234 | special_shlib_compile_flags="$lt_cv_prog_cc_shlib" |
2919 | wl="$lt_cv_prog_cc_wl" |
5235 | wl="$lt_cv_prog_cc_wl" |
2920 | link_static_flag="$lt_cv_prog_cc_static" |
5236 | link_static_flag="$lt_cv_prog_cc_static" |
… | |
… | |
2925 | |
5241 | |
2926 | |
5242 | |
2927 | ## FIXME: this should be a separate macro |
5243 | ## FIXME: this should be a separate macro |
2928 | ## |
5244 | ## |
2929 | # Check to see if options -o and -c are simultaneously supported by compiler |
5245 | # Check to see if options -o and -c are simultaneously supported by compiler |
|
|
5246 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
2930 | echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6 |
5247 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
2931 | echo "configure:2932: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
|
2932 | $rm -r conftest 2>/dev/null |
5248 | $rm -r conftest 2>/dev/null |
2933 | mkdir conftest |
5249 | mkdir conftest |
2934 | cd conftest |
5250 | cd conftest |
2935 | echo "int some_variable = 0;" > conftest.$ac_ext |
5251 | echo "int some_variable = 0;" > conftest.$ac_ext |
2936 | mkdir out |
5252 | mkdir out |
… | |
… | |
2941 | # builds. |
5257 | # builds. |
2942 | chmod -w . |
5258 | chmod -w . |
2943 | save_CFLAGS="$CFLAGS" |
5259 | save_CFLAGS="$CFLAGS" |
2944 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5260 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
2945 | compiler_c_o=no |
5261 | compiler_c_o=no |
2946 | if { (eval echo configure:2947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then |
5262 | if { (eval echo configure:5262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then |
2947 | # The compiler can only warn and ignore the option if not recognized |
5263 | # The compiler can only warn and ignore the option if not recognized |
2948 | # So say no if there are warnings |
5264 | # So say no if there are warnings |
2949 | if test -s out/conftest.err; then |
5265 | if test -s out/conftest.err; then |
2950 | compiler_c_o=no |
5266 | compiler_c_o=no |
2951 | else |
5267 | else |
… | |
… | |
2954 | else |
5270 | else |
2955 | # Append any errors to the config.log. |
5271 | # Append any errors to the config.log. |
2956 | cat out/conftest.err 1>&5 |
5272 | cat out/conftest.err 1>&5 |
2957 | compiler_c_o=no |
5273 | compiler_c_o=no |
2958 | fi |
5274 | fi |
|
|
5275 | echo "$as_me:$LINENO: result: $compiler_c_o" >&5 |
2959 | echo "$ac_t""$compiler_c_o" 1>&6 |
5276 | echo "${ECHO_T}$compiler_c_o" >&6 |
2960 | CFLAGS="$save_CFLAGS" |
5277 | CFLAGS="$save_CFLAGS" |
2961 | chmod u+w . |
5278 | chmod u+w . |
2962 | $rm conftest* out/* |
5279 | $rm conftest* out/* |
2963 | rmdir out |
5280 | rmdir out |
2964 | cd .. |
5281 | cd .. |
2965 | rmdir conftest |
5282 | rmdir conftest |
2966 | $rm -r conftest 2>/dev/null |
5283 | $rm -r conftest 2>/dev/null |
2967 | |
5284 | |
2968 | if test x"$compiler_c_o" = x"yes"; then |
5285 | if test x"$compiler_c_o" = x"yes"; then |
2969 | # Check to see if we can write to a .lo |
5286 | # Check to see if we can write to a .lo |
|
|
5287 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5 |
2970 | echo $ac_n "checking if $compiler supports -c -o file.lo""... $ac_c" 1>&6 |
5288 | echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 |
2971 | echo "configure:2972: checking if $compiler supports -c -o file.lo" >&5 |
|
|
2972 | compiler_o_lo=no |
5289 | compiler_o_lo=no |
2973 | save_CFLAGS="$CFLAGS" |
5290 | save_CFLAGS="$CFLAGS" |
2974 | CFLAGS="$CFLAGS -c -o conftest.lo" |
5291 | CFLAGS="$CFLAGS -c -o conftest.lo" |
2975 | cat > conftest.$ac_ext <<EOF |
5292 | cat >conftest.$ac_ext <<_ACEOF |
2976 | #line 2977 "configure" |
5293 | /* confdefs.h. */ |
2977 | #include "confdefs.h" |
5294 | _ACEOF |
|
|
5295 | cat confdefs.h >>conftest.$ac_ext |
|
|
5296 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5297 | /* end confdefs.h. */ |
2978 | |
5298 | |
2979 | int main() { |
5299 | int |
|
|
5300 | main () |
|
|
5301 | { |
2980 | int some_variable = 0; |
5302 | int some_variable = 0; |
|
|
5303 | ; |
2981 | ; return 0; } |
5304 | return 0; |
2982 | EOF |
5305 | } |
2983 | if { (eval echo configure:2984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5306 | _ACEOF |
|
|
5307 | rm -f conftest.$ac_objext |
|
|
5308 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
5309 | (eval $ac_compile) 2>conftest.er1 |
|
|
5310 | ac_status=$? |
|
|
5311 | grep -v '^ *+' conftest.er1 >conftest.err |
2984 | rm -rf conftest* |
5312 | rm -f conftest.er1 |
|
|
5313 | cat conftest.err >&5 |
|
|
5314 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5315 | (exit $ac_status); } && |
|
|
5316 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
5317 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5318 | (eval $ac_try) 2>&5 |
|
|
5319 | ac_status=$? |
|
|
5320 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5321 | (exit $ac_status); }; } && |
|
|
5322 | { ac_try='test -s conftest.$ac_objext' |
|
|
5323 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5324 | (eval $ac_try) 2>&5 |
|
|
5325 | ac_status=$? |
|
|
5326 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5327 | (exit $ac_status); }; }; then |
2985 | # The compiler can only warn and ignore the option if not recognized |
5328 | # The compiler can only warn and ignore the option if not recognized |
2986 | # So say no if there are warnings |
5329 | # So say no if there are warnings |
2987 | if test -s conftest.err; then |
5330 | if test -s conftest.err; then |
2988 | compiler_o_lo=no |
5331 | compiler_o_lo=no |
2989 | else |
5332 | else |
2990 | compiler_o_lo=yes |
5333 | compiler_o_lo=yes |
2991 | fi |
5334 | fi |
2992 | |
5335 | |
2993 | else |
5336 | else |
2994 | echo "configure: failed program was:" >&5 |
5337 | echo "$as_me: failed program was:" >&5 |
2995 | cat conftest.$ac_ext >&5 |
5338 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5339 | |
2996 | fi |
5340 | fi |
2997 | rm -f conftest* |
5341 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5342 | echo "$as_me:$LINENO: result: $compiler_c_o" >&5 |
2998 | echo "$ac_t""$compiler_c_o" 1>&6 |
5343 | echo "${ECHO_T}$compiler_c_o" >&6 |
2999 | CFLAGS="$save_CFLAGS" |
5344 | CFLAGS="$save_CFLAGS" |
3000 | else |
5345 | else |
3001 | compiler_o_lo=no |
5346 | compiler_o_lo=no |
3002 | fi |
5347 | fi |
3003 | ## |
5348 | ## |
… | |
… | |
3007 | ## |
5352 | ## |
3008 | # Check to see if we can do hard links to lock some files if needed |
5353 | # Check to see if we can do hard links to lock some files if needed |
3009 | hard_links="nottested" |
5354 | hard_links="nottested" |
3010 | if test "$compiler_c_o" = no && test "$need_locks" != no; then |
5355 | if test "$compiler_c_o" = no && test "$need_locks" != no; then |
3011 | # do not overwrite the value of need_locks provided by the user |
5356 | # do not overwrite the value of need_locks provided by the user |
|
|
5357 | echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
3012 | echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6 |
5358 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 |
3013 | echo "configure:3014: checking if we can lock with hard links" >&5 |
|
|
3014 | hard_links=yes |
5359 | hard_links=yes |
3015 | $rm conftest* |
5360 | $rm conftest* |
3016 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
5361 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
3017 | touch conftest.a |
5362 | touch conftest.a |
3018 | ln conftest.a conftest.b 2>&5 || hard_links=no |
5363 | ln conftest.a conftest.b 2>&5 || hard_links=no |
3019 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
5364 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
|
5365 | echo "$as_me:$LINENO: result: $hard_links" >&5 |
3020 | echo "$ac_t""$hard_links" 1>&6 |
5366 | echo "${ECHO_T}$hard_links" >&6 |
3021 | if test "$hard_links" = no; then |
5367 | if test "$hard_links" = no; then |
|
|
5368 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
3022 | echo "configure: warning: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" 1>&2 |
5369 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
3023 | need_locks=warn |
5370 | need_locks=warn |
3024 | fi |
5371 | fi |
3025 | else |
5372 | else |
3026 | need_locks=no |
5373 | need_locks=no |
3027 | fi |
5374 | fi |
… | |
… | |
3030 | |
5377 | |
3031 | ## FIXME: this should be a separate macro |
5378 | ## FIXME: this should be a separate macro |
3032 | ## |
5379 | ## |
3033 | if test "$GCC" = yes; then |
5380 | if test "$GCC" = yes; then |
3034 | # Check to see if options -fno-rtti -fno-exceptions are supported by compiler |
5381 | # Check to see if options -fno-rtti -fno-exceptions are supported by compiler |
|
|
5382 | echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
3035 | echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6 |
5383 | echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 |
3036 | echo "configure:3037: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
|
|
3037 | echo "int some_variable = 0;" > conftest.$ac_ext |
5384 | echo "int some_variable = 0;" > conftest.$ac_ext |
3038 | save_CFLAGS="$CFLAGS" |
5385 | save_CFLAGS="$CFLAGS" |
3039 | CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" |
5386 | CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" |
3040 | compiler_rtti_exceptions=no |
5387 | compiler_rtti_exceptions=no |
3041 | cat > conftest.$ac_ext <<EOF |
5388 | cat >conftest.$ac_ext <<_ACEOF |
3042 | #line 3043 "configure" |
5389 | /* confdefs.h. */ |
3043 | #include "confdefs.h" |
5390 | _ACEOF |
|
|
5391 | cat confdefs.h >>conftest.$ac_ext |
|
|
5392 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5393 | /* end confdefs.h. */ |
3044 | |
5394 | |
3045 | int main() { |
5395 | int |
|
|
5396 | main () |
|
|
5397 | { |
3046 | int some_variable = 0; |
5398 | int some_variable = 0; |
|
|
5399 | ; |
3047 | ; return 0; } |
5400 | return 0; |
3048 | EOF |
5401 | } |
3049 | if { (eval echo configure:3050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5402 | _ACEOF |
|
|
5403 | rm -f conftest.$ac_objext |
|
|
5404 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
5405 | (eval $ac_compile) 2>conftest.er1 |
|
|
5406 | ac_status=$? |
|
|
5407 | grep -v '^ *+' conftest.er1 >conftest.err |
3050 | rm -rf conftest* |
5408 | rm -f conftest.er1 |
|
|
5409 | cat conftest.err >&5 |
|
|
5410 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5411 | (exit $ac_status); } && |
|
|
5412 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
5413 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5414 | (eval $ac_try) 2>&5 |
|
|
5415 | ac_status=$? |
|
|
5416 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5417 | (exit $ac_status); }; } && |
|
|
5418 | { ac_try='test -s conftest.$ac_objext' |
|
|
5419 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5420 | (eval $ac_try) 2>&5 |
|
|
5421 | ac_status=$? |
|
|
5422 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5423 | (exit $ac_status); }; }; then |
3051 | # The compiler can only warn and ignore the option if not recognized |
5424 | # The compiler can only warn and ignore the option if not recognized |
3052 | # So say no if there are warnings |
5425 | # So say no if there are warnings |
3053 | if test -s conftest.err; then |
5426 | if test -s conftest.err; then |
3054 | compiler_rtti_exceptions=no |
5427 | compiler_rtti_exceptions=no |
3055 | else |
5428 | else |
3056 | compiler_rtti_exceptions=yes |
5429 | compiler_rtti_exceptions=yes |
3057 | fi |
5430 | fi |
3058 | |
5431 | |
3059 | else |
5432 | else |
3060 | echo "configure: failed program was:" >&5 |
5433 | echo "$as_me: failed program was:" >&5 |
3061 | cat conftest.$ac_ext >&5 |
5434 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5435 | |
3062 | fi |
5436 | fi |
3063 | rm -f conftest* |
5437 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3064 | CFLAGS="$save_CFLAGS" |
5438 | CFLAGS="$save_CFLAGS" |
|
|
5439 | echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5 |
3065 | echo "$ac_t""$compiler_rtti_exceptions" 1>&6 |
5440 | echo "${ECHO_T}$compiler_rtti_exceptions" >&6 |
3066 | |
5441 | |
3067 | if test "$compiler_rtti_exceptions" = "yes"; then |
5442 | if test "$compiler_rtti_exceptions" = "yes"; then |
3068 | no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' |
5443 | no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' |
3069 | else |
5444 | else |
3070 | no_builtin_flag=' -fno-builtin' |
5445 | no_builtin_flag=' -fno-builtin' |
… | |
… | |
3074 | ## END FIXME |
5449 | ## END FIXME |
3075 | |
5450 | |
3076 | ## FIXME: this should be a separate macro |
5451 | ## FIXME: this should be a separate macro |
3077 | ## |
5452 | ## |
3078 | # See if the linker supports building shared libraries. |
5453 | # See if the linker supports building shared libraries. |
|
|
5454 | echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5 |
3079 | echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6 |
5455 | echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 |
3080 | echo "configure:3081: checking whether the linker ($LD) supports shared libraries" >&5 |
|
|
3081 | |
5456 | |
3082 | allow_undefined_flag= |
5457 | allow_undefined_flag= |
3083 | no_undefined_flag= |
5458 | no_undefined_flag= |
3084 | need_lib_prefix=unknown |
5459 | need_lib_prefix=unknown |
3085 | need_version=unknown |
5460 | need_version=unknown |
… | |
… | |
3632 | *) |
6007 | *) |
3633 | ld_shlibs=no |
6008 | ld_shlibs=no |
3634 | ;; |
6009 | ;; |
3635 | esac |
6010 | esac |
3636 | fi |
6011 | fi |
|
|
6012 | echo "$as_me:$LINENO: result: $ld_shlibs" >&5 |
3637 | echo "$ac_t""$ld_shlibs" 1>&6 |
6013 | echo "${ECHO_T}$ld_shlibs" >&6 |
3638 | test "$ld_shlibs" = no && can_build_shared=no |
6014 | test "$ld_shlibs" = no && can_build_shared=no |
3639 | ## |
6015 | ## |
3640 | ## END FIXME |
6016 | ## END FIXME |
3641 | |
6017 | |
3642 | ## FIXME: this should be a separate macro |
6018 | ## FIXME: this should be a separate macro |
3643 | ## |
6019 | ## |
3644 | # Check hardcoding attributes. |
6020 | # Check hardcoding attributes. |
|
|
6021 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
3645 | echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6 |
6022 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
3646 | echo "configure:3647: checking how to hardcode library paths into programs" >&5 |
|
|
3647 | hardcode_action= |
6023 | hardcode_action= |
3648 | if test -n "$hardcode_libdir_flag_spec" || \ |
6024 | if test -n "$hardcode_libdir_flag_spec" || \ |
3649 | test -n "$runpath_var"; then |
6025 | test -n "$runpath_var"; then |
3650 | |
6026 | |
3651 | # We can hardcode non-existant directories. |
6027 | # We can hardcode non-existant directories. |
… | |
… | |
3664 | else |
6040 | else |
3665 | # We cannot hardcode anything, or else we can only hardcode existing |
6041 | # We cannot hardcode anything, or else we can only hardcode existing |
3666 | # directories. |
6042 | # directories. |
3667 | hardcode_action=unsupported |
6043 | hardcode_action=unsupported |
3668 | fi |
6044 | fi |
|
|
6045 | echo "$as_me:$LINENO: result: $hardcode_action" >&5 |
3669 | echo "$ac_t""$hardcode_action" 1>&6 |
6046 | echo "${ECHO_T}$hardcode_action" >&6 |
3670 | ## |
6047 | ## |
3671 | ## END FIXME |
6048 | ## END FIXME |
3672 | |
6049 | |
3673 | ## FIXME: this should be a separate macro |
6050 | ## FIXME: this should be a separate macro |
3674 | ## |
6051 | ## |
3675 | striplib= |
6052 | striplib= |
3676 | old_striplib= |
6053 | old_striplib= |
|
|
6054 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
3677 | echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6 |
6055 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
3678 | echo "configure:3679: checking whether stripping libraries is possible" >&5 |
|
|
3679 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
6056 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
3680 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
6057 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
3681 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
6058 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
3682 | echo "$ac_t""yes" 1>&6 |
6059 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
6060 | echo "${ECHO_T}yes" >&6 |
3683 | else |
6061 | else |
3684 | echo "$ac_t""no" 1>&6 |
6062 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
6063 | echo "${ECHO_T}no" >&6 |
3685 | fi |
6064 | fi |
3686 | ## |
6065 | ## |
3687 | ## END FIXME |
6066 | ## END FIXME |
3688 | |
6067 | |
3689 | reload_cmds='$LD$reload_flag -o $output$reload_objs' |
6068 | reload_cmds='$LD$reload_flag -o $output$reload_objs' |
3690 | test -z "$deplibs_check_method" && deplibs_check_method=unknown |
6069 | test -z "$deplibs_check_method" && deplibs_check_method=unknown |
3691 | |
6070 | |
3692 | ## FIXME: this should be a separate macro |
6071 | ## FIXME: this should be a separate macro |
3693 | ## |
6072 | ## |
3694 | # PORTME Fill in your ld.so characteristics |
6073 | # PORTME Fill in your ld.so characteristics |
|
|
6074 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
3695 | echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6 |
6075 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
3696 | echo "configure:3697: checking dynamic linker characteristics" >&5 |
|
|
3697 | library_names_spec= |
6076 | library_names_spec= |
3698 | libname_spec='lib$name' |
6077 | libname_spec='lib$name' |
3699 | soname_spec= |
6078 | soname_spec= |
3700 | postinstall_cmds= |
6079 | postinstall_cmds= |
3701 | postuninstall_cmds= |
6080 | postuninstall_cmds= |
… | |
… | |
4017 | |
6396 | |
4018 | *) |
6397 | *) |
4019 | dynamic_linker=no |
6398 | dynamic_linker=no |
4020 | ;; |
6399 | ;; |
4021 | esac |
6400 | esac |
|
|
6401 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
4022 | echo "$ac_t""$dynamic_linker" 1>&6 |
6402 | echo "${ECHO_T}$dynamic_linker" >&6 |
4023 | test "$dynamic_linker" = no && can_build_shared=no |
6403 | test "$dynamic_linker" = no && can_build_shared=no |
4024 | ## |
6404 | ## |
4025 | ## END FIXME |
6405 | ## END FIXME |
4026 | |
6406 | |
4027 | ## FIXME: this should be a separate macro |
6407 | ## FIXME: this should be a separate macro |
4028 | ## |
6408 | ## |
4029 | # Report the final consequences. |
6409 | # Report the final consequences. |
|
|
6410 | echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
4030 | echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6 |
6411 | echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 |
4031 | echo "configure:4032: checking if libtool supports shared libraries" >&5 |
6412 | echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
4032 | echo "$ac_t""$can_build_shared" 1>&6 |
6413 | echo "${ECHO_T}$can_build_shared" >&6 |
4033 | ## |
6414 | ## |
4034 | ## END FIXME |
6415 | ## END FIXME |
4035 | |
6416 | |
4036 | if test "$hardcode_action" = relink; then |
6417 | if test "$hardcode_action" = relink; then |
4037 | # Fast installation is not supported |
6418 | # Fast installation is not supported |
… | |
… | |
4066 | lt_cv_dlopen="LoadLibrary" |
6447 | lt_cv_dlopen="LoadLibrary" |
4067 | lt_cv_dlopen_libs= |
6448 | lt_cv_dlopen_libs= |
4068 | ;; |
6449 | ;; |
4069 | |
6450 | |
4070 | *) |
6451 | *) |
|
|
6452 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
4071 | echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
6453 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
4072 | echo "configure:4073: checking for dlopen in -ldl" >&5 |
6454 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
4073 | ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
|
|
4074 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
4075 | echo $ac_n "(cached) $ac_c" 1>&6 |
6455 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4076 | else |
6456 | else |
4077 | ac_save_LIBS="$LIBS" |
6457 | ac_check_lib_save_LIBS=$LIBS |
4078 | LIBS="-ldl $LIBS" |
6458 | LIBS="-ldl $LIBS" |
4079 | cat > conftest.$ac_ext <<EOF |
6459 | cat >conftest.$ac_ext <<_ACEOF |
4080 | #line 4081 "configure" |
6460 | /* confdefs.h. */ |
4081 | #include "confdefs.h" |
6461 | _ACEOF |
|
|
6462 | cat confdefs.h >>conftest.$ac_ext |
|
|
6463 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6464 | /* end confdefs.h. */ |
|
|
6465 | |
4082 | /* Override any gcc2 internal prototype to avoid an error. */ |
6466 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
6467 | #ifdef __cplusplus |
|
|
6468 | extern "C" |
|
|
6469 | #endif |
4083 | /* We use char because int might match the return type of a gcc2 |
6470 | /* We use char because int might match the return type of a gcc2 |
4084 | builtin and then its argument prototype would still apply. */ |
6471 | builtin and then its argument prototype would still apply. */ |
4085 | char dlopen(); |
6472 | char dlopen (); |
4086 | |
6473 | int |
4087 | int main() { |
6474 | main () |
|
|
6475 | { |
4088 | dlopen() |
6476 | dlopen (); |
|
|
6477 | ; |
4089 | ; return 0; } |
6478 | return 0; |
4090 | EOF |
6479 | } |
4091 | if { (eval echo configure:4092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6480 | _ACEOF |
|
|
6481 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6482 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
6483 | (eval $ac_link) 2>conftest.er1 |
|
|
6484 | ac_status=$? |
|
|
6485 | grep -v '^ *+' conftest.er1 >conftest.err |
4092 | rm -rf conftest* |
6486 | rm -f conftest.er1 |
4093 | eval "ac_cv_lib_$ac_lib_var=yes" |
6487 | cat conftest.err >&5 |
|
|
6488 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6489 | (exit $ac_status); } && |
|
|
6490 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
6491 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6492 | (eval $ac_try) 2>&5 |
|
|
6493 | ac_status=$? |
|
|
6494 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6495 | (exit $ac_status); }; } && |
|
|
6496 | { ac_try='test -s conftest$ac_exeext' |
|
|
6497 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6498 | (eval $ac_try) 2>&5 |
|
|
6499 | ac_status=$? |
|
|
6500 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6501 | (exit $ac_status); }; }; then |
|
|
6502 | ac_cv_lib_dl_dlopen=yes |
4094 | else |
6503 | else |
4095 | echo "configure: failed program was:" >&5 |
6504 | echo "$as_me: failed program was:" >&5 |
4096 | cat conftest.$ac_ext >&5 |
6505 | sed 's/^/| /' conftest.$ac_ext >&5 |
4097 | rm -rf conftest* |
6506 | |
4098 | eval "ac_cv_lib_$ac_lib_var=no" |
6507 | ac_cv_lib_dl_dlopen=no |
4099 | fi |
6508 | fi |
4100 | rm -f conftest* |
6509 | rm -f conftest.err conftest.$ac_objext \ |
|
|
6510 | conftest$ac_exeext conftest.$ac_ext |
4101 | LIBS="$ac_save_LIBS" |
6511 | LIBS=$ac_check_lib_save_LIBS |
4102 | |
|
|
4103 | fi |
6512 | fi |
4104 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
6513 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
4105 | echo "$ac_t""yes" 1>&6 |
6514 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
|
|
6515 | if test $ac_cv_lib_dl_dlopen = yes; then |
4106 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
6516 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
4107 | else |
6517 | else |
4108 | echo "$ac_t""no" 1>&6 |
6518 | echo "$as_me:$LINENO: checking for dlopen" >&5 |
4109 | echo $ac_n "checking for dlopen""... $ac_c" 1>&6 |
6519 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 |
4110 | echo "configure:4111: checking for dlopen" >&5 |
|
|
4111 | if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then |
6520 | if test "${ac_cv_func_dlopen+set}" = set; then |
4112 | echo $ac_n "(cached) $ac_c" 1>&6 |
6521 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4113 | else |
6522 | else |
4114 | cat > conftest.$ac_ext <<EOF |
6523 | cat >conftest.$ac_ext <<_ACEOF |
4115 | #line 4116 "configure" |
6524 | /* confdefs.h. */ |
4116 | #include "confdefs.h" |
6525 | _ACEOF |
|
|
6526 | cat confdefs.h >>conftest.$ac_ext |
|
|
6527 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6528 | /* end confdefs.h. */ |
|
|
6529 | /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
|
|
6530 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
6531 | #define dlopen innocuous_dlopen |
|
|
6532 | |
4117 | /* System header to define __stub macros and hopefully few prototypes, |
6533 | /* System header to define __stub macros and hopefully few prototypes, |
4118 | which can conflict with char dlopen(); below. */ |
6534 | which can conflict with char dlopen (); below. |
|
|
6535 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
6536 | <limits.h> exists even on freestanding compilers. */ |
|
|
6537 | |
|
|
6538 | #ifdef __STDC__ |
|
|
6539 | # include <limits.h> |
|
|
6540 | #else |
4119 | #include <assert.h> |
6541 | # include <assert.h> |
|
|
6542 | #endif |
|
|
6543 | |
|
|
6544 | #undef dlopen |
|
|
6545 | |
4120 | /* Override any gcc2 internal prototype to avoid an error. */ |
6546 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
6547 | #ifdef __cplusplus |
|
|
6548 | extern "C" |
|
|
6549 | { |
|
|
6550 | #endif |
4121 | /* We use char because int might match the return type of a gcc2 |
6551 | /* We use char because int might match the return type of a gcc2 |
4122 | builtin and then its argument prototype would still apply. */ |
6552 | builtin and then its argument prototype would still apply. */ |
4123 | char dlopen(); |
6553 | char dlopen (); |
4124 | |
|
|
4125 | int main() { |
|
|
4126 | |
|
|
4127 | /* The GNU C library defines this for functions which it implements |
6554 | /* The GNU C library defines this for functions which it implements |
4128 | to always fail with ENOSYS. Some functions are actually named |
6555 | to always fail with ENOSYS. Some functions are actually named |
4129 | something starting with __ and the normal name is an alias. */ |
6556 | something starting with __ and the normal name is an alias. */ |
4130 | #if defined (__stub_dlopen) || defined (__stub___dlopen) |
6557 | #if defined (__stub_dlopen) || defined (__stub___dlopen) |
4131 | choke me |
6558 | choke me |
4132 | #else |
6559 | #else |
4133 | dlopen(); |
6560 | char (*f) () = dlopen; |
4134 | #endif |
6561 | #endif |
|
|
6562 | #ifdef __cplusplus |
|
|
6563 | } |
|
|
6564 | #endif |
4135 | |
6565 | |
|
|
6566 | int |
|
|
6567 | main () |
|
|
6568 | { |
|
|
6569 | return f != dlopen; |
|
|
6570 | ; |
4136 | ; return 0; } |
6571 | return 0; |
4137 | EOF |
6572 | } |
4138 | if { (eval echo configure:4139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6573 | _ACEOF |
|
|
6574 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6575 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
6576 | (eval $ac_link) 2>conftest.er1 |
|
|
6577 | ac_status=$? |
|
|
6578 | grep -v '^ *+' conftest.er1 >conftest.err |
4139 | rm -rf conftest* |
6579 | rm -f conftest.er1 |
|
|
6580 | cat conftest.err >&5 |
|
|
6581 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6582 | (exit $ac_status); } && |
|
|
6583 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
6584 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6585 | (eval $ac_try) 2>&5 |
|
|
6586 | ac_status=$? |
|
|
6587 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6588 | (exit $ac_status); }; } && |
|
|
6589 | { ac_try='test -s conftest$ac_exeext' |
|
|
6590 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6591 | (eval $ac_try) 2>&5 |
|
|
6592 | ac_status=$? |
|
|
6593 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6594 | (exit $ac_status); }; }; then |
4140 | eval "ac_cv_func_dlopen=yes" |
6595 | ac_cv_func_dlopen=yes |
4141 | else |
6596 | else |
4142 | echo "configure: failed program was:" >&5 |
6597 | echo "$as_me: failed program was:" >&5 |
4143 | cat conftest.$ac_ext >&5 |
6598 | sed 's/^/| /' conftest.$ac_ext >&5 |
4144 | rm -rf conftest* |
6599 | |
4145 | eval "ac_cv_func_dlopen=no" |
6600 | ac_cv_func_dlopen=no |
4146 | fi |
6601 | fi |
4147 | rm -f conftest* |
6602 | rm -f conftest.err conftest.$ac_objext \ |
|
|
6603 | conftest$ac_exeext conftest.$ac_ext |
4148 | fi |
6604 | fi |
4149 | |
6605 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
|
|
6606 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
4150 | if eval "test \"`echo '$ac_cv_func_'dlopen`\" = yes"; then |
6607 | if test $ac_cv_func_dlopen = yes; then |
4151 | echo "$ac_t""yes" 1>&6 |
|
|
4152 | lt_cv_dlopen="dlopen" |
6608 | lt_cv_dlopen="dlopen" |
4153 | else |
6609 | else |
4154 | echo "$ac_t""no" 1>&6 |
6610 | echo "$as_me:$LINENO: checking for shl_load" >&5 |
4155 | echo $ac_n "checking for shl_load""... $ac_c" 1>&6 |
6611 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 |
4156 | echo "configure:4157: checking for shl_load" >&5 |
|
|
4157 | if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then |
6612 | if test "${ac_cv_func_shl_load+set}" = set; then |
4158 | echo $ac_n "(cached) $ac_c" 1>&6 |
6613 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4159 | else |
6614 | else |
4160 | cat > conftest.$ac_ext <<EOF |
6615 | cat >conftest.$ac_ext <<_ACEOF |
4161 | #line 4162 "configure" |
6616 | /* confdefs.h. */ |
4162 | #include "confdefs.h" |
6617 | _ACEOF |
|
|
6618 | cat confdefs.h >>conftest.$ac_ext |
|
|
6619 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6620 | /* end confdefs.h. */ |
|
|
6621 | /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
|
|
6622 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
6623 | #define shl_load innocuous_shl_load |
|
|
6624 | |
4163 | /* System header to define __stub macros and hopefully few prototypes, |
6625 | /* System header to define __stub macros and hopefully few prototypes, |
4164 | which can conflict with char shl_load(); below. */ |
6626 | which can conflict with char shl_load (); below. |
|
|
6627 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
6628 | <limits.h> exists even on freestanding compilers. */ |
|
|
6629 | |
|
|
6630 | #ifdef __STDC__ |
|
|
6631 | # include <limits.h> |
|
|
6632 | #else |
4165 | #include <assert.h> |
6633 | # include <assert.h> |
|
|
6634 | #endif |
|
|
6635 | |
|
|
6636 | #undef shl_load |
|
|
6637 | |
4166 | /* Override any gcc2 internal prototype to avoid an error. */ |
6638 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
6639 | #ifdef __cplusplus |
|
|
6640 | extern "C" |
|
|
6641 | { |
|
|
6642 | #endif |
4167 | /* We use char because int might match the return type of a gcc2 |
6643 | /* We use char because int might match the return type of a gcc2 |
4168 | builtin and then its argument prototype would still apply. */ |
6644 | builtin and then its argument prototype would still apply. */ |
4169 | char shl_load(); |
6645 | char shl_load (); |
4170 | |
|
|
4171 | int main() { |
|
|
4172 | |
|
|
4173 | /* The GNU C library defines this for functions which it implements |
6646 | /* The GNU C library defines this for functions which it implements |
4174 | to always fail with ENOSYS. Some functions are actually named |
6647 | to always fail with ENOSYS. Some functions are actually named |
4175 | something starting with __ and the normal name is an alias. */ |
6648 | something starting with __ and the normal name is an alias. */ |
4176 | #if defined (__stub_shl_load) || defined (__stub___shl_load) |
6649 | #if defined (__stub_shl_load) || defined (__stub___shl_load) |
4177 | choke me |
6650 | choke me |
4178 | #else |
6651 | #else |
4179 | shl_load(); |
6652 | char (*f) () = shl_load; |
4180 | #endif |
6653 | #endif |
|
|
6654 | #ifdef __cplusplus |
|
|
6655 | } |
|
|
6656 | #endif |
4181 | |
6657 | |
|
|
6658 | int |
|
|
6659 | main () |
|
|
6660 | { |
|
|
6661 | return f != shl_load; |
|
|
6662 | ; |
4182 | ; return 0; } |
6663 | return 0; |
4183 | EOF |
6664 | } |
4184 | if { (eval echo configure:4185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6665 | _ACEOF |
|
|
6666 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6667 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
6668 | (eval $ac_link) 2>conftest.er1 |
|
|
6669 | ac_status=$? |
|
|
6670 | grep -v '^ *+' conftest.er1 >conftest.err |
4185 | rm -rf conftest* |
6671 | rm -f conftest.er1 |
|
|
6672 | cat conftest.err >&5 |
|
|
6673 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6674 | (exit $ac_status); } && |
|
|
6675 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
6676 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6677 | (eval $ac_try) 2>&5 |
|
|
6678 | ac_status=$? |
|
|
6679 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6680 | (exit $ac_status); }; } && |
|
|
6681 | { ac_try='test -s conftest$ac_exeext' |
|
|
6682 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6683 | (eval $ac_try) 2>&5 |
|
|
6684 | ac_status=$? |
|
|
6685 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6686 | (exit $ac_status); }; }; then |
4186 | eval "ac_cv_func_shl_load=yes" |
6687 | ac_cv_func_shl_load=yes |
4187 | else |
6688 | else |
4188 | echo "configure: failed program was:" >&5 |
6689 | echo "$as_me: failed program was:" >&5 |
4189 | cat conftest.$ac_ext >&5 |
6690 | sed 's/^/| /' conftest.$ac_ext >&5 |
4190 | rm -rf conftest* |
6691 | |
4191 | eval "ac_cv_func_shl_load=no" |
6692 | ac_cv_func_shl_load=no |
4192 | fi |
6693 | fi |
4193 | rm -f conftest* |
6694 | rm -f conftest.err conftest.$ac_objext \ |
|
|
6695 | conftest$ac_exeext conftest.$ac_ext |
4194 | fi |
6696 | fi |
4195 | |
6697 | echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
|
|
6698 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
4196 | if eval "test \"`echo '$ac_cv_func_'shl_load`\" = yes"; then |
6699 | if test $ac_cv_func_shl_load = yes; then |
4197 | echo "$ac_t""yes" 1>&6 |
|
|
4198 | lt_cv_dlopen="shl_load" |
6700 | lt_cv_dlopen="shl_load" |
4199 | else |
6701 | else |
4200 | echo "$ac_t""no" 1>&6 |
6702 | echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
4201 | echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6 |
6703 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 |
4202 | echo "configure:4203: checking for dlopen in -lsvld" >&5 |
6704 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
4203 | ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'` |
|
|
4204 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
4205 | echo $ac_n "(cached) $ac_c" 1>&6 |
6705 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4206 | else |
6706 | else |
4207 | ac_save_LIBS="$LIBS" |
6707 | ac_check_lib_save_LIBS=$LIBS |
4208 | LIBS="-lsvld $LIBS" |
6708 | LIBS="-lsvld $LIBS" |
4209 | cat > conftest.$ac_ext <<EOF |
6709 | cat >conftest.$ac_ext <<_ACEOF |
4210 | #line 4211 "configure" |
6710 | /* confdefs.h. */ |
4211 | #include "confdefs.h" |
6711 | _ACEOF |
|
|
6712 | cat confdefs.h >>conftest.$ac_ext |
|
|
6713 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6714 | /* end confdefs.h. */ |
|
|
6715 | |
4212 | /* Override any gcc2 internal prototype to avoid an error. */ |
6716 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
6717 | #ifdef __cplusplus |
|
|
6718 | extern "C" |
|
|
6719 | #endif |
4213 | /* We use char because int might match the return type of a gcc2 |
6720 | /* We use char because int might match the return type of a gcc2 |
4214 | builtin and then its argument prototype would still apply. */ |
6721 | builtin and then its argument prototype would still apply. */ |
4215 | char dlopen(); |
6722 | char dlopen (); |
4216 | |
6723 | int |
4217 | int main() { |
6724 | main () |
|
|
6725 | { |
4218 | dlopen() |
6726 | dlopen (); |
|
|
6727 | ; |
4219 | ; return 0; } |
6728 | return 0; |
4220 | EOF |
6729 | } |
4221 | if { (eval echo configure:4222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6730 | _ACEOF |
|
|
6731 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6732 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
6733 | (eval $ac_link) 2>conftest.er1 |
|
|
6734 | ac_status=$? |
|
|
6735 | grep -v '^ *+' conftest.er1 >conftest.err |
4222 | rm -rf conftest* |
6736 | rm -f conftest.er1 |
4223 | eval "ac_cv_lib_$ac_lib_var=yes" |
6737 | cat conftest.err >&5 |
|
|
6738 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6739 | (exit $ac_status); } && |
|
|
6740 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
6741 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6742 | (eval $ac_try) 2>&5 |
|
|
6743 | ac_status=$? |
|
|
6744 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6745 | (exit $ac_status); }; } && |
|
|
6746 | { ac_try='test -s conftest$ac_exeext' |
|
|
6747 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6748 | (eval $ac_try) 2>&5 |
|
|
6749 | ac_status=$? |
|
|
6750 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6751 | (exit $ac_status); }; }; then |
|
|
6752 | ac_cv_lib_svld_dlopen=yes |
4224 | else |
6753 | else |
4225 | echo "configure: failed program was:" >&5 |
6754 | echo "$as_me: failed program was:" >&5 |
4226 | cat conftest.$ac_ext >&5 |
6755 | sed 's/^/| /' conftest.$ac_ext >&5 |
4227 | rm -rf conftest* |
6756 | |
4228 | eval "ac_cv_lib_$ac_lib_var=no" |
6757 | ac_cv_lib_svld_dlopen=no |
4229 | fi |
6758 | fi |
4230 | rm -f conftest* |
6759 | rm -f conftest.err conftest.$ac_objext \ |
|
|
6760 | conftest$ac_exeext conftest.$ac_ext |
4231 | LIBS="$ac_save_LIBS" |
6761 | LIBS=$ac_check_lib_save_LIBS |
4232 | |
|
|
4233 | fi |
6762 | fi |
4234 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
6763 | echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
4235 | echo "$ac_t""yes" 1>&6 |
6764 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 |
|
|
6765 | if test $ac_cv_lib_svld_dlopen = yes; then |
4236 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
6766 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
4237 | else |
6767 | else |
4238 | echo "$ac_t""no" 1>&6 |
6768 | echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
4239 | echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
6769 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 |
4240 | echo "configure:4241: checking for shl_load in -ldld" >&5 |
6770 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
4241 | ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
|
|
4242 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
4243 | echo $ac_n "(cached) $ac_c" 1>&6 |
6771 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4244 | else |
6772 | else |
4245 | ac_save_LIBS="$LIBS" |
6773 | ac_check_lib_save_LIBS=$LIBS |
4246 | LIBS="-ldld $LIBS" |
6774 | LIBS="-ldld $LIBS" |
4247 | cat > conftest.$ac_ext <<EOF |
6775 | cat >conftest.$ac_ext <<_ACEOF |
4248 | #line 4249 "configure" |
6776 | /* confdefs.h. */ |
4249 | #include "confdefs.h" |
6777 | _ACEOF |
|
|
6778 | cat confdefs.h >>conftest.$ac_ext |
|
|
6779 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6780 | /* end confdefs.h. */ |
|
|
6781 | |
4250 | /* Override any gcc2 internal prototype to avoid an error. */ |
6782 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
6783 | #ifdef __cplusplus |
|
|
6784 | extern "C" |
|
|
6785 | #endif |
4251 | /* We use char because int might match the return type of a gcc2 |
6786 | /* We use char because int might match the return type of a gcc2 |
4252 | builtin and then its argument prototype would still apply. */ |
6787 | builtin and then its argument prototype would still apply. */ |
4253 | char shl_load(); |
6788 | char shl_load (); |
4254 | |
6789 | int |
4255 | int main() { |
6790 | main () |
|
|
6791 | { |
4256 | shl_load() |
6792 | shl_load (); |
|
|
6793 | ; |
4257 | ; return 0; } |
6794 | return 0; |
4258 | EOF |
6795 | } |
4259 | if { (eval echo configure:4260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6796 | _ACEOF |
|
|
6797 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6798 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
6799 | (eval $ac_link) 2>conftest.er1 |
|
|
6800 | ac_status=$? |
|
|
6801 | grep -v '^ *+' conftest.er1 >conftest.err |
4260 | rm -rf conftest* |
6802 | rm -f conftest.er1 |
4261 | eval "ac_cv_lib_$ac_lib_var=yes" |
6803 | cat conftest.err >&5 |
|
|
6804 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6805 | (exit $ac_status); } && |
|
|
6806 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
6807 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6808 | (eval $ac_try) 2>&5 |
|
|
6809 | ac_status=$? |
|
|
6810 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6811 | (exit $ac_status); }; } && |
|
|
6812 | { ac_try='test -s conftest$ac_exeext' |
|
|
6813 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6814 | (eval $ac_try) 2>&5 |
|
|
6815 | ac_status=$? |
|
|
6816 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6817 | (exit $ac_status); }; }; then |
|
|
6818 | ac_cv_lib_dld_shl_load=yes |
4262 | else |
6819 | else |
4263 | echo "configure: failed program was:" >&5 |
6820 | echo "$as_me: failed program was:" >&5 |
4264 | cat conftest.$ac_ext >&5 |
6821 | sed 's/^/| /' conftest.$ac_ext >&5 |
4265 | rm -rf conftest* |
6822 | |
4266 | eval "ac_cv_lib_$ac_lib_var=no" |
6823 | ac_cv_lib_dld_shl_load=no |
4267 | fi |
6824 | fi |
4268 | rm -f conftest* |
6825 | rm -f conftest.err conftest.$ac_objext \ |
|
|
6826 | conftest$ac_exeext conftest.$ac_ext |
4269 | LIBS="$ac_save_LIBS" |
6827 | LIBS=$ac_check_lib_save_LIBS |
4270 | |
|
|
4271 | fi |
6828 | fi |
4272 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
6829 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
4273 | echo "$ac_t""yes" 1>&6 |
6830 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 |
|
|
6831 | if test $ac_cv_lib_dld_shl_load = yes; then |
4274 | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" |
6832 | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" |
4275 | else |
|
|
4276 | echo "$ac_t""no" 1>&6 |
|
|
4277 | fi |
6833 | fi |
4278 | |
6834 | |
4279 | |
|
|
4280 | fi |
|
|
4281 | |
6835 | |
4282 | |
|
|
4283 | fi |
6836 | fi |
4284 | |
6837 | |
4285 | |
|
|
4286 | fi |
|
|
4287 | |
6838 | |
4288 | |
6839 | fi |
|
|
6840 | |
|
|
6841 | |
|
|
6842 | fi |
|
|
6843 | |
|
|
6844 | |
4289 | fi |
6845 | fi |
4290 | |
6846 | |
4291 | ;; |
6847 | ;; |
4292 | esac |
6848 | esac |
4293 | |
6849 | |
… | |
… | |
4306 | eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
6862 | eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
4307 | |
6863 | |
4308 | save_LIBS="$LIBS" |
6864 | save_LIBS="$LIBS" |
4309 | LIBS="$lt_cv_dlopen_libs $LIBS" |
6865 | LIBS="$lt_cv_dlopen_libs $LIBS" |
4310 | |
6866 | |
|
|
6867 | echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
4311 | echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6 |
6868 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 |
4312 | echo "configure:4313: checking whether a program can dlopen itself" >&5 |
|
|
4313 | if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then |
6869 | if test "${lt_cv_dlopen_self+set}" = set; then |
4314 | echo $ac_n "(cached) $ac_c" 1>&6 |
6870 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4315 | else |
6871 | else |
4316 | if test "$cross_compiling" = yes; then : |
6872 | if test "$cross_compiling" = yes; then : |
4317 | lt_cv_dlopen_self=cross |
6873 | lt_cv_dlopen_self=cross |
4318 | else |
6874 | else |
4319 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
6875 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
4320 | lt_status=$lt_dlunknown |
6876 | lt_status=$lt_dlunknown |
4321 | cat > conftest.$ac_ext <<EOF |
6877 | cat > conftest.$ac_ext <<EOF |
4322 | #line 4323 "configure" |
6878 | #line 6878 "configure" |
4323 | #include "confdefs.h" |
6879 | #include "confdefs.h" |
4324 | |
6880 | |
4325 | #if HAVE_DLFCN_H |
6881 | #if HAVE_DLFCN_H |
4326 | #include <dlfcn.h> |
6882 | #include <dlfcn.h> |
4327 | #endif |
6883 | #endif |
… | |
… | |
4378 | } |
6934 | } |
4379 | |
6935 | |
4380 | exit (status); |
6936 | exit (status); |
4381 | } |
6937 | } |
4382 | EOF |
6938 | EOF |
4383 | if { (eval echo configure:4384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then |
6939 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
6940 | (eval $ac_link) 2>&5 |
|
|
6941 | ac_status=$? |
|
|
6942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6943 | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
4384 | (./conftest; exit; ) 2>/dev/null |
6944 | (./conftest; exit; ) 2>/dev/null |
4385 | lt_status=$? |
6945 | lt_status=$? |
4386 | case x$lt_status in |
6946 | case x$lt_status in |
4387 | x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
6947 | x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
4388 | x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
6948 | x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
… | |
… | |
4393 | lt_cv_dlopen_self=no |
6953 | lt_cv_dlopen_self=no |
4394 | fi |
6954 | fi |
4395 | fi |
6955 | fi |
4396 | rm -fr conftest* |
6956 | rm -fr conftest* |
4397 | |
6957 | |
4398 | |
|
|
4399 | fi |
|
|
4400 | |
6958 | |
|
|
6959 | fi |
|
|
6960 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
4401 | echo "$ac_t""$lt_cv_dlopen_self" 1>&6 |
6961 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 |
4402 | |
6962 | |
4403 | if test "x$lt_cv_dlopen_self" = xyes; then |
6963 | if test "x$lt_cv_dlopen_self" = xyes; then |
4404 | LDFLAGS="$LDFLAGS $link_static_flag" |
6964 | LDFLAGS="$LDFLAGS $link_static_flag" |
|
|
6965 | echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
4405 | echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6 |
6966 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 |
4406 | echo "configure:4407: checking whether a statically linked program can dlopen itself" >&5 |
|
|
4407 | if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then |
6967 | if test "${lt_cv_dlopen_self_static+set}" = set; then |
4408 | echo $ac_n "(cached) $ac_c" 1>&6 |
6968 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4409 | else |
6969 | else |
4410 | if test "$cross_compiling" = yes; then : |
6970 | if test "$cross_compiling" = yes; then : |
4411 | lt_cv_dlopen_self_static=cross |
6971 | lt_cv_dlopen_self_static=cross |
4412 | else |
6972 | else |
4413 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
6973 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
4414 | lt_status=$lt_dlunknown |
6974 | lt_status=$lt_dlunknown |
4415 | cat > conftest.$ac_ext <<EOF |
6975 | cat > conftest.$ac_ext <<EOF |
4416 | #line 4417 "configure" |
6976 | #line 6976 "configure" |
4417 | #include "confdefs.h" |
6977 | #include "confdefs.h" |
4418 | |
6978 | |
4419 | #if HAVE_DLFCN_H |
6979 | #if HAVE_DLFCN_H |
4420 | #include <dlfcn.h> |
6980 | #include <dlfcn.h> |
4421 | #endif |
6981 | #endif |
… | |
… | |
4472 | } |
7032 | } |
4473 | |
7033 | |
4474 | exit (status); |
7034 | exit (status); |
4475 | } |
7035 | } |
4476 | EOF |
7036 | EOF |
4477 | if { (eval echo configure:4478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then |
7037 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
7038 | (eval $ac_link) 2>&5 |
|
|
7039 | ac_status=$? |
|
|
7040 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7041 | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
4478 | (./conftest; exit; ) 2>/dev/null |
7042 | (./conftest; exit; ) 2>/dev/null |
4479 | lt_status=$? |
7043 | lt_status=$? |
4480 | case x$lt_status in |
7044 | case x$lt_status in |
4481 | x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
7045 | x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
4482 | x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
7046 | x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
… | |
… | |
4487 | lt_cv_dlopen_self_static=no |
7051 | lt_cv_dlopen_self_static=no |
4488 | fi |
7052 | fi |
4489 | fi |
7053 | fi |
4490 | rm -fr conftest* |
7054 | rm -fr conftest* |
4491 | |
7055 | |
4492 | |
|
|
4493 | fi |
|
|
4494 | |
7056 | |
|
|
7057 | fi |
|
|
7058 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
4495 | echo "$ac_t""$lt_cv_dlopen_self_static" 1>&6 |
7059 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 |
4496 | fi |
7060 | fi |
4497 | |
7061 | |
4498 | CPPFLAGS="$save_CPPFLAGS" |
7062 | CPPFLAGS="$save_CPPFLAGS" |
4499 | LDFLAGS="$save_LDFLAGS" |
7063 | LDFLAGS="$save_LDFLAGS" |
4500 | LIBS="$save_LIBS" |
7064 | LIBS="$save_LIBS" |
… | |
… | |
4522 | ;; |
7086 | ;; |
4523 | '$CC '*) |
7087 | '$CC '*) |
4524 | # Test whether the compiler implicitly links with -lc since on some |
7088 | # Test whether the compiler implicitly links with -lc since on some |
4525 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
7089 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
4526 | # to ld, don't add -lc before -lgcc. |
7090 | # to ld, don't add -lc before -lgcc. |
|
|
7091 | echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
4527 | echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6 |
7092 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 |
4528 | echo "configure:4529: checking whether -lc should be explicitly linked in" >&5 |
|
|
4529 | if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then |
7093 | if test "${lt_cv_archive_cmds_need_lc+set}" = set; then |
4530 | echo $ac_n "(cached) $ac_c" 1>&6 |
7094 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4531 | else |
7095 | else |
4532 | $rm conftest* |
7096 | $rm conftest* |
4533 | echo 'static int dummy;' > conftest.$ac_ext |
7097 | echo 'static int dummy;' > conftest.$ac_ext |
4534 | |
7098 | |
4535 | if { (eval echo configure:4536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7099 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7100 | (eval $ac_compile) 2>&5 |
|
|
7101 | ac_status=$? |
|
|
7102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7103 | (exit $ac_status); }; then |
4536 | soname=conftest |
7104 | soname=conftest |
4537 | lib=conftest |
7105 | lib=conftest |
4538 | libobjs=conftest.$ac_objext |
7106 | libobjs=conftest.$ac_objext |
4539 | deplibs= |
7107 | deplibs= |
4540 | wl=$lt_cv_prog_cc_wl |
7108 | wl=$lt_cv_prog_cc_wl |
… | |
… | |
4543 | verstring= |
7111 | verstring= |
4544 | output_objdir=. |
7112 | output_objdir=. |
4545 | libname=conftest |
7113 | libname=conftest |
4546 | save_allow_undefined_flag=$allow_undefined_flag |
7114 | save_allow_undefined_flag=$allow_undefined_flag |
4547 | allow_undefined_flag= |
7115 | allow_undefined_flag= |
4548 | if { (eval echo configure:4549: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; } |
7116 | if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
|
|
7117 | (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
|
|
7118 | ac_status=$? |
|
|
7119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7120 | (exit $ac_status); } |
4549 | then |
7121 | then |
4550 | lt_cv_archive_cmds_need_lc=no |
7122 | lt_cv_archive_cmds_need_lc=no |
4551 | else |
7123 | else |
4552 | lt_cv_archive_cmds_need_lc=yes |
7124 | lt_cv_archive_cmds_need_lc=yes |
4553 | fi |
7125 | fi |
… | |
… | |
4555 | else |
7127 | else |
4556 | cat conftest.err 1>&5 |
7128 | cat conftest.err 1>&5 |
4557 | fi |
7129 | fi |
4558 | fi |
7130 | fi |
4559 | |
7131 | |
|
|
7132 | echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 |
4560 | echo "$ac_t""$lt_cv_archive_cmds_need_lc" 1>&6 |
7133 | echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 |
4561 | ;; |
7134 | ;; |
4562 | esac |
7135 | esac |
4563 | fi |
7136 | fi |
4564 | need_lc=${lt_cv_archive_cmds_need_lc-yes} |
7137 | need_lc=${lt_cv_archive_cmds_need_lc-yes} |
4565 | ## |
7138 | ## |
… | |
… | |
5130 | |
7703 | |
5131 | MALLOC_TYPE=S |
7704 | MALLOC_TYPE=S |
5132 | support_addstrings=no |
7705 | support_addstrings=no |
5133 | support_frills=no |
7706 | support_frills=no |
5134 | support_linespace=no |
7707 | support_linespace=no |
5135 | support_graphics=no |
|
|
5136 | support_inheritpixmap=no |
7708 | support_inheritpixmap=no |
5137 | support_keepscrolling=no |
7709 | support_keepscrolling=no |
5138 | support_selectionscrolling=no |
7710 | support_selectionscrolling=no |
5139 | support_menubar=no |
7711 | support_menubar=no |
5140 | support_mousewheel=no |
7712 | support_mousewheel=no |
5141 | support_mouseslipwheel=no |
7713 | support_mouseslipwheel=no |
5142 | support_oldselection=no |
7714 | support_oldselection=no |
5143 | support_utmp=no |
7715 | support_utmp=no |
5144 | support_wtmp=no |
7716 | support_wtmp=no |
5145 | support_lastlog=no |
7717 | support_lastlog=no |
5146 | support_cursor_blink=no |
7718 | support_cursor_blink=no |
|
|
7719 | support_text_blink=no |
5147 | support_pointer_blank=no |
7720 | support_pointer_blank=no |
5148 | support_scroll_rxvt=no |
7721 | support_scroll_rxvt=no |
5149 | support_scroll_next=no |
7722 | support_scroll_next=no |
5150 | support_scroll_xterm=no |
7723 | support_scroll_xterm=no |
|
|
7724 | support_scroll_plain=no |
5151 | support_xim=no |
7725 | support_xim=no |
5152 | support_xpm=no |
7726 | support_xpm=no |
5153 | support_xft=no |
7727 | support_xft=no |
5154 | support_unicode3=no |
7728 | support_unicode3=no |
5155 | codesets= |
7729 | codesets= |
5156 | |
7730 | |
5157 | |
7731 | |
5158 | if test "x$enable_shared" = xyes; then |
7732 | if test "x$enable_shared" = xyes; then |
|
|
7733 | |
5159 | cat >> confdefs.h <<\EOF |
7734 | cat >>confdefs.h <<\_ACEOF |
5160 | #define LIBRXVT 1 |
7735 | #define LIBRXVT 1 |
5161 | EOF |
7736 | _ACEOF |
5162 | |
7737 | |
5163 | INSTALL_LIBRXVT=yes |
7738 | INSTALL_LIBRXVT=yes |
5164 | fi |
7739 | fi |
5165 | |
7740 | |
5166 | |
7741 | |
… | |
… | |
5169 | enableval="$enable_everything" |
7744 | enableval="$enable_everything" |
5170 | if test x$enableval = xyes; then |
7745 | if test x$enableval = xyes; then |
5171 | support_24bit=yes |
7746 | support_24bit=yes |
5172 | support_frills=yes |
7747 | support_frills=yes |
5173 | support_linespace=yes |
7748 | support_linespace=yes |
5174 | support_graphics=yes |
|
|
5175 | support_inheritpixmap=yes |
7749 | support_inheritpixmap=yes |
5176 | support_keepscrolling=yes |
7750 | support_keepscrolling=yes |
5177 | support_selectionscrolling=yes |
7751 | support_selectionscrolling=yes |
5178 | support_lastlog=yes |
7752 | support_lastlog=yes |
5179 | support_menubar=yes |
7753 | support_menubar=yes |
5180 | support_mousewheel=yes |
7754 | support_mousewheel=yes |
5181 | support_mouseslipwheel=yes |
7755 | support_mouseslipwheel=yes |
5182 | support_oldselection=yes |
7756 | support_oldselection=yes |
5183 | support_cursor_blink=yes |
7757 | support_cursor_blink=yes |
|
|
7758 | support_text_blink=yes |
5184 | support_pointer_blank=yes |
7759 | support_pointer_blank=yes |
5185 | support_scroll_rxvt=yes |
7760 | support_scroll_rxvt=yes |
5186 | support_scroll_next=yes |
7761 | support_scroll_next=yes |
5187 | support_scroll_xterm=yes |
7762 | support_scroll_xterm=yes |
|
|
7763 | support_scroll_plain=yes |
5188 | support_utmp=yes |
7764 | support_utmp=yes |
5189 | support_wtmp=yes |
7765 | support_wtmp=yes |
5190 | support_xim=yes |
7766 | support_xim=yes |
5191 | support_xpm=yes |
7767 | support_xpm=yes |
5192 | support_xft=yes |
7768 | support_xft=yes |
5193 | support_unicode3=yes |
7769 | support_unicode3=yes |
5194 | codesets=all |
7770 | codesets=all |
5195 | fi |
7771 | fi |
5196 | fi |
7772 | fi; |
5197 | |
|
|
5198 | |
7773 | |
5199 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
7774 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
5200 | if test "${enable_unicode3+set}" = set; then |
7775 | if test "${enable_unicode3+set}" = set; then |
5201 | enableval="$enable_unicode3" |
7776 | enableval="$enable_unicode3" |
5202 | if test x$enableval = xyes; then |
7777 | if test x$enableval = xyes; then |
5203 | support_unicode3=yes |
7778 | support_unicode3=yes |
5204 | fi |
7779 | fi |
5205 | fi |
7780 | fi; |
5206 | |
|
|
5207 | |
7781 | |
5208 | # Check whether --enable-xft or --disable-xft was given. |
7782 | # Check whether --enable-xft or --disable-xft was given. |
5209 | if test "${enable_xft+set}" = set; then |
7783 | if test "${enable_xft+set}" = set; then |
5210 | enableval="$enable_xft" |
7784 | enableval="$enable_xft" |
5211 | if test x$enableval = xyes; then |
7785 | if test x$enableval = xyes; then |
5212 | support_xft=yes |
7786 | support_xft=yes |
5213 | fi |
7787 | fi |
5214 | fi |
7788 | fi; |
5215 | |
7789 | |
5216 | |
7790 | |
5217 | # Check whether --with-codesets or --without-codesets was given. |
7791 | # Check whether --with-codesets or --without-codesets was given. |
5218 | if test "${with_codesets+set}" = set; then |
7792 | if test "${with_codesets+set}" = set; then |
5219 | withval="$with_codesets" |
7793 | withval="$with_codesets" |
5220 | if test x$enableval = xyes; then |
7794 | if test x$enableval = xyes; then |
5221 | codesets="$withval" |
7795 | codesets="$withval" |
5222 | fi |
7796 | fi |
5223 | fi |
7797 | fi; |
5224 | |
7798 | |
5225 | |
7799 | |
5226 | # Check whether --with-encoding or --without-encoding was given. |
7800 | # Check whether --with-encoding or --without-encoding was given. |
5227 | if test "${with_encoding+set}" = set; then |
7801 | if test "${with_encoding+set}" = set; then |
5228 | withval="$with_encoding" |
7802 | withval="$with_encoding" |
5229 | if test x$enableval = xyes; then |
7803 | if test x$enableval = xyes; then |
5230 | withval=`echo $withval | tr 'a-z' 'A-Z'` |
7804 | withval=`echo $withval | tr 'a-z' 'A-Z'` |
|
|
7805 | |
5231 | cat >> confdefs.h <<EOF |
7806 | cat >>confdefs.h <<_ACEOF |
5232 | #define MULTICHAR_ENCODING $withval |
7807 | #define MULTICHAR_ENCODING $withval |
5233 | EOF |
7808 | _ACEOF |
5234 | |
7809 | |
5235 | fi |
7810 | fi |
5236 | fi |
7811 | fi; |
5237 | |
|
|
5238 | |
7812 | |
5239 | # Check whether --enable-utmp or --disable-utmp was given. |
7813 | # Check whether --enable-utmp or --disable-utmp was given. |
5240 | if test "${enable_utmp+set}" = set; then |
7814 | if test "${enable_utmp+set}" = set; then |
5241 | enableval="$enable_utmp" |
7815 | enableval="$enable_utmp" |
5242 | if test x$enableval = xyes -o x$enableval = xno; then |
7816 | if test x$enableval = xyes -o x$enableval = xno; then |
5243 | support_utmp=$enableval |
7817 | support_utmp=$enableval |
5244 | fi |
7818 | fi |
5245 | fi |
7819 | fi; |
5246 | |
|
|
5247 | |
7820 | |
5248 | # Check whether --enable-wtmp or --disable-wtmp was given. |
7821 | # Check whether --enable-wtmp or --disable-wtmp was given. |
5249 | if test "${enable_wtmp+set}" = set; then |
7822 | if test "${enable_wtmp+set}" = set; then |
5250 | enableval="$enable_wtmp" |
7823 | enableval="$enable_wtmp" |
5251 | if test x$enableval = xyes -o x$enableval = xno; then |
7824 | if test x$enableval = xyes -o x$enableval = xno; then |
5252 | support_wtmp=$enableval |
7825 | support_wtmp=$enableval |
5253 | fi |
7826 | fi |
5254 | fi |
7827 | fi; |
5255 | |
|
|
5256 | |
7828 | |
5257 | # Check whether --enable-lastlog or --disable-lastlog was given. |
7829 | # Check whether --enable-lastlog or --disable-lastlog was given. |
5258 | if test "${enable_lastlog+set}" = set; then |
7830 | if test "${enable_lastlog+set}" = set; then |
5259 | enableval="$enable_lastlog" |
7831 | enableval="$enable_lastlog" |
5260 | if test x$enableval = xyes -o x$enableval = xno; then |
7832 | if test x$enableval = xyes -o x$enableval = xno; then |
5261 | support_lastlog=$enableval |
7833 | support_lastlog=$enableval |
5262 | fi |
7834 | fi |
5263 | fi |
7835 | fi; |
5264 | |
|
|
5265 | |
7836 | |
5266 | # Check whether --enable-xpm-background or --disable-xpm-background was given. |
7837 | # Check whether --enable-xpm-background or --disable-xpm-background was given. |
5267 | if test "${enable_xpm_background+set}" = set; then |
7838 | if test "${enable_xpm_background+set}" = set; then |
5268 | enableval="$enable_xpm_background" |
7839 | enableval="$enable_xpm_background" |
5269 | if test x$enableval = xyes -o x$enableval = xno; then |
7840 | if test x$enableval = xyes -o x$enableval = xno; then |
5270 | support_xpm=$enableval |
7841 | support_xpm=$enableval |
5271 | fi |
7842 | fi |
5272 | fi |
7843 | fi; |
5273 | |
|
|
5274 | |
7844 | |
5275 | # Check whether --enable-transparency or --disable-transparency was given. |
7845 | # Check whether --enable-transparency or --disable-transparency was given. |
5276 | if test "${enable_transparency+set}" = set; then |
7846 | if test "${enable_transparency+set}" = set; then |
5277 | enableval="$enable_transparency" |
7847 | enableval="$enable_transparency" |
5278 | if test x$enableval = xyes -o x$enableval = xno; then |
7848 | if test x$enableval = xyes -o x$enableval = xno; then |
5279 | support_inheritpixmap=$enableval |
7849 | support_inheritpixmap=$enableval |
5280 | fi |
7850 | fi |
5281 | fi |
7851 | fi; |
5282 | |
|
|
5283 | |
7852 | |
5284 | # Check whether --enable-menubar or --disable-menubar was given. |
7853 | # Check whether --enable-menubar or --disable-menubar was given. |
5285 | if test "${enable_menubar+set}" = set; then |
7854 | if test "${enable_menubar+set}" = set; then |
5286 | enableval="$enable_menubar" |
7855 | enableval="$enable_menubar" |
5287 | if test x$enableval = xyes -o x$enableval = xno; then |
7856 | if test x$enableval = xyes -o x$enableval = xno; then |
5288 | support_menubar=$enableval |
7857 | support_menubar=$enableval |
5289 | fi |
7858 | fi |
5290 | fi |
7859 | fi; |
5291 | |
|
|
5292 | |
|
|
5293 | # Check whether --enable-graphics or --disable-graphics was given. |
|
|
5294 | if test "${enable_graphics+set}" = set; then |
|
|
5295 | enableval="$enable_graphics" |
|
|
5296 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
5297 | support_graphics=$enableval |
|
|
5298 | fi |
|
|
5299 | fi |
|
|
5300 | |
|
|
5301 | |
7860 | |
5302 | # Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. |
7861 | # Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. |
5303 | if test "${enable_rxvt_scroll+set}" = set; then |
7862 | if test "${enable_rxvt_scroll+set}" = set; then |
5304 | enableval="$enable_rxvt_scroll" |
7863 | enableval="$enable_rxvt_scroll" |
5305 | if test x$enableval = xyes -o x$enableval = xno; then |
7864 | if test x$enableval = xyes -o x$enableval = xno; then |
5306 | support_scroll_rxvt=$enableval |
7865 | support_scroll_rxvt=$enableval |
5307 | fi |
7866 | fi |
5308 | fi |
7867 | fi; |
5309 | |
|
|
5310 | |
7868 | |
5311 | # Check whether --enable-next-scroll or --disable-next-scroll was given. |
7869 | # Check whether --enable-next-scroll or --disable-next-scroll was given. |
5312 | if test "${enable_next_scroll+set}" = set; then |
7870 | if test "${enable_next_scroll+set}" = set; then |
5313 | enableval="$enable_next_scroll" |
7871 | enableval="$enable_next_scroll" |
5314 | if test x$enableval = xyes -o x$enableval = xno; then |
7872 | if test x$enableval = xyes -o x$enableval = xno; then |
5315 | support_scroll_next=$enableval |
7873 | support_scroll_next=$enableval |
5316 | fi |
7874 | fi |
5317 | fi |
7875 | fi; |
5318 | |
|
|
5319 | |
7876 | |
5320 | # Check whether --enable-xterm-scroll or --disable-xterm-scroll was given. |
7877 | # Check whether --enable-xterm-scroll or --disable-xterm-scroll was given. |
5321 | if test "${enable_xterm_scroll+set}" = set; then |
7878 | if test "${enable_xterm_scroll+set}" = set; then |
5322 | enableval="$enable_xterm_scroll" |
7879 | enableval="$enable_xterm_scroll" |
5323 | if test x$enableval = xyes -o x$enableval = xno; then |
7880 | if test x$enableval = xyes -o x$enableval = xno; then |
5324 | support_scroll_xterm=$enableval |
7881 | support_scroll_xterm=$enableval |
5325 | fi |
7882 | fi |
5326 | fi |
7883 | fi; |
5327 | |
7884 | |
|
|
7885 | # Check whether --enable-plain-scroll or --disable-plain-scroll was given. |
|
|
7886 | if test "${enable_plain_scroll+set}" = set; then |
|
|
7887 | enableval="$enable_plain_scroll" |
|
|
7888 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
7889 | support_scroll_plain=$enableval |
|
|
7890 | fi |
|
|
7891 | fi; |
5328 | |
7892 | |
5329 | # Check whether --enable-half-shadow or --disable-half-shadow was given. |
7893 | # Check whether --enable-half-shadow or --disable-half-shadow was given. |
5330 | if test "${enable_half_shadow+set}" = set; then |
7894 | if test "${enable_half_shadow+set}" = set; then |
5331 | enableval="$enable_half_shadow" |
7895 | enableval="$enable_half_shadow" |
5332 | if test x$enableval = xyes; then |
7896 | if test x$enableval = xyes; then |
|
|
7897 | |
5333 | cat >> confdefs.h <<\EOF |
7898 | cat >>confdefs.h <<\_ACEOF |
5334 | #define HALFSHADOW 1 |
7899 | #define HALFSHADOW 1 |
5335 | EOF |
7900 | _ACEOF |
5336 | |
7901 | |
5337 | fi |
7902 | fi |
5338 | fi |
7903 | fi; |
5339 | |
|
|
5340 | |
7904 | |
5341 | # Check whether --enable-xim or --disable-xim was given. |
7905 | # Check whether --enable-xim or --disable-xim was given. |
5342 | if test "${enable_xim+set}" = set; then |
7906 | if test "${enable_xim+set}" = set; then |
5343 | enableval="$enable_xim" |
7907 | enableval="$enable_xim" |
5344 | if test x$enableval = xyes -o x$enableval = xno; then |
7908 | if test x$enableval = xyes -o x$enableval = xno; then |
5345 | support_xim=$enableval |
7909 | support_xim=$enableval |
5346 | fi |
7910 | fi |
5347 | fi |
7911 | fi; |
5348 | |
|
|
5349 | |
|
|
5350 | # Check whether --enable-greek or --disable-greek was given. |
|
|
5351 | if test "${enable_greek+set}" = set; then |
|
|
5352 | enableval="$enable_greek" |
|
|
5353 | if test x$enableval = xyes; then |
|
|
5354 | cat >> confdefs.h <<\EOF |
|
|
5355 | #define GREEK_SUPPORT 1 |
|
|
5356 | EOF |
|
|
5357 | |
|
|
5358 | fi |
|
|
5359 | fi |
|
|
5360 | |
|
|
5361 | |
7912 | |
5362 | # Check whether --enable-ttygid or --disable-ttygid was given. |
7913 | # Check whether --enable-ttygid or --disable-ttygid was given. |
5363 | if test "${enable_ttygid+set}" = set; then |
7914 | if test "${enable_ttygid+set}" = set; then |
5364 | enableval="$enable_ttygid" |
7915 | enableval="$enable_ttygid" |
5365 | if test x$enableval = xyes; then |
7916 | if test x$enableval = xyes; then |
|
|
7917 | |
5366 | cat >> confdefs.h <<\EOF |
7918 | cat >>confdefs.h <<\_ACEOF |
5367 | #define TTY_GID_SUPPORT 1 |
7919 | #define TTY_GID_SUPPORT 1 |
5368 | EOF |
7920 | _ACEOF |
5369 | |
7921 | |
5370 | fi |
7922 | fi |
5371 | fi |
7923 | fi; |
5372 | |
|
|
5373 | |
7924 | |
5374 | # Check whether --enable-backspace-key or --disable-backspace-key was given. |
7925 | # Check whether --enable-backspace-key or --disable-backspace-key was given. |
5375 | if test "${enable_backspace_key+set}" = set; then |
7926 | if test "${enable_backspace_key+set}" = set; then |
5376 | enableval="$enable_backspace_key" |
7927 | enableval="$enable_backspace_key" |
5377 | if test x$enableval = xno; then |
7928 | if test x$enableval = xno; then |
|
|
7929 | |
5378 | cat >> confdefs.h <<\EOF |
7930 | cat >>confdefs.h <<\_ACEOF |
5379 | #define NO_BACKSPACE_KEY 1 |
7931 | #define NO_BACKSPACE_KEY 1 |
5380 | EOF |
7932 | _ACEOF |
5381 | |
7933 | |
5382 | fi |
7934 | fi |
5383 | fi |
7935 | fi; |
5384 | |
|
|
5385 | |
7936 | |
5386 | # Check whether --enable-delete-key or --disable-delete-key was given. |
7937 | # Check whether --enable-delete-key or --disable-delete-key was given. |
5387 | if test "${enable_delete_key+set}" = set; then |
7938 | if test "${enable_delete_key+set}" = set; then |
5388 | enableval="$enable_delete_key" |
7939 | enableval="$enable_delete_key" |
5389 | if test x$enableval = xno; then |
7940 | if test x$enableval = xno; then |
|
|
7941 | |
5390 | cat >> confdefs.h <<\EOF |
7942 | cat >>confdefs.h <<\_ACEOF |
5391 | #define NO_DELETE_KEY 1 |
7943 | #define NO_DELETE_KEY 1 |
5392 | EOF |
7944 | _ACEOF |
5393 | |
7945 | |
5394 | fi |
7946 | fi |
5395 | fi |
7947 | fi; |
5396 | |
|
|
5397 | |
7948 | |
5398 | # Check whether --enable-resources or --disable-resources was given. |
7949 | # Check whether --enable-resources or --disable-resources was given. |
5399 | if test "${enable_resources+set}" = set; then |
7950 | if test "${enable_resources+set}" = set; then |
5400 | enableval="$enable_resources" |
7951 | enableval="$enable_resources" |
5401 | if test x$enableval = xno; then |
7952 | if test x$enableval = xno; then |
|
|
7953 | |
5402 | cat >> confdefs.h <<\EOF |
7954 | cat >>confdefs.h <<\_ACEOF |
5403 | #define NO_RESOURCES 1 |
7955 | #define NO_RESOURCES 1 |
5404 | EOF |
7956 | _ACEOF |
5405 | |
7957 | |
5406 | fi |
7958 | fi |
5407 | fi |
7959 | fi; |
5408 | |
|
|
5409 | |
7960 | |
5410 | # Check whether --enable-xgetdefault or --disable-xgetdefault was given. |
7961 | # Check whether --enable-xgetdefault or --disable-xgetdefault was given. |
5411 | if test "${enable_xgetdefault+set}" = set; then |
7962 | if test "${enable_xgetdefault+set}" = set; then |
5412 | enableval="$enable_xgetdefault" |
7963 | enableval="$enable_xgetdefault" |
5413 | if test x$enableval = xyes; then |
7964 | if test x$enableval = xyes; then |
|
|
7965 | |
5414 | cat >> confdefs.h <<\EOF |
7966 | cat >>confdefs.h <<\_ACEOF |
5415 | #define USE_XGETDEFAULT 1 |
7967 | #define USE_XGETDEFAULT 1 |
5416 | EOF |
7968 | _ACEOF |
5417 | |
7969 | |
5418 | fi |
7970 | fi |
5419 | fi |
7971 | fi; |
5420 | |
|
|
5421 | |
7972 | |
5422 | # Check whether --enable-strings or --disable-strings was given. |
7973 | # Check whether --enable-strings or --disable-strings was given. |
5423 | if test "${enable_strings+set}" = set; then |
7974 | if test "${enable_strings+set}" = set; then |
5424 | enableval="$enable_strings" |
7975 | enableval="$enable_strings" |
5425 | if test x$enableval = xyes -o x$enableval = xno; then |
7976 | if test x$enableval = xyes -o x$enableval = xno; then |
5426 | support_addstrings=$enableval |
7977 | support_addstrings=$enableval |
5427 | fi |
7978 | fi |
5428 | fi |
7979 | fi; |
5429 | |
|
|
5430 | |
7980 | |
5431 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
7981 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
5432 | if test "${enable_swapscreen+set}" = set; then |
7982 | if test "${enable_swapscreen+set}" = set; then |
5433 | enableval="$enable_swapscreen" |
7983 | enableval="$enable_swapscreen" |
5434 | if test x$enableval = xno; then |
7984 | if test x$enableval = xno; then |
|
|
7985 | |
5435 | cat >> confdefs.h <<\EOF |
7986 | cat >>confdefs.h <<\_ACEOF |
5436 | #define NO_SECONDARY_SCREEN 1 |
7987 | #define NO_SECONDARY_SCREEN 1 |
5437 | EOF |
7988 | _ACEOF |
5438 | |
7989 | |
5439 | fi |
7990 | fi |
5440 | fi |
7991 | fi; |
5441 | |
|
|
5442 | |
7992 | |
5443 | # Check whether --enable-frills or --disable-frills was given. |
7993 | # Check whether --enable-frills or --disable-frills was given. |
5444 | if test "${enable_frills+set}" = set; then |
7994 | if test "${enable_frills+set}" = set; then |
5445 | enableval="$enable_frills" |
7995 | enableval="$enable_frills" |
5446 | if test x$enableval = xyes -o x$enableval = xno; then |
7996 | if test x$enableval = xyes -o x$enableval = xno; then |
5447 | support_frills=$enableval |
7997 | support_frills=$enableval |
5448 | fi |
7998 | fi |
5449 | fi |
7999 | fi; |
5450 | |
|
|
5451 | |
8000 | |
5452 | # Check whether --enable-linespace or --disable-linespace was given. |
8001 | # Check whether --enable-linespace or --disable-linespace was given. |
5453 | if test "${enable_linespace+set}" = set; then |
8002 | if test "${enable_linespace+set}" = set; then |
5454 | enableval="$enable_linespace" |
8003 | enableval="$enable_linespace" |
5455 | if test x$enableval = xyes -o x$enableval = xno; then |
8004 | if test x$enableval = xyes -o x$enableval = xno; then |
5456 | support_linespace=$enableval |
8005 | support_linespace=$enableval |
5457 | fi |
8006 | fi |
5458 | fi |
8007 | fi; |
5459 | |
|
|
5460 | |
8008 | |
5461 | # Check whether --enable-24bit or --disable-24bit was given. |
8009 | # Check whether --enable-24bit or --disable-24bit was given. |
5462 | if test "${enable_24bit+set}" = set; then |
8010 | if test "${enable_24bit+set}" = set; then |
5463 | enableval="$enable_24bit" |
8011 | enableval="$enable_24bit" |
5464 | if test x$enableval = xyes -o x$enableval = xno; then |
8012 | if test x$enableval = xyes -o x$enableval = xno; then |
5465 | support_24bit=$enableval |
8013 | support_24bit=$enableval |
5466 | fi |
8014 | fi |
5467 | fi |
8015 | fi; |
5468 | |
|
|
5469 | |
8016 | |
5470 | # Check whether --enable-keepscrolling or --disable-keepscrolling was given. |
8017 | # Check whether --enable-keepscrolling or --disable-keepscrolling was given. |
5471 | if test "${enable_keepscrolling+set}" = set; then |
8018 | if test "${enable_keepscrolling+set}" = set; then |
5472 | enableval="$enable_keepscrolling" |
8019 | enableval="$enable_keepscrolling" |
5473 | if test x$enableval = xyes -o x$enableval = xno; then |
8020 | if test x$enableval = xyes -o x$enableval = xno; then |
5474 | support_keepscrolling=$enableval |
8021 | support_keepscrolling=$enableval |
5475 | fi |
8022 | fi |
5476 | fi |
8023 | fi; |
5477 | |
|
|
5478 | |
8024 | |
5479 | # Check whether --enable-selectionscrolling or --disable-selectionscrolling was given. |
8025 | # Check whether --enable-selectionscrolling or --disable-selectionscrolling was given. |
5480 | if test "${enable_selectionscrolling+set}" = set; then |
8026 | if test "${enable_selectionscrolling+set}" = set; then |
5481 | enableval="$enable_selectionscrolling" |
8027 | enableval="$enable_selectionscrolling" |
5482 | if test x$enableval = xyes -o x$enableval = xno; then |
8028 | if test x$enableval = xyes -o x$enableval = xno; then |
5483 | support_selectionscrolling=$enableval |
8029 | support_selectionscrolling=$enableval |
5484 | fi |
8030 | fi |
5485 | fi |
8031 | fi; |
5486 | |
|
|
5487 | |
8032 | |
5488 | # Check whether --enable-mousewheel or --disable-mousewheel was given. |
8033 | # Check whether --enable-mousewheel or --disable-mousewheel was given. |
5489 | if test "${enable_mousewheel+set}" = set; then |
8034 | if test "${enable_mousewheel+set}" = set; then |
5490 | enableval="$enable_mousewheel" |
8035 | enableval="$enable_mousewheel" |
5491 | if test x$enableval = xyes -o x$enableval = xno; then |
8036 | if test x$enableval = xyes -o x$enableval = xno; then |
5492 | support_mousewheel=$enableval |
8037 | support_mousewheel=$enableval |
5493 | fi |
8038 | fi |
5494 | fi |
8039 | fi; |
5495 | |
|
|
5496 | |
8040 | |
5497 | # Check whether --enable-slipwheeling or --disable-slipwheeling was given. |
8041 | # Check whether --enable-slipwheeling or --disable-slipwheeling was given. |
5498 | if test "${enable_slipwheeling+set}" = set; then |
8042 | if test "${enable_slipwheeling+set}" = set; then |
5499 | enableval="$enable_slipwheeling" |
8043 | enableval="$enable_slipwheeling" |
5500 | if test x$enableval = xyes -o x$enableval = xno; then |
8044 | if test x$enableval = xyes -o x$enableval = xno; then |
5501 | support_mouseslipwheel=$enableval |
8045 | support_mouseslipwheel=$enableval |
5502 | fi |
8046 | fi |
5503 | fi |
8047 | fi; |
5504 | |
|
|
5505 | |
8048 | |
5506 | # Check whether --enable-old-selection or --disable-old-selection was given. |
8049 | # Check whether --enable-old-selection or --disable-old-selection was given. |
5507 | if test "${enable_old_selection+set}" = set; then |
8050 | if test "${enable_old_selection+set}" = set; then |
5508 | enableval="$enable_old_selection" |
8051 | enableval="$enable_old_selection" |
5509 | if test x$enableval = xyes -o x$enableval = xno; then |
8052 | if test x$enableval = xyes -o x$enableval = xno; then |
5510 | support_oldselection=$enableval |
8053 | support_oldselection=$enableval |
5511 | fi |
8054 | fi |
5512 | fi |
8055 | fi; |
5513 | |
|
|
5514 | |
8056 | |
5515 | # Check whether --enable-new-selection or --disable-new-selection was given. |
8057 | # Check whether --enable-new-selection or --disable-new-selection was given. |
5516 | if test "${enable_new_selection+set}" = set; then |
8058 | if test "${enable_new_selection+set}" = set; then |
5517 | enableval="$enable_new_selection" |
8059 | enableval="$enable_new_selection" |
5518 | if test x$enableval = xno; then |
8060 | if test x$enableval = xno; then |
|
|
8061 | |
5519 | cat >> confdefs.h <<\EOF |
8062 | cat >>confdefs.h <<\_ACEOF |
5520 | #define NO_NEW_SELECTION 1 |
8063 | #define NO_NEW_SELECTION 1 |
5521 | EOF |
8064 | _ACEOF |
5522 | |
8065 | |
5523 | fi |
8066 | fi |
5524 | fi |
8067 | fi; |
5525 | |
|
|
5526 | |
8068 | |
5527 | # Check whether --enable-dmalloc or --disable-dmalloc was given. |
8069 | # Check whether --enable-dmalloc or --disable-dmalloc was given. |
5528 | if test "${enable_dmalloc+set}" = set; then |
8070 | if test "${enable_dmalloc+set}" = set; then |
5529 | enableval="$enable_dmalloc" |
8071 | enableval="$enable_dmalloc" |
5530 | if test x$enableval = xyes; then |
8072 | if test x$enableval = xyes; then |
5531 | MALLOC_TYPE=G |
8073 | MALLOC_TYPE=G |
5532 | DEBUG=-DDEBUG_MALLOC |
8074 | DEBUG=-DDEBUG_MALLOC |
5533 | DLIB="-L/usr/local/lib -ldmalloc" |
8075 | DLIB="-L/usr/local/lib -ldmalloc" |
5534 | DINCLUDE=-I/usr/local/include |
8076 | DINCLUDE=-I/usr/local/include |
5535 | fi |
8077 | fi |
5536 | fi |
8078 | fi; |
5537 | |
|
|
5538 | |
8079 | |
5539 | # Check whether --enable-dlmalloc or --disable-dlmalloc was given. |
8080 | # Check whether --enable-dlmalloc or --disable-dlmalloc was given. |
5540 | if test "${enable_dlmalloc+set}" = set; then |
8081 | if test "${enable_dlmalloc+set}" = set; then |
5541 | enableval="$enable_dlmalloc" |
8082 | enableval="$enable_dlmalloc" |
5542 | if test x$enableval = xyes; then |
8083 | if test x$enableval = xyes; then |
5543 | MALLOC_TYPE=D |
8084 | MALLOC_TYPE=D |
5544 | DEBUG= |
8085 | DEBUG= |
5545 | DLIB="-L/usr/local/lib -ldlmalloc" |
8086 | DLIB="-L/usr/local/lib -ldlmalloc" |
5546 | DINCLUDE= |
8087 | DINCLUDE= |
5547 | fi |
8088 | fi |
5548 | fi |
8089 | fi; |
5549 | |
|
|
5550 | |
8090 | |
5551 | # Check whether --enable-smart-resize or --disable-smart-resize was given. |
8091 | # Check whether --enable-smart-resize or --disable-smart-resize was given. |
5552 | if test "${enable_smart_resize+set}" = set; then |
8092 | if test "${enable_smart_resize+set}" = set; then |
5553 | enableval="$enable_smart_resize" |
8093 | enableval="$enable_smart_resize" |
5554 | if test x$enableval = xyes; then |
8094 | if test x$enableval = xyes; then |
|
|
8095 | |
5555 | cat >> confdefs.h <<\EOF |
8096 | cat >>confdefs.h <<\_ACEOF |
5556 | #define SMART_RESIZE 1 |
8097 | #define SMART_RESIZE 1 |
5557 | EOF |
8098 | _ACEOF |
5558 | |
8099 | |
5559 | fi |
8100 | fi |
5560 | fi |
8101 | fi; |
5561 | |
|
|
5562 | |
8102 | |
5563 | # Check whether --enable-256-color or --disable-256-color was given. |
8103 | # Check whether --enable-256-color or --disable-256-color was given. |
5564 | if test "${enable_256_color+set}" = set; then |
8104 | if test "${enable_256_color+set}" = set; then |
5565 | enableval="$enable_256_color" |
8105 | enableval="$enable_256_color" |
5566 | if test x$enableval = xyes; then |
8106 | if test x$enableval = xyes; then |
|
|
8107 | |
5567 | cat >> confdefs.h <<\EOF |
8108 | cat >>confdefs.h <<\_ACEOF |
5568 | #define TTY_256COLOR 1 |
8109 | #define TTY_256COLOR 1 |
5569 | EOF |
8110 | _ACEOF |
5570 | |
8111 | |
5571 | fi |
8112 | fi |
5572 | fi |
8113 | fi; |
5573 | |
|
|
5574 | |
8114 | |
5575 | # Check whether --enable-cursor-blink or --disable-cursor-blink was given. |
8115 | # Check whether --enable-cursor-blink or --disable-cursor-blink was given. |
5576 | if test "${enable_cursor_blink+set}" = set; then |
8116 | if test "${enable_cursor_blink+set}" = set; then |
5577 | enableval="$enable_cursor_blink" |
8117 | enableval="$enable_cursor_blink" |
5578 | if test x$enableval = xyes -o x$enableval = xno; then |
8118 | if test x$enableval = xyes -o x$enableval = xno; then |
5579 | support_cursor_blink=$enableval |
8119 | support_cursor_blink=$enableval |
5580 | fi |
8120 | fi |
5581 | fi |
8121 | fi; |
5582 | |
8122 | |
|
|
8123 | # Check whether --enable-text-blink or --disable-text-blink was given. |
|
|
8124 | if test "${enable_text_blink+set}" = set; then |
|
|
8125 | enableval="$enable_text_blink" |
|
|
8126 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8127 | support_text_blink=$enableval |
|
|
8128 | fi |
|
|
8129 | fi; |
5583 | |
8130 | |
5584 | # Check whether --enable-pointer-blank or --disable-pointer-blank was given. |
8131 | # Check whether --enable-pointer-blank or --disable-pointer-blank was given. |
5585 | if test "${enable_pointer_blank+set}" = set; then |
8132 | if test "${enable_pointer_blank+set}" = set; then |
5586 | enableval="$enable_pointer_blank" |
8133 | enableval="$enable_pointer_blank" |
5587 | if test x$enableval = xyes -o x$enableval = xno; then |
8134 | if test x$enableval = xyes -o x$enableval = xno; then |
5588 | support_pointer_blank=$enableval |
8135 | support_pointer_blank=$enableval |
5589 | fi |
8136 | fi |
5590 | fi |
8137 | fi; |
5591 | |
8138 | |
5592 | |
8139 | |
5593 | # Check whether --with-term or --without-term was given. |
8140 | # Check whether --with-term or --without-term was given. |
5594 | if test "${with_term+set}" = set; then |
8141 | if test "${with_term+set}" = set; then |
5595 | withval="$with_term" |
8142 | withval="$with_term" |
5596 | if test x$withval != x; then |
8143 | if test x$withval != x; then |
|
|
8144 | |
5597 | cat >> confdefs.h <<EOF |
8145 | cat >>confdefs.h <<_ACEOF |
5598 | #define TERMENV "$withval" |
8146 | #define TERMENV "$withval" |
5599 | EOF |
8147 | _ACEOF |
5600 | term="$withval" |
8148 | term="$withval" |
5601 | fi |
8149 | fi |
5602 | fi |
8150 | fi; |
5603 | |
8151 | |
5604 | |
8152 | |
5605 | # Check whether --with-terminfo or --without-terminfo was given. |
8153 | # Check whether --with-terminfo or --without-terminfo was given. |
5606 | if test "${with_terminfo+set}" = set; then |
8154 | if test "${with_terminfo+set}" = set; then |
5607 | withval="$with_terminfo" |
8155 | withval="$with_terminfo" |
5608 | if test x$withval != x; then |
8156 | if test x$withval != x; then |
|
|
8157 | |
5609 | cat >> confdefs.h <<EOF |
8158 | cat >>confdefs.h <<_ACEOF |
5610 | #define RXVT_TERMINFO "$withval" |
8159 | #define RXVT_TERMINFO "$withval" |
5611 | EOF |
8160 | _ACEOF |
5612 | terminfo="$withval" |
8161 | terminfo="$withval" |
5613 | fi |
8162 | fi |
5614 | fi |
8163 | fi; |
5615 | |
8164 | |
5616 | |
8165 | |
5617 | |
8166 | |
5618 | cat >> confdefs.h <<\EOF |
8167 | cat >>confdefs.h <<\_ACEOF |
5619 | #define PROTOTYPES 1 |
8168 | #define PROTOTYPES 1 |
5620 | EOF |
8169 | _ACEOF |
5621 | |
8170 | |
5622 | |
8171 | |
5623 | if test -z "$CFLAGS"; then |
8172 | if test -z "$CFLAGS"; then |
5624 | if test -z "$CCOPTS"; then |
8173 | if test -z "$CCOPTS"; then |
5625 | CCOPTS='-O' |
8174 | CCOPTS='-O' |
… | |
… | |
5627 | CFLAGS="$CCOPTS" |
8176 | CFLAGS="$CCOPTS" |
5628 | fi |
8177 | fi |
5629 | |
8178 | |
5630 | # Extract the first word of "mv", so it can be a program name with args. |
8179 | # Extract the first word of "mv", so it can be a program name with args. |
5631 | set dummy mv; ac_word=$2 |
8180 | set dummy mv; ac_word=$2 |
|
|
8181 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5632 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
8182 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5633 | echo "configure:5634: checking for $ac_word" >&5 |
|
|
5634 | if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then |
8183 | if test "${ac_cv_path_MV+set}" = set; then |
5635 | echo $ac_n "(cached) $ac_c" 1>&6 |
8184 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5636 | else |
8185 | else |
5637 | case "$MV" in |
8186 | case $MV in |
5638 | /*) |
8187 | [\\/]* | ?:[\\/]*) |
5639 | ac_cv_path_MV="$MV" # Let the user override the test with a path. |
8188 | ac_cv_path_MV="$MV" # Let the user override the test with a path. |
5640 | ;; |
8189 | ;; |
5641 | ?:/*) |
|
|
5642 | ac_cv_path_MV="$MV" # Let the user override the test with a dos path. |
|
|
5643 | ;; |
|
|
5644 | *) |
8190 | *) |
5645 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
8191 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5646 | ac_dummy="$PATH" |
8192 | for as_dir in $PATH |
5647 | for ac_dir in $ac_dummy; do |
8193 | do |
|
|
8194 | IFS=$as_save_IFS |
5648 | test -z "$ac_dir" && ac_dir=. |
8195 | test -z "$as_dir" && as_dir=. |
5649 | if test -f $ac_dir/$ac_word; then |
8196 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8197 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5650 | ac_cv_path_MV="$ac_dir/$ac_word" |
8198 | ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" |
|
|
8199 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5651 | break |
8200 | break 2 |
5652 | fi |
8201 | fi |
5653 | done |
8202 | done |
5654 | IFS="$ac_save_ifs" |
8203 | done |
|
|
8204 | |
5655 | test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv" |
8205 | test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv" |
5656 | ;; |
8206 | ;; |
5657 | esac |
8207 | esac |
5658 | fi |
8208 | fi |
5659 | MV="$ac_cv_path_MV" |
8209 | MV=$ac_cv_path_MV |
|
|
8210 | |
5660 | if test -n "$MV"; then |
8211 | if test -n "$MV"; then |
5661 | echo "$ac_t""$MV" 1>&6 |
8212 | echo "$as_me:$LINENO: result: $MV" >&5 |
|
|
8213 | echo "${ECHO_T}$MV" >&6 |
5662 | else |
8214 | else |
5663 | echo "$ac_t""no" 1>&6 |
8215 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
8216 | echo "${ECHO_T}no" >&6 |
5664 | fi |
8217 | fi |
5665 | |
8218 | |
5666 | # Extract the first word of "rm", so it can be a program name with args. |
8219 | # Extract the first word of "rm", so it can be a program name with args. |
5667 | set dummy rm; ac_word=$2 |
8220 | set dummy rm; ac_word=$2 |
|
|
8221 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5668 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
8222 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5669 | echo "configure:5670: checking for $ac_word" >&5 |
|
|
5670 | if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then |
8223 | if test "${ac_cv_path_RM+set}" = set; then |
5671 | echo $ac_n "(cached) $ac_c" 1>&6 |
8224 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5672 | else |
8225 | else |
5673 | case "$RM" in |
8226 | case $RM in |
5674 | /*) |
8227 | [\\/]* | ?:[\\/]*) |
5675 | ac_cv_path_RM="$RM" # Let the user override the test with a path. |
8228 | ac_cv_path_RM="$RM" # Let the user override the test with a path. |
5676 | ;; |
8229 | ;; |
5677 | ?:/*) |
|
|
5678 | ac_cv_path_RM="$RM" # Let the user override the test with a dos path. |
|
|
5679 | ;; |
|
|
5680 | *) |
8230 | *) |
5681 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
8231 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5682 | ac_dummy="$PATH" |
8232 | for as_dir in $PATH |
5683 | for ac_dir in $ac_dummy; do |
8233 | do |
|
|
8234 | IFS=$as_save_IFS |
5684 | test -z "$ac_dir" && ac_dir=. |
8235 | test -z "$as_dir" && as_dir=. |
5685 | if test -f $ac_dir/$ac_word; then |
8236 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8237 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5686 | ac_cv_path_RM="$ac_dir/$ac_word" |
8238 | ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" |
|
|
8239 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5687 | break |
8240 | break 2 |
5688 | fi |
8241 | fi |
5689 | done |
8242 | done |
5690 | IFS="$ac_save_ifs" |
8243 | done |
|
|
8244 | |
5691 | test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm" |
8245 | test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm" |
5692 | ;; |
8246 | ;; |
5693 | esac |
8247 | esac |
5694 | fi |
8248 | fi |
5695 | RM="$ac_cv_path_RM" |
8249 | RM=$ac_cv_path_RM |
|
|
8250 | |
5696 | if test -n "$RM"; then |
8251 | if test -n "$RM"; then |
5697 | echo "$ac_t""$RM" 1>&6 |
8252 | echo "$as_me:$LINENO: result: $RM" >&5 |
|
|
8253 | echo "${ECHO_T}$RM" >&6 |
5698 | else |
8254 | else |
5699 | echo "$ac_t""no" 1>&6 |
8255 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
8256 | echo "${ECHO_T}no" >&6 |
5700 | fi |
8257 | fi |
5701 | |
8258 | |
5702 | # Extract the first word of "cp", so it can be a program name with args. |
8259 | # Extract the first word of "cp", so it can be a program name with args. |
5703 | set dummy cp; ac_word=$2 |
8260 | set dummy cp; ac_word=$2 |
|
|
8261 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5704 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
8262 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5705 | echo "configure:5706: checking for $ac_word" >&5 |
|
|
5706 | if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then |
8263 | if test "${ac_cv_path_CP+set}" = set; then |
5707 | echo $ac_n "(cached) $ac_c" 1>&6 |
8264 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5708 | else |
8265 | else |
5709 | case "$CP" in |
8266 | case $CP in |
5710 | /*) |
8267 | [\\/]* | ?:[\\/]*) |
5711 | ac_cv_path_CP="$CP" # Let the user override the test with a path. |
8268 | ac_cv_path_CP="$CP" # Let the user override the test with a path. |
5712 | ;; |
8269 | ;; |
5713 | ?:/*) |
|
|
5714 | ac_cv_path_CP="$CP" # Let the user override the test with a dos path. |
|
|
5715 | ;; |
|
|
5716 | *) |
8270 | *) |
5717 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
8271 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5718 | ac_dummy="$PATH" |
8272 | for as_dir in $PATH |
5719 | for ac_dir in $ac_dummy; do |
8273 | do |
|
|
8274 | IFS=$as_save_IFS |
5720 | test -z "$ac_dir" && ac_dir=. |
8275 | test -z "$as_dir" && as_dir=. |
5721 | if test -f $ac_dir/$ac_word; then |
8276 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8277 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5722 | ac_cv_path_CP="$ac_dir/$ac_word" |
8278 | ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" |
|
|
8279 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5723 | break |
8280 | break 2 |
5724 | fi |
8281 | fi |
5725 | done |
8282 | done |
5726 | IFS="$ac_save_ifs" |
8283 | done |
|
|
8284 | |
5727 | test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp" |
8285 | test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp" |
5728 | ;; |
8286 | ;; |
5729 | esac |
8287 | esac |
5730 | fi |
8288 | fi |
5731 | CP="$ac_cv_path_CP" |
8289 | CP=$ac_cv_path_CP |
|
|
8290 | |
5732 | if test -n "$CP"; then |
8291 | if test -n "$CP"; then |
5733 | echo "$ac_t""$CP" 1>&6 |
8292 | echo "$as_me:$LINENO: result: $CP" >&5 |
|
|
8293 | echo "${ECHO_T}$CP" >&6 |
5734 | else |
8294 | else |
5735 | echo "$ac_t""no" 1>&6 |
8295 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
8296 | echo "${ECHO_T}no" >&6 |
5736 | fi |
8297 | fi |
5737 | |
8298 | |
5738 | # Extract the first word of "ln", so it can be a program name with args. |
8299 | # Extract the first word of "ln", so it can be a program name with args. |
5739 | set dummy ln; ac_word=$2 |
8300 | set dummy ln; ac_word=$2 |
|
|
8301 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5740 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
8302 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5741 | echo "configure:5742: checking for $ac_word" >&5 |
|
|
5742 | if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then |
8303 | if test "${ac_cv_path_LN+set}" = set; then |
5743 | echo $ac_n "(cached) $ac_c" 1>&6 |
8304 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5744 | else |
8305 | else |
5745 | case "$LN" in |
8306 | case $LN in |
5746 | /*) |
8307 | [\\/]* | ?:[\\/]*) |
5747 | ac_cv_path_LN="$LN" # Let the user override the test with a path. |
8308 | ac_cv_path_LN="$LN" # Let the user override the test with a path. |
5748 | ;; |
8309 | ;; |
5749 | ?:/*) |
|
|
5750 | ac_cv_path_LN="$LN" # Let the user override the test with a dos path. |
|
|
5751 | ;; |
|
|
5752 | *) |
8310 | *) |
5753 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
8311 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5754 | ac_dummy="$PATH" |
8312 | for as_dir in $PATH |
5755 | for ac_dir in $ac_dummy; do |
8313 | do |
|
|
8314 | IFS=$as_save_IFS |
5756 | test -z "$ac_dir" && ac_dir=. |
8315 | test -z "$as_dir" && as_dir=. |
5757 | if test -f $ac_dir/$ac_word; then |
8316 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8317 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5758 | ac_cv_path_LN="$ac_dir/$ac_word" |
8318 | ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext" |
|
|
8319 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5759 | break |
8320 | break 2 |
5760 | fi |
8321 | fi |
5761 | done |
8322 | done |
5762 | IFS="$ac_save_ifs" |
8323 | done |
|
|
8324 | |
5763 | test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln" |
8325 | test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln" |
5764 | ;; |
8326 | ;; |
5765 | esac |
8327 | esac |
5766 | fi |
8328 | fi |
5767 | LN="$ac_cv_path_LN" |
8329 | LN=$ac_cv_path_LN |
|
|
8330 | |
5768 | if test -n "$LN"; then |
8331 | if test -n "$LN"; then |
5769 | echo "$ac_t""$LN" 1>&6 |
8332 | echo "$as_me:$LINENO: result: $LN" >&5 |
|
|
8333 | echo "${ECHO_T}$LN" >&6 |
5770 | else |
8334 | else |
5771 | echo "$ac_t""no" 1>&6 |
8335 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
8336 | echo "${ECHO_T}no" >&6 |
5772 | fi |
8337 | fi |
5773 | |
8338 | |
5774 | # Extract the first word of "sed", so it can be a program name with args. |
8339 | # Extract the first word of "sed", so it can be a program name with args. |
5775 | set dummy sed; ac_word=$2 |
8340 | set dummy sed; ac_word=$2 |
|
|
8341 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5776 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
8342 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5777 | echo "configure:5778: checking for $ac_word" >&5 |
|
|
5778 | if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then |
8343 | if test "${ac_cv_path_SED+set}" = set; then |
5779 | echo $ac_n "(cached) $ac_c" 1>&6 |
8344 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5780 | else |
8345 | else |
5781 | case "$SED" in |
8346 | case $SED in |
5782 | /*) |
8347 | [\\/]* | ?:[\\/]*) |
5783 | ac_cv_path_SED="$SED" # Let the user override the test with a path. |
8348 | ac_cv_path_SED="$SED" # Let the user override the test with a path. |
5784 | ;; |
8349 | ;; |
5785 | ?:/*) |
|
|
5786 | ac_cv_path_SED="$SED" # Let the user override the test with a dos path. |
|
|
5787 | ;; |
|
|
5788 | *) |
8350 | *) |
5789 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
8351 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5790 | ac_dummy="$PATH" |
8352 | for as_dir in $PATH |
5791 | for ac_dir in $ac_dummy; do |
8353 | do |
|
|
8354 | IFS=$as_save_IFS |
5792 | test -z "$ac_dir" && ac_dir=. |
8355 | test -z "$as_dir" && as_dir=. |
5793 | if test -f $ac_dir/$ac_word; then |
8356 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8357 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5794 | ac_cv_path_SED="$ac_dir/$ac_word" |
8358 | ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" |
|
|
8359 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5795 | break |
8360 | break 2 |
5796 | fi |
8361 | fi |
5797 | done |
8362 | done |
5798 | IFS="$ac_save_ifs" |
8363 | done |
|
|
8364 | |
5799 | test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed" |
8365 | test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed" |
5800 | ;; |
8366 | ;; |
5801 | esac |
8367 | esac |
5802 | fi |
8368 | fi |
5803 | SED="$ac_cv_path_SED" |
8369 | SED=$ac_cv_path_SED |
|
|
8370 | |
5804 | if test -n "$SED"; then |
8371 | if test -n "$SED"; then |
5805 | echo "$ac_t""$SED" 1>&6 |
8372 | echo "$as_me:$LINENO: result: $SED" >&5 |
|
|
8373 | echo "${ECHO_T}$SED" >&6 |
5806 | else |
8374 | else |
5807 | echo "$ac_t""no" 1>&6 |
8375 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
8376 | echo "${ECHO_T}no" >&6 |
5808 | fi |
8377 | fi |
5809 | |
8378 | |
5810 | # Extract the first word of "echo", so it can be a program name with args. |
8379 | # Extract the first word of "echo", so it can be a program name with args. |
5811 | set dummy echo; ac_word=$2 |
8380 | set dummy echo; ac_word=$2 |
|
|
8381 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5812 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
8382 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5813 | echo "configure:5814: checking for $ac_word" >&5 |
|
|
5814 | if eval "test \"`echo '$''{'ac_cv_path_ECHO'+set}'`\" = set"; then |
8383 | if test "${ac_cv_path_ECHO+set}" = set; then |
5815 | echo $ac_n "(cached) $ac_c" 1>&6 |
8384 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5816 | else |
8385 | else |
5817 | case "$ECHO" in |
8386 | case $ECHO in |
5818 | /*) |
8387 | [\\/]* | ?:[\\/]*) |
5819 | ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path. |
8388 | ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path. |
5820 | ;; |
8389 | ;; |
5821 | ?:/*) |
|
|
5822 | ac_cv_path_ECHO="$ECHO" # Let the user override the test with a dos path. |
|
|
5823 | ;; |
|
|
5824 | *) |
8390 | *) |
5825 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
8391 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5826 | ac_dummy="$PATH" |
8392 | for as_dir in $PATH |
5827 | for ac_dir in $ac_dummy; do |
8393 | do |
|
|
8394 | IFS=$as_save_IFS |
5828 | test -z "$ac_dir" && ac_dir=. |
8395 | test -z "$as_dir" && as_dir=. |
5829 | if test -f $ac_dir/$ac_word; then |
8396 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8397 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5830 | ac_cv_path_ECHO="$ac_dir/$ac_word" |
8398 | ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext" |
|
|
8399 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5831 | break |
8400 | break 2 |
5832 | fi |
8401 | fi |
5833 | done |
8402 | done |
5834 | IFS="$ac_save_ifs" |
8403 | done |
|
|
8404 | |
5835 | test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo" |
8405 | test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo" |
5836 | ;; |
8406 | ;; |
5837 | esac |
8407 | esac |
5838 | fi |
8408 | fi |
5839 | ECHO="$ac_cv_path_ECHO" |
8409 | ECHO=$ac_cv_path_ECHO |
|
|
8410 | |
5840 | if test -n "$ECHO"; then |
8411 | if test -n "$ECHO"; then |
5841 | echo "$ac_t""$ECHO" 1>&6 |
8412 | echo "$as_me:$LINENO: result: $ECHO" >&5 |
|
|
8413 | echo "${ECHO_T}$ECHO" >&6 |
5842 | else |
8414 | else |
5843 | echo "$ac_t""no" 1>&6 |
8415 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
8416 | echo "${ECHO_T}no" >&6 |
5844 | fi |
8417 | fi |
5845 | |
8418 | |
5846 | # Extract the first word of "cmp", so it can be a program name with args. |
8419 | # Extract the first word of "cmp", so it can be a program name with args. |
5847 | set dummy cmp; ac_word=$2 |
8420 | set dummy cmp; ac_word=$2 |
|
|
8421 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5848 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
8422 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5849 | echo "configure:5850: checking for $ac_word" >&5 |
|
|
5850 | if eval "test \"`echo '$''{'ac_cv_path_CMP'+set}'`\" = set"; then |
8423 | if test "${ac_cv_path_CMP+set}" = set; then |
5851 | echo $ac_n "(cached) $ac_c" 1>&6 |
8424 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5852 | else |
8425 | else |
5853 | case "$CMP" in |
8426 | case $CMP in |
5854 | /*) |
8427 | [\\/]* | ?:[\\/]*) |
5855 | ac_cv_path_CMP="$CMP" # Let the user override the test with a path. |
8428 | ac_cv_path_CMP="$CMP" # Let the user override the test with a path. |
5856 | ;; |
8429 | ;; |
5857 | ?:/*) |
|
|
5858 | ac_cv_path_CMP="$CMP" # Let the user override the test with a dos path. |
|
|
5859 | ;; |
|
|
5860 | *) |
8430 | *) |
5861 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
8431 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5862 | ac_dummy="$PATH" |
8432 | for as_dir in $PATH |
5863 | for ac_dir in $ac_dummy; do |
8433 | do |
|
|
8434 | IFS=$as_save_IFS |
5864 | test -z "$ac_dir" && ac_dir=. |
8435 | test -z "$as_dir" && as_dir=. |
5865 | if test -f $ac_dir/$ac_word; then |
8436 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8437 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5866 | ac_cv_path_CMP="$ac_dir/$ac_word" |
8438 | ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext" |
|
|
8439 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5867 | break |
8440 | break 2 |
5868 | fi |
8441 | fi |
5869 | done |
8442 | done |
5870 | IFS="$ac_save_ifs" |
8443 | done |
|
|
8444 | |
5871 | test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp" |
8445 | test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp" |
5872 | ;; |
8446 | ;; |
5873 | esac |
8447 | esac |
5874 | fi |
8448 | fi |
5875 | CMP="$ac_cv_path_CMP" |
8449 | CMP=$ac_cv_path_CMP |
|
|
8450 | |
5876 | if test -n "$CMP"; then |
8451 | if test -n "$CMP"; then |
5877 | echo "$ac_t""$CMP" 1>&6 |
8452 | echo "$as_me:$LINENO: result: $CMP" >&5 |
|
|
8453 | echo "${ECHO_T}$CMP" >&6 |
5878 | else |
8454 | else |
5879 | echo "$ac_t""no" 1>&6 |
8455 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
8456 | echo "${ECHO_T}no" >&6 |
5880 | fi |
8457 | fi |
5881 | |
8458 | |
5882 | # Extract the first word of "tbl", so it can be a program name with args. |
8459 | # Extract the first word of "tbl", so it can be a program name with args. |
5883 | set dummy tbl; ac_word=$2 |
8460 | set dummy tbl; ac_word=$2 |
|
|
8461 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5884 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
8462 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5885 | echo "configure:5886: checking for $ac_word" >&5 |
|
|
5886 | if eval "test \"`echo '$''{'ac_cv_path_TBL'+set}'`\" = set"; then |
8463 | if test "${ac_cv_path_TBL+set}" = set; then |
5887 | echo $ac_n "(cached) $ac_c" 1>&6 |
8464 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5888 | else |
8465 | else |
5889 | case "$TBL" in |
8466 | case $TBL in |
5890 | /*) |
8467 | [\\/]* | ?:[\\/]*) |
5891 | ac_cv_path_TBL="$TBL" # Let the user override the test with a path. |
8468 | ac_cv_path_TBL="$TBL" # Let the user override the test with a path. |
5892 | ;; |
8469 | ;; |
5893 | ?:/*) |
|
|
5894 | ac_cv_path_TBL="$TBL" # Let the user override the test with a dos path. |
|
|
5895 | ;; |
|
|
5896 | *) |
8470 | *) |
5897 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
8471 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5898 | ac_dummy="$PATH" |
8472 | for as_dir in $PATH |
5899 | for ac_dir in $ac_dummy; do |
8473 | do |
|
|
8474 | IFS=$as_save_IFS |
5900 | test -z "$ac_dir" && ac_dir=. |
8475 | test -z "$as_dir" && as_dir=. |
5901 | if test -f $ac_dir/$ac_word; then |
8476 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8477 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5902 | ac_cv_path_TBL="$ac_dir/$ac_word" |
8478 | ac_cv_path_TBL="$as_dir/$ac_word$ac_exec_ext" |
|
|
8479 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5903 | break |
8480 | break 2 |
5904 | fi |
8481 | fi |
5905 | done |
8482 | done |
5906 | IFS="$ac_save_ifs" |
8483 | done |
|
|
8484 | |
5907 | ;; |
8485 | ;; |
5908 | esac |
8486 | esac |
5909 | fi |
8487 | fi |
5910 | TBL="$ac_cv_path_TBL" |
8488 | TBL=$ac_cv_path_TBL |
|
|
8489 | |
5911 | if test -n "$TBL"; then |
8490 | if test -n "$TBL"; then |
5912 | echo "$ac_t""$TBL" 1>&6 |
8491 | echo "$as_me:$LINENO: result: $TBL" >&5 |
|
|
8492 | echo "${ECHO_T}$TBL" >&6 |
5913 | else |
8493 | else |
5914 | echo "$ac_t""no" 1>&6 |
8494 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
8495 | echo "${ECHO_T}no" >&6 |
5915 | fi |
8496 | fi |
5916 | |
8497 | |
5917 | |
8498 | |
5918 | |
8499 | |
5919 | |
8500 | |
5920 | # If we find X, set shell vars x_includes and x_libraries to the |
8501 | echo "$as_me:$LINENO: checking for X" >&5 |
5921 | # paths, otherwise set no_x=yes. |
|
|
5922 | # Uses ac_ vars as temps to allow command line to override cache and checks. |
|
|
5923 | # --without-x overrides everything else, but does not touch the cache. |
|
|
5924 | echo $ac_n "checking for X""... $ac_c" 1>&6 |
8502 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
5925 | echo "configure:5926: checking for X" >&5 |
8503 | |
5926 | |
8504 | |
5927 | # Check whether --with-x or --without-x was given. |
8505 | # Check whether --with-x or --without-x was given. |
5928 | if test "${with_x+set}" = set; then |
8506 | if test "${with_x+set}" = set; then |
5929 | withval="$with_x" |
8507 | withval="$with_x" |
5930 | : |
8508 | |
5931 | fi |
8509 | fi; |
5932 | |
|
|
5933 | # $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
8510 | # $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
5934 | if test "x$with_x" = xno; then |
8511 | if test "x$with_x" = xno; then |
5935 | # The user explicitly disabled X. |
8512 | # The user explicitly disabled X. |
5936 | have_x=disabled |
8513 | have_x=disabled |
5937 | else |
8514 | else |
5938 | if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then |
8515 | if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then |
5939 | # Both variables are already set. |
8516 | # Both variables are already set. |
5940 | have_x=yes |
8517 | have_x=yes |
5941 | else |
8518 | else |
5942 | if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then |
8519 | if test "${ac_cv_have_x+set}" = set; then |
5943 | echo $ac_n "(cached) $ac_c" 1>&6 |
8520 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5944 | else |
8521 | else |
5945 | # One or both of the vars are not set, and there is no cached value. |
8522 | # One or both of the vars are not set, and there is no cached value. |
5946 | ac_x_includes=NO ac_x_libraries=NO |
8523 | ac_x_includes=no ac_x_libraries=no |
5947 | rm -fr conftestdir |
8524 | rm -fr conftest.dir |
5948 | if mkdir conftestdir; then |
8525 | if mkdir conftest.dir; then |
5949 | cd conftestdir |
8526 | cd conftest.dir |
5950 | # Make sure to not put "make" in the Imakefile rules, since we grep it out. |
8527 | # Make sure to not put "make" in the Imakefile rules, since we grep it out. |
5951 | cat > Imakefile <<'EOF' |
8528 | cat >Imakefile <<'_ACEOF' |
5952 | acfindx: |
8529 | acfindx: |
5953 | @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' |
8530 | @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' |
5954 | EOF |
8531 | _ACEOF |
5955 | if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then |
8532 | if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then |
5956 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
8533 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
5957 | eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` |
8534 | eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` |
5958 | # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
8535 | # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
5959 | for ac_extension in a so sl; do |
8536 | for ac_extension in a so sl; do |
5960 | if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && |
8537 | if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && |
5961 | test -f $ac_im_libdir/libX11.$ac_extension; then |
8538 | test -f $ac_im_libdir/libX11.$ac_extension; then |
5962 | ac_im_usrlibdir=$ac_im_libdir; break |
8539 | ac_im_usrlibdir=$ac_im_libdir; break |
5963 | fi |
8540 | fi |
5964 | done |
8541 | done |
5965 | # Screen out bogus values from the imake configuration. They are |
8542 | # Screen out bogus values from the imake configuration. They are |
5966 | # bogus both because they are the default anyway, and because |
8543 | # bogus both because they are the default anyway, and because |
5967 | # using them would break gcc on systems where it needs fixed includes. |
8544 | # using them would break gcc on systems where it needs fixed includes. |
5968 | case "$ac_im_incroot" in |
8545 | case $ac_im_incroot in |
5969 | /usr/include) ;; |
8546 | /usr/include) ;; |
5970 | *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;; |
8547 | *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
5971 | esac |
8548 | esac |
5972 | case "$ac_im_usrlibdir" in |
8549 | case $ac_im_usrlibdir in |
5973 | /usr/lib | /lib) ;; |
8550 | /usr/lib | /lib) ;; |
5974 | *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;; |
8551 | *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
5975 | esac |
8552 | esac |
5976 | fi |
8553 | fi |
5977 | cd .. |
8554 | cd .. |
5978 | rm -fr conftestdir |
8555 | rm -fr conftest.dir |
5979 | fi |
8556 | fi |
5980 | |
8557 | |
|
|
8558 | # Standard set of common directories for X headers. |
|
|
8559 | # Check X11 before X11Rn because it is often a symlink to the current release. |
|
|
8560 | ac_x_header_dirs=' |
|
|
8561 | /usr/X11/include |
|
|
8562 | /usr/X11R6/include |
|
|
8563 | /usr/X11R5/include |
|
|
8564 | /usr/X11R4/include |
|
|
8565 | |
|
|
8566 | /usr/include/X11 |
|
|
8567 | /usr/include/X11R6 |
|
|
8568 | /usr/include/X11R5 |
|
|
8569 | /usr/include/X11R4 |
|
|
8570 | |
|
|
8571 | /usr/local/X11/include |
|
|
8572 | /usr/local/X11R6/include |
|
|
8573 | /usr/local/X11R5/include |
|
|
8574 | /usr/local/X11R4/include |
|
|
8575 | |
|
|
8576 | /usr/local/include/X11 |
|
|
8577 | /usr/local/include/X11R6 |
|
|
8578 | /usr/local/include/X11R5 |
|
|
8579 | /usr/local/include/X11R4 |
|
|
8580 | |
|
|
8581 | /usr/X386/include |
|
|
8582 | /usr/x386/include |
|
|
8583 | /usr/XFree86/include/X11 |
|
|
8584 | |
|
|
8585 | /usr/include |
|
|
8586 | /usr/local/include |
|
|
8587 | /usr/unsupported/include |
|
|
8588 | /usr/athena/include |
|
|
8589 | /usr/local/x11r5/include |
|
|
8590 | /usr/lpp/Xamples/include |
|
|
8591 | |
|
|
8592 | /usr/openwin/include |
|
|
8593 | /usr/openwin/share/include' |
|
|
8594 | |
5981 | if test "$ac_x_includes" = NO; then |
8595 | if test "$ac_x_includes" = no; then |
5982 | # Guess where to find include files, by looking for this one X11 .h file. |
8596 | # Guess where to find include files, by looking for Intrinsic.h. |
5983 | test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
|
|
5984 | |
|
|
5985 | # First, try using that file with no special directory specified. |
8597 | # First, try using that file with no special directory specified. |
|
|
8598 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8599 | /* confdefs.h. */ |
|
|
8600 | _ACEOF |
|
|
8601 | cat confdefs.h >>conftest.$ac_ext |
5986 | cat > conftest.$ac_ext <<EOF |
8602 | cat >>conftest.$ac_ext <<_ACEOF |
5987 | #line 5988 "configure" |
8603 | /* end confdefs.h. */ |
5988 | #include "confdefs.h" |
8604 | #include <X11/Intrinsic.h> |
5989 | #include <$x_direct_test_include> |
8605 | _ACEOF |
5990 | EOF |
8606 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5991 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8607 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5992 | { (eval echo configure:5993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8608 | ac_status=$? |
5993 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8609 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8610 | rm -f conftest.er1 |
|
|
8611 | cat conftest.err >&5 |
|
|
8612 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8613 | (exit $ac_status); } >/dev/null; then |
|
|
8614 | if test -s conftest.err; then |
|
|
8615 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
8616 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
8617 | else |
|
|
8618 | ac_cpp_err= |
|
|
8619 | fi |
|
|
8620 | else |
|
|
8621 | ac_cpp_err=yes |
|
|
8622 | fi |
5994 | if test -z "$ac_err"; then |
8623 | if test -z "$ac_cpp_err"; then |
5995 | rm -rf conftest* |
|
|
5996 | # We can compile using X headers with no special include directory. |
8624 | # We can compile using X headers with no special include directory. |
5997 | ac_x_includes= |
8625 | ac_x_includes= |
5998 | else |
8626 | else |
5999 | echo "$ac_err" >&5 |
|
|
6000 | echo "configure: failed program was:" >&5 |
8627 | echo "$as_me: failed program was:" >&5 |
6001 | cat conftest.$ac_ext >&5 |
8628 | sed 's/^/| /' conftest.$ac_ext >&5 |
6002 | rm -rf conftest* |
8629 | |
6003 | # Look for the header file in a standard set of common directories. |
8630 | for ac_dir in $ac_x_header_dirs; do |
6004 | # Check X11 before X11Rn because it is often a symlink to the current release. |
8631 | if test -r "$ac_dir/X11/Intrinsic.h"; then |
6005 | for ac_dir in \ |
|
|
6006 | /usr/X11/include \ |
|
|
6007 | /usr/X11R6/include \ |
|
|
6008 | /usr/X11R5/include \ |
|
|
6009 | /usr/X11R4/include \ |
|
|
6010 | \ |
|
|
6011 | /usr/include/X11 \ |
|
|
6012 | /usr/include/X11R6 \ |
|
|
6013 | /usr/include/X11R5 \ |
|
|
6014 | /usr/include/X11R4 \ |
|
|
6015 | \ |
|
|
6016 | /usr/local/X11/include \ |
|
|
6017 | /usr/local/X11R6/include \ |
|
|
6018 | /usr/local/X11R5/include \ |
|
|
6019 | /usr/local/X11R4/include \ |
|
|
6020 | \ |
|
|
6021 | /usr/local/include/X11 \ |
|
|
6022 | /usr/local/include/X11R6 \ |
|
|
6023 | /usr/local/include/X11R5 \ |
|
|
6024 | /usr/local/include/X11R4 \ |
|
|
6025 | \ |
|
|
6026 | /usr/X386/include \ |
|
|
6027 | /usr/x386/include \ |
|
|
6028 | /usr/XFree86/include/X11 \ |
|
|
6029 | \ |
|
|
6030 | /usr/include \ |
|
|
6031 | /usr/local/include \ |
|
|
6032 | /usr/unsupported/include \ |
|
|
6033 | /usr/athena/include \ |
|
|
6034 | /usr/local/x11r5/include \ |
|
|
6035 | /usr/lpp/Xamples/include \ |
|
|
6036 | \ |
|
|
6037 | /usr/openwin/include \ |
|
|
6038 | /usr/openwin/share/include \ |
|
|
6039 | ; \ |
|
|
6040 | do |
|
|
6041 | if test -r "$ac_dir/$x_direct_test_include"; then |
|
|
6042 | ac_x_includes=$ac_dir |
8632 | ac_x_includes=$ac_dir |
6043 | break |
8633 | break |
6044 | fi |
8634 | fi |
6045 | done |
8635 | done |
6046 | fi |
8636 | fi |
6047 | rm -f conftest* |
8637 | rm -f conftest.err conftest.$ac_ext |
6048 | fi # $ac_x_includes = NO |
8638 | fi # $ac_x_includes = no |
6049 | |
8639 | |
6050 | if test "$ac_x_libraries" = NO; then |
8640 | if test "$ac_x_libraries" = no; then |
6051 | # Check for the libraries. |
8641 | # Check for the libraries. |
6052 | |
|
|
6053 | test -z "$x_direct_test_library" && x_direct_test_library=Xt |
|
|
6054 | test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc |
|
|
6055 | |
|
|
6056 | # See if we find them without any special options. |
8642 | # See if we find them without any special options. |
6057 | # Don't add to $LIBS permanently. |
8643 | # Don't add to $LIBS permanently. |
6058 | ac_save_LIBS="$LIBS" |
8644 | ac_save_LIBS=$LIBS |
6059 | LIBS="-l$x_direct_test_library $LIBS" |
8645 | LIBS="-lXt $LIBS" |
|
|
8646 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8647 | /* confdefs.h. */ |
|
|
8648 | _ACEOF |
|
|
8649 | cat confdefs.h >>conftest.$ac_ext |
6060 | cat > conftest.$ac_ext <<EOF |
8650 | cat >>conftest.$ac_ext <<_ACEOF |
6061 | #line 6062 "configure" |
8651 | /* end confdefs.h. */ |
6062 | #include "confdefs.h" |
8652 | #include <X11/Intrinsic.h> |
6063 | |
8653 | int |
6064 | int main() { |
8654 | main () |
6065 | ${x_direct_test_function}() |
8655 | { |
|
|
8656 | XtMalloc (0) |
|
|
8657 | ; |
6066 | ; return 0; } |
8658 | return 0; |
6067 | EOF |
8659 | } |
6068 | if { (eval echo configure:6069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8660 | _ACEOF |
|
|
8661 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
8662 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
8663 | (eval $ac_link) 2>conftest.er1 |
|
|
8664 | ac_status=$? |
|
|
8665 | grep -v '^ *+' conftest.er1 >conftest.err |
6069 | rm -rf conftest* |
8666 | rm -f conftest.er1 |
|
|
8667 | cat conftest.err >&5 |
|
|
8668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8669 | (exit $ac_status); } && |
|
|
8670 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
8671 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8672 | (eval $ac_try) 2>&5 |
|
|
8673 | ac_status=$? |
|
|
8674 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8675 | (exit $ac_status); }; } && |
|
|
8676 | { ac_try='test -s conftest$ac_exeext' |
|
|
8677 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8678 | (eval $ac_try) 2>&5 |
|
|
8679 | ac_status=$? |
|
|
8680 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8681 | (exit $ac_status); }; }; then |
6070 | LIBS="$ac_save_LIBS" |
8682 | LIBS=$ac_save_LIBS |
6071 | # We can link X programs with no special library path. |
8683 | # We can link X programs with no special library path. |
6072 | ac_x_libraries= |
8684 | ac_x_libraries= |
6073 | else |
8685 | else |
6074 | echo "configure: failed program was:" >&5 |
8686 | echo "$as_me: failed program was:" >&5 |
6075 | cat conftest.$ac_ext >&5 |
8687 | sed 's/^/| /' conftest.$ac_ext >&5 |
6076 | rm -rf conftest* |
8688 | |
6077 | LIBS="$ac_save_LIBS" |
8689 | LIBS=$ac_save_LIBS |
6078 | # First see if replacing the include by lib works. |
|
|
6079 | # Check X11 before X11Rn because it is often a symlink to the current release. |
|
|
6080 | for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \ |
8690 | for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
6081 | /usr/X11/lib \ |
|
|
6082 | /usr/X11R6/lib \ |
|
|
6083 | /usr/X11R5/lib \ |
|
|
6084 | /usr/X11R4/lib \ |
|
|
6085 | \ |
|
|
6086 | /usr/lib/X11 \ |
|
|
6087 | /usr/lib/X11R6 \ |
|
|
6088 | /usr/lib/X11R5 \ |
|
|
6089 | /usr/lib/X11R4 \ |
|
|
6090 | \ |
|
|
6091 | /usr/local/X11/lib \ |
|
|
6092 | /usr/local/X11R6/lib \ |
|
|
6093 | /usr/local/X11R5/lib \ |
|
|
6094 | /usr/local/X11R4/lib \ |
|
|
6095 | \ |
|
|
6096 | /usr/local/lib/X11 \ |
|
|
6097 | /usr/local/lib/X11R6 \ |
|
|
6098 | /usr/local/lib/X11R5 \ |
|
|
6099 | /usr/local/lib/X11R4 \ |
|
|
6100 | \ |
|
|
6101 | /usr/X386/lib \ |
|
|
6102 | /usr/x386/lib \ |
|
|
6103 | /usr/XFree86/lib/X11 \ |
|
|
6104 | \ |
|
|
6105 | /usr/lib \ |
|
|
6106 | /usr/local/lib \ |
|
|
6107 | /usr/unsupported/lib \ |
|
|
6108 | /usr/athena/lib \ |
|
|
6109 | /usr/local/x11r5/lib \ |
|
|
6110 | /usr/lpp/Xamples/lib \ |
|
|
6111 | /lib/usr/lib/X11 \ |
|
|
6112 | \ |
|
|
6113 | /usr/openwin/lib \ |
|
|
6114 | /usr/openwin/share/lib \ |
|
|
6115 | ; \ |
|
|
6116 | do |
8691 | do |
|
|
8692 | # Don't even attempt the hair of trying to link an X program! |
6117 | for ac_extension in a so sl; do |
8693 | for ac_extension in a so sl; do |
6118 | if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then |
8694 | if test -r $ac_dir/libXt.$ac_extension; then |
6119 | ac_x_libraries=$ac_dir |
8695 | ac_x_libraries=$ac_dir |
6120 | break 2 |
8696 | break 2 |
6121 | fi |
8697 | fi |
6122 | done |
8698 | done |
6123 | done |
8699 | done |
6124 | fi |
8700 | fi |
6125 | rm -f conftest* |
8701 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8702 | conftest$ac_exeext conftest.$ac_ext |
6126 | fi # $ac_x_libraries = NO |
8703 | fi # $ac_x_libraries = no |
6127 | |
8704 | |
6128 | if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then |
8705 | if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then |
6129 | # Didn't find X anywhere. Cache the known absence of X. |
8706 | # Didn't find X anywhere. Cache the known absence of X. |
6130 | ac_cv_have_x="have_x=no" |
8707 | ac_cv_have_x="have_x=no" |
6131 | else |
8708 | else |
6132 | # Record where we found X for the cache. |
8709 | # Record where we found X for the cache. |
6133 | ac_cv_have_x="have_x=yes \ |
8710 | ac_cv_have_x="have_x=yes \ |
6134 | ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" |
8711 | ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" |
6135 | fi |
8712 | fi |
6136 | fi |
8713 | fi |
|
|
8714 | |
6137 | fi |
8715 | fi |
6138 | eval "$ac_cv_have_x" |
8716 | eval "$ac_cv_have_x" |
6139 | fi # $with_x != no |
8717 | fi # $with_x != no |
6140 | |
8718 | |
6141 | if test "$have_x" != yes; then |
8719 | if test "$have_x" != yes; then |
6142 | echo "$ac_t""$have_x" 1>&6 |
8720 | echo "$as_me:$LINENO: result: $have_x" >&5 |
|
|
8721 | echo "${ECHO_T}$have_x" >&6 |
6143 | no_x=yes |
8722 | no_x=yes |
6144 | else |
8723 | else |
6145 | # If each of the values was on the command line, it overrides each guess. |
8724 | # If each of the values was on the command line, it overrides each guess. |
6146 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
8725 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
6147 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
8726 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
6148 | # Update the cache value to reflect the command line values. |
8727 | # Update the cache value to reflect the command line values. |
6149 | ac_cv_have_x="have_x=yes \ |
8728 | ac_cv_have_x="have_x=yes \ |
6150 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
8729 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
|
|
8730 | echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
6151 | echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6 |
8731 | echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 |
6152 | fi |
8732 | fi |
6153 | |
8733 | |
6154 | if test "$no_x" = yes; then |
8734 | if test "$no_x" = yes; then |
6155 | # Not all programs may use this symbol, but it does not hurt to define it. |
8735 | # Not all programs may use this symbol, but it does not hurt to define it. |
|
|
8736 | |
6156 | cat >> confdefs.h <<\EOF |
8737 | cat >>confdefs.h <<\_ACEOF |
6157 | #define X_DISPLAY_MISSING 1 |
8738 | #define X_DISPLAY_MISSING 1 |
6158 | EOF |
8739 | _ACEOF |
6159 | |
8740 | |
6160 | X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= |
8741 | X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= |
6161 | else |
8742 | else |
6162 | if test -n "$x_includes"; then |
8743 | if test -n "$x_includes"; then |
6163 | X_CFLAGS="$X_CFLAGS -I$x_includes" |
8744 | X_CFLAGS="$X_CFLAGS -I$x_includes" |
… | |
… | |
6166 | # It would also be nice to do this for all -L options, not just this one. |
8747 | # It would also be nice to do this for all -L options, not just this one. |
6167 | if test -n "$x_libraries"; then |
8748 | if test -n "$x_libraries"; then |
6168 | X_LIBS="$X_LIBS -L$x_libraries" |
8749 | X_LIBS="$X_LIBS -L$x_libraries" |
6169 | # For Solaris; some versions of Sun CC require a space after -R and |
8750 | # For Solaris; some versions of Sun CC require a space after -R and |
6170 | # others require no space. Words are not sufficient . . . . |
8751 | # others require no space. Words are not sufficient . . . . |
6171 | case "`(uname -sr) 2>/dev/null`" in |
8752 | case `(uname -sr) 2>/dev/null` in |
6172 | "SunOS 5"*) |
8753 | "SunOS 5"*) |
|
|
8754 | echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5 |
6173 | echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
8755 | echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6 |
6174 | echo "configure:6175: checking whether -R must be followed by a space" >&5 |
|
|
6175 | ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
8756 | ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" |
6176 | cat > conftest.$ac_ext <<EOF |
8757 | cat >conftest.$ac_ext <<_ACEOF |
6177 | #line 6178 "configure" |
8758 | /* confdefs.h. */ |
6178 | #include "confdefs.h" |
8759 | _ACEOF |
|
|
8760 | cat confdefs.h >>conftest.$ac_ext |
|
|
8761 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8762 | /* end confdefs.h. */ |
6179 | |
8763 | |
6180 | int main() { |
8764 | int |
|
|
8765 | main () |
|
|
8766 | { |
6181 | |
8767 | |
|
|
8768 | ; |
6182 | ; return 0; } |
8769 | return 0; |
6183 | EOF |
8770 | } |
6184 | if { (eval echo configure:6185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8771 | _ACEOF |
|
|
8772 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
8773 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
8774 | (eval $ac_link) 2>conftest.er1 |
|
|
8775 | ac_status=$? |
|
|
8776 | grep -v '^ *+' conftest.er1 >conftest.err |
6185 | rm -rf conftest* |
8777 | rm -f conftest.er1 |
|
|
8778 | cat conftest.err >&5 |
|
|
8779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8780 | (exit $ac_status); } && |
|
|
8781 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
8782 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8783 | (eval $ac_try) 2>&5 |
|
|
8784 | ac_status=$? |
|
|
8785 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8786 | (exit $ac_status); }; } && |
|
|
8787 | { ac_try='test -s conftest$ac_exeext' |
|
|
8788 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8789 | (eval $ac_try) 2>&5 |
|
|
8790 | ac_status=$? |
|
|
8791 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8792 | (exit $ac_status); }; }; then |
6186 | ac_R_nospace=yes |
8793 | ac_R_nospace=yes |
6187 | else |
8794 | else |
6188 | echo "configure: failed program was:" >&5 |
8795 | echo "$as_me: failed program was:" >&5 |
6189 | cat conftest.$ac_ext >&5 |
8796 | sed 's/^/| /' conftest.$ac_ext >&5 |
6190 | rm -rf conftest* |
8797 | |
6191 | ac_R_nospace=no |
8798 | ac_R_nospace=no |
6192 | fi |
8799 | fi |
6193 | rm -f conftest* |
8800 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8801 | conftest$ac_exeext conftest.$ac_ext |
6194 | if test $ac_R_nospace = yes; then |
8802 | if test $ac_R_nospace = yes; then |
6195 | echo "$ac_t""no" 1>&6 |
8803 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
8804 | echo "${ECHO_T}no" >&6 |
6196 | X_LIBS="$X_LIBS -R$x_libraries" |
8805 | X_LIBS="$X_LIBS -R$x_libraries" |
6197 | else |
8806 | else |
6198 | LIBS="$ac_xsave_LIBS -R $x_libraries" |
8807 | LIBS="$ac_xsave_LIBS -R $x_libraries" |
6199 | cat > conftest.$ac_ext <<EOF |
8808 | cat >conftest.$ac_ext <<_ACEOF |
6200 | #line 6201 "configure" |
8809 | /* confdefs.h. */ |
6201 | #include "confdefs.h" |
8810 | _ACEOF |
|
|
8811 | cat confdefs.h >>conftest.$ac_ext |
|
|
8812 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8813 | /* end confdefs.h. */ |
6202 | |
8814 | |
6203 | int main() { |
8815 | int |
|
|
8816 | main () |
|
|
8817 | { |
6204 | |
8818 | |
|
|
8819 | ; |
6205 | ; return 0; } |
8820 | return 0; |
6206 | EOF |
8821 | } |
6207 | if { (eval echo configure:6208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8822 | _ACEOF |
|
|
8823 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
8824 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
8825 | (eval $ac_link) 2>conftest.er1 |
|
|
8826 | ac_status=$? |
|
|
8827 | grep -v '^ *+' conftest.er1 >conftest.err |
6208 | rm -rf conftest* |
8828 | rm -f conftest.er1 |
|
|
8829 | cat conftest.err >&5 |
|
|
8830 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8831 | (exit $ac_status); } && |
|
|
8832 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
8833 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8834 | (eval $ac_try) 2>&5 |
|
|
8835 | ac_status=$? |
|
|
8836 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8837 | (exit $ac_status); }; } && |
|
|
8838 | { ac_try='test -s conftest$ac_exeext' |
|
|
8839 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8840 | (eval $ac_try) 2>&5 |
|
|
8841 | ac_status=$? |
|
|
8842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8843 | (exit $ac_status); }; }; then |
6209 | ac_R_space=yes |
8844 | ac_R_space=yes |
6210 | else |
8845 | else |
6211 | echo "configure: failed program was:" >&5 |
8846 | echo "$as_me: failed program was:" >&5 |
6212 | cat conftest.$ac_ext >&5 |
8847 | sed 's/^/| /' conftest.$ac_ext >&5 |
6213 | rm -rf conftest* |
8848 | |
6214 | ac_R_space=no |
8849 | ac_R_space=no |
6215 | fi |
8850 | fi |
6216 | rm -f conftest* |
8851 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8852 | conftest$ac_exeext conftest.$ac_ext |
6217 | if test $ac_R_space = yes; then |
8853 | if test $ac_R_space = yes; then |
6218 | echo "$ac_t""yes" 1>&6 |
8854 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
8855 | echo "${ECHO_T}yes" >&6 |
6219 | X_LIBS="$X_LIBS -R $x_libraries" |
8856 | X_LIBS="$X_LIBS -R $x_libraries" |
6220 | else |
8857 | else |
|
|
8858 | echo "$as_me:$LINENO: result: neither works" >&5 |
6221 | echo "$ac_t""neither works" 1>&6 |
8859 | echo "${ECHO_T}neither works" >&6 |
6222 | fi |
8860 | fi |
6223 | fi |
8861 | fi |
6224 | LIBS="$ac_xsave_LIBS" |
8862 | LIBS=$ac_xsave_LIBS |
6225 | esac |
8863 | esac |
6226 | fi |
8864 | fi |
6227 | |
8865 | |
6228 | # Check for system-dependent libraries X programs must link with. |
8866 | # Check for system-dependent libraries X programs must link with. |
6229 | # Do this before checking for the system-independent R6 libraries |
8867 | # Do this before checking for the system-independent R6 libraries |
6230 | # (-lICE), since we may need -lsocket or whatever for X linking. |
8868 | # (-lICE), since we may need -lsocket or whatever for X linking. |
6231 | |
8869 | |
6232 | if test "$ISC" = yes; then |
8870 | if test "$ISC" = yes; then |
6233 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" |
8871 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" |
6234 | else |
8872 | else |
6235 | # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X |
8873 | # Martyn Johnson says this is needed for Ultrix, if the X |
6236 | # libraries were built with DECnet support. And karl@cs.umb.edu says |
8874 | # libraries were built with DECnet support. And Karl Berry says |
6237 | # the Alpha needs dnet_stub (dnet does not exist). |
8875 | # the Alpha needs dnet_stub (dnet does not exist). |
|
|
8876 | ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" |
|
|
8877 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8878 | /* confdefs.h. */ |
|
|
8879 | _ACEOF |
|
|
8880 | cat confdefs.h >>conftest.$ac_ext |
|
|
8881 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8882 | /* end confdefs.h. */ |
|
|
8883 | |
|
|
8884 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
8885 | #ifdef __cplusplus |
|
|
8886 | extern "C" |
|
|
8887 | #endif |
|
|
8888 | /* We use char because int might match the return type of a gcc2 |
|
|
8889 | builtin and then its argument prototype would still apply. */ |
|
|
8890 | char XOpenDisplay (); |
|
|
8891 | int |
|
|
8892 | main () |
|
|
8893 | { |
|
|
8894 | XOpenDisplay (); |
|
|
8895 | ; |
|
|
8896 | return 0; |
|
|
8897 | } |
|
|
8898 | _ACEOF |
|
|
8899 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
8900 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
8901 | (eval $ac_link) 2>conftest.er1 |
|
|
8902 | ac_status=$? |
|
|
8903 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8904 | rm -f conftest.er1 |
|
|
8905 | cat conftest.err >&5 |
|
|
8906 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8907 | (exit $ac_status); } && |
|
|
8908 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
8909 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8910 | (eval $ac_try) 2>&5 |
|
|
8911 | ac_status=$? |
|
|
8912 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8913 | (exit $ac_status); }; } && |
|
|
8914 | { ac_try='test -s conftest$ac_exeext' |
|
|
8915 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8916 | (eval $ac_try) 2>&5 |
|
|
8917 | ac_status=$? |
|
|
8918 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8919 | (exit $ac_status); }; }; then |
|
|
8920 | : |
|
|
8921 | else |
|
|
8922 | echo "$as_me: failed program was:" >&5 |
|
|
8923 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8924 | |
|
|
8925 | echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 |
6238 | echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
8926 | echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 |
6239 | echo "configure:6240: checking for dnet_ntoa in -ldnet" >&5 |
8927 | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then |
6240 | ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
|
|
6241 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
6242 | echo $ac_n "(cached) $ac_c" 1>&6 |
8928 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6243 | else |
8929 | else |
6244 | ac_save_LIBS="$LIBS" |
8930 | ac_check_lib_save_LIBS=$LIBS |
6245 | LIBS="-ldnet $LIBS" |
8931 | LIBS="-ldnet $LIBS" |
6246 | cat > conftest.$ac_ext <<EOF |
8932 | cat >conftest.$ac_ext <<_ACEOF |
6247 | #line 6248 "configure" |
8933 | /* confdefs.h. */ |
6248 | #include "confdefs.h" |
8934 | _ACEOF |
|
|
8935 | cat confdefs.h >>conftest.$ac_ext |
|
|
8936 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8937 | /* end confdefs.h. */ |
|
|
8938 | |
6249 | /* Override any gcc2 internal prototype to avoid an error. */ |
8939 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
8940 | #ifdef __cplusplus |
|
|
8941 | extern "C" |
|
|
8942 | #endif |
6250 | /* We use char because int might match the return type of a gcc2 |
8943 | /* We use char because int might match the return type of a gcc2 |
6251 | builtin and then its argument prototype would still apply. */ |
8944 | builtin and then its argument prototype would still apply. */ |
6252 | char dnet_ntoa(); |
8945 | char dnet_ntoa (); |
6253 | |
8946 | int |
6254 | int main() { |
8947 | main () |
|
|
8948 | { |
6255 | dnet_ntoa() |
8949 | dnet_ntoa (); |
|
|
8950 | ; |
6256 | ; return 0; } |
8951 | return 0; |
6257 | EOF |
8952 | } |
6258 | if { (eval echo configure:6259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8953 | _ACEOF |
|
|
8954 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
8955 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
8956 | (eval $ac_link) 2>conftest.er1 |
|
|
8957 | ac_status=$? |
|
|
8958 | grep -v '^ *+' conftest.er1 >conftest.err |
6259 | rm -rf conftest* |
8959 | rm -f conftest.er1 |
6260 | eval "ac_cv_lib_$ac_lib_var=yes" |
8960 | cat conftest.err >&5 |
|
|
8961 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8962 | (exit $ac_status); } && |
|
|
8963 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
8964 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8965 | (eval $ac_try) 2>&5 |
|
|
8966 | ac_status=$? |
|
|
8967 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8968 | (exit $ac_status); }; } && |
|
|
8969 | { ac_try='test -s conftest$ac_exeext' |
|
|
8970 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8971 | (eval $ac_try) 2>&5 |
|
|
8972 | ac_status=$? |
|
|
8973 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8974 | (exit $ac_status); }; }; then |
|
|
8975 | ac_cv_lib_dnet_dnet_ntoa=yes |
6261 | else |
8976 | else |
6262 | echo "configure: failed program was:" >&5 |
8977 | echo "$as_me: failed program was:" >&5 |
6263 | cat conftest.$ac_ext >&5 |
8978 | sed 's/^/| /' conftest.$ac_ext >&5 |
6264 | rm -rf conftest* |
8979 | |
6265 | eval "ac_cv_lib_$ac_lib_var=no" |
8980 | ac_cv_lib_dnet_dnet_ntoa=no |
6266 | fi |
8981 | fi |
6267 | rm -f conftest* |
8982 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8983 | conftest$ac_exeext conftest.$ac_ext |
6268 | LIBS="$ac_save_LIBS" |
8984 | LIBS=$ac_check_lib_save_LIBS |
6269 | |
|
|
6270 | fi |
8985 | fi |
6271 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
8986 | echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
6272 | echo "$ac_t""yes" 1>&6 |
8987 | echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 |
|
|
8988 | if test $ac_cv_lib_dnet_dnet_ntoa = yes; then |
6273 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
8989 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
6274 | else |
|
|
6275 | echo "$ac_t""no" 1>&6 |
|
|
6276 | fi |
8990 | fi |
6277 | |
8991 | |
6278 | if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
8992 | if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
|
|
8993 | echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5 |
6279 | echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
8994 | echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6 |
6280 | echo "configure:6281: checking for dnet_ntoa in -ldnet_stub" >&5 |
8995 | if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then |
6281 | ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
|
|
6282 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
6283 | echo $ac_n "(cached) $ac_c" 1>&6 |
8996 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6284 | else |
8997 | else |
6285 | ac_save_LIBS="$LIBS" |
8998 | ac_check_lib_save_LIBS=$LIBS |
6286 | LIBS="-ldnet_stub $LIBS" |
8999 | LIBS="-ldnet_stub $LIBS" |
6287 | cat > conftest.$ac_ext <<EOF |
9000 | cat >conftest.$ac_ext <<_ACEOF |
6288 | #line 6289 "configure" |
9001 | /* confdefs.h. */ |
6289 | #include "confdefs.h" |
9002 | _ACEOF |
|
|
9003 | cat confdefs.h >>conftest.$ac_ext |
|
|
9004 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9005 | /* end confdefs.h. */ |
|
|
9006 | |
6290 | /* Override any gcc2 internal prototype to avoid an error. */ |
9007 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
9008 | #ifdef __cplusplus |
|
|
9009 | extern "C" |
|
|
9010 | #endif |
6291 | /* We use char because int might match the return type of a gcc2 |
9011 | /* We use char because int might match the return type of a gcc2 |
6292 | builtin and then its argument prototype would still apply. */ |
9012 | builtin and then its argument prototype would still apply. */ |
6293 | char dnet_ntoa(); |
9013 | char dnet_ntoa (); |
6294 | |
9014 | int |
6295 | int main() { |
9015 | main () |
|
|
9016 | { |
6296 | dnet_ntoa() |
9017 | dnet_ntoa (); |
|
|
9018 | ; |
6297 | ; return 0; } |
9019 | return 0; |
6298 | EOF |
9020 | } |
6299 | if { (eval echo configure:6300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9021 | _ACEOF |
|
|
9022 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9023 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
9024 | (eval $ac_link) 2>conftest.er1 |
|
|
9025 | ac_status=$? |
|
|
9026 | grep -v '^ *+' conftest.er1 >conftest.err |
6300 | rm -rf conftest* |
9027 | rm -f conftest.er1 |
6301 | eval "ac_cv_lib_$ac_lib_var=yes" |
9028 | cat conftest.err >&5 |
|
|
9029 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9030 | (exit $ac_status); } && |
|
|
9031 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
9032 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9033 | (eval $ac_try) 2>&5 |
|
|
9034 | ac_status=$? |
|
|
9035 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9036 | (exit $ac_status); }; } && |
|
|
9037 | { ac_try='test -s conftest$ac_exeext' |
|
|
9038 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9039 | (eval $ac_try) 2>&5 |
|
|
9040 | ac_status=$? |
|
|
9041 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9042 | (exit $ac_status); }; }; then |
|
|
9043 | ac_cv_lib_dnet_stub_dnet_ntoa=yes |
6302 | else |
9044 | else |
6303 | echo "configure: failed program was:" >&5 |
9045 | echo "$as_me: failed program was:" >&5 |
6304 | cat conftest.$ac_ext >&5 |
9046 | sed 's/^/| /' conftest.$ac_ext >&5 |
6305 | rm -rf conftest* |
9047 | |
6306 | eval "ac_cv_lib_$ac_lib_var=no" |
9048 | ac_cv_lib_dnet_stub_dnet_ntoa=no |
6307 | fi |
9049 | fi |
6308 | rm -f conftest* |
9050 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9051 | conftest$ac_exeext conftest.$ac_ext |
6309 | LIBS="$ac_save_LIBS" |
9052 | LIBS=$ac_check_lib_save_LIBS |
6310 | |
|
|
6311 | fi |
9053 | fi |
6312 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
9054 | echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 |
6313 | echo "$ac_t""yes" 1>&6 |
9055 | echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6 |
|
|
9056 | if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then |
6314 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
9057 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
6315 | else |
|
|
6316 | echo "$ac_t""no" 1>&6 |
|
|
6317 | fi |
9058 | fi |
6318 | |
9059 | |
6319 | fi |
9060 | fi |
|
|
9061 | fi |
|
|
9062 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9063 | conftest$ac_exeext conftest.$ac_ext |
|
|
9064 | LIBS="$ac_xsave_LIBS" |
6320 | |
9065 | |
6321 | # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, |
9066 | # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, |
6322 | # to get the SysV transport functions. |
9067 | # to get the SysV transport functions. |
6323 | # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
9068 | # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) |
6324 | # needs -lnsl. |
9069 | # needs -lnsl. |
6325 | # The nsl library prevents programs from opening the X display |
9070 | # The nsl library prevents programs from opening the X display |
6326 | # on Irix 5.2, according to dickey@clark.net. |
9071 | # on Irix 5.2, according to T.E. Dickey. |
|
|
9072 | # The functions gethostbyname, getservbyname, and inet_addr are |
|
|
9073 | # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. |
|
|
9074 | echo "$as_me:$LINENO: checking for gethostbyname" >&5 |
6327 | echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
9075 | echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 |
6328 | echo "configure:6329: checking for gethostbyname" >&5 |
|
|
6329 | if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
9076 | if test "${ac_cv_func_gethostbyname+set}" = set; then |
6330 | echo $ac_n "(cached) $ac_c" 1>&6 |
9077 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6331 | else |
9078 | else |
6332 | cat > conftest.$ac_ext <<EOF |
9079 | cat >conftest.$ac_ext <<_ACEOF |
6333 | #line 6334 "configure" |
9080 | /* confdefs.h. */ |
6334 | #include "confdefs.h" |
9081 | _ACEOF |
|
|
9082 | cat confdefs.h >>conftest.$ac_ext |
|
|
9083 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9084 | /* end confdefs.h. */ |
|
|
9085 | /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. |
|
|
9086 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
9087 | #define gethostbyname innocuous_gethostbyname |
|
|
9088 | |
6335 | /* System header to define __stub macros and hopefully few prototypes, |
9089 | /* System header to define __stub macros and hopefully few prototypes, |
6336 | which can conflict with char gethostbyname(); below. */ |
9090 | which can conflict with char gethostbyname (); below. |
|
|
9091 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
9092 | <limits.h> exists even on freestanding compilers. */ |
|
|
9093 | |
|
|
9094 | #ifdef __STDC__ |
|
|
9095 | # include <limits.h> |
|
|
9096 | #else |
6337 | #include <assert.h> |
9097 | # include <assert.h> |
|
|
9098 | #endif |
|
|
9099 | |
|
|
9100 | #undef gethostbyname |
|
|
9101 | |
6338 | /* Override any gcc2 internal prototype to avoid an error. */ |
9102 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
9103 | #ifdef __cplusplus |
|
|
9104 | extern "C" |
|
|
9105 | { |
|
|
9106 | #endif |
6339 | /* We use char because int might match the return type of a gcc2 |
9107 | /* We use char because int might match the return type of a gcc2 |
6340 | builtin and then its argument prototype would still apply. */ |
9108 | builtin and then its argument prototype would still apply. */ |
6341 | char gethostbyname(); |
9109 | char gethostbyname (); |
6342 | |
|
|
6343 | int main() { |
|
|
6344 | |
|
|
6345 | /* The GNU C library defines this for functions which it implements |
9110 | /* The GNU C library defines this for functions which it implements |
6346 | to always fail with ENOSYS. Some functions are actually named |
9111 | to always fail with ENOSYS. Some functions are actually named |
6347 | something starting with __ and the normal name is an alias. */ |
9112 | something starting with __ and the normal name is an alias. */ |
6348 | #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
9113 | #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
6349 | choke me |
9114 | choke me |
6350 | #else |
9115 | #else |
6351 | gethostbyname(); |
9116 | char (*f) () = gethostbyname; |
6352 | #endif |
9117 | #endif |
|
|
9118 | #ifdef __cplusplus |
|
|
9119 | } |
|
|
9120 | #endif |
6353 | |
9121 | |
|
|
9122 | int |
|
|
9123 | main () |
|
|
9124 | { |
|
|
9125 | return f != gethostbyname; |
|
|
9126 | ; |
6354 | ; return 0; } |
9127 | return 0; |
6355 | EOF |
9128 | } |
6356 | if { (eval echo configure:6357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9129 | _ACEOF |
|
|
9130 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9131 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
9132 | (eval $ac_link) 2>conftest.er1 |
|
|
9133 | ac_status=$? |
|
|
9134 | grep -v '^ *+' conftest.er1 >conftest.err |
6357 | rm -rf conftest* |
9135 | rm -f conftest.er1 |
|
|
9136 | cat conftest.err >&5 |
|
|
9137 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9138 | (exit $ac_status); } && |
|
|
9139 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
9140 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9141 | (eval $ac_try) 2>&5 |
|
|
9142 | ac_status=$? |
|
|
9143 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9144 | (exit $ac_status); }; } && |
|
|
9145 | { ac_try='test -s conftest$ac_exeext' |
|
|
9146 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9147 | (eval $ac_try) 2>&5 |
|
|
9148 | ac_status=$? |
|
|
9149 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9150 | (exit $ac_status); }; }; then |
6358 | eval "ac_cv_func_gethostbyname=yes" |
9151 | ac_cv_func_gethostbyname=yes |
6359 | else |
9152 | else |
6360 | echo "configure: failed program was:" >&5 |
9153 | echo "$as_me: failed program was:" >&5 |
6361 | cat conftest.$ac_ext >&5 |
9154 | sed 's/^/| /' conftest.$ac_ext >&5 |
6362 | rm -rf conftest* |
9155 | |
6363 | eval "ac_cv_func_gethostbyname=no" |
9156 | ac_cv_func_gethostbyname=no |
6364 | fi |
9157 | fi |
6365 | rm -f conftest* |
9158 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9159 | conftest$ac_exeext conftest.$ac_ext |
6366 | fi |
9160 | fi |
6367 | |
9161 | echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
6368 | if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then |
9162 | echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 |
6369 | echo "$ac_t""yes" 1>&6 |
|
|
6370 | : |
|
|
6371 | else |
|
|
6372 | echo "$ac_t""no" 1>&6 |
|
|
6373 | fi |
|
|
6374 | |
9163 | |
6375 | if test $ac_cv_func_gethostbyname = no; then |
9164 | if test $ac_cv_func_gethostbyname = no; then |
|
|
9165 | echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
6376 | echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
9166 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 |
6377 | echo "configure:6378: checking for gethostbyname in -lnsl" >&5 |
9167 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
6378 | ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
|
|
6379 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
6380 | echo $ac_n "(cached) $ac_c" 1>&6 |
9168 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6381 | else |
9169 | else |
6382 | ac_save_LIBS="$LIBS" |
9170 | ac_check_lib_save_LIBS=$LIBS |
6383 | LIBS="-lnsl $LIBS" |
9171 | LIBS="-lnsl $LIBS" |
6384 | cat > conftest.$ac_ext <<EOF |
9172 | cat >conftest.$ac_ext <<_ACEOF |
6385 | #line 6386 "configure" |
9173 | /* confdefs.h. */ |
6386 | #include "confdefs.h" |
9174 | _ACEOF |
|
|
9175 | cat confdefs.h >>conftest.$ac_ext |
|
|
9176 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9177 | /* end confdefs.h. */ |
|
|
9178 | |
6387 | /* Override any gcc2 internal prototype to avoid an error. */ |
9179 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
9180 | #ifdef __cplusplus |
|
|
9181 | extern "C" |
|
|
9182 | #endif |
6388 | /* We use char because int might match the return type of a gcc2 |
9183 | /* We use char because int might match the return type of a gcc2 |
6389 | builtin and then its argument prototype would still apply. */ |
9184 | builtin and then its argument prototype would still apply. */ |
6390 | char gethostbyname(); |
9185 | char gethostbyname (); |
6391 | |
9186 | int |
6392 | int main() { |
9187 | main () |
|
|
9188 | { |
6393 | gethostbyname() |
9189 | gethostbyname (); |
|
|
9190 | ; |
6394 | ; return 0; } |
9191 | return 0; |
6395 | EOF |
9192 | } |
6396 | if { (eval echo configure:6397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9193 | _ACEOF |
|
|
9194 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9195 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
9196 | (eval $ac_link) 2>conftest.er1 |
|
|
9197 | ac_status=$? |
|
|
9198 | grep -v '^ *+' conftest.er1 >conftest.err |
6397 | rm -rf conftest* |
9199 | rm -f conftest.er1 |
6398 | eval "ac_cv_lib_$ac_lib_var=yes" |
9200 | cat conftest.err >&5 |
|
|
9201 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9202 | (exit $ac_status); } && |
|
|
9203 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
9204 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9205 | (eval $ac_try) 2>&5 |
|
|
9206 | ac_status=$? |
|
|
9207 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9208 | (exit $ac_status); }; } && |
|
|
9209 | { ac_try='test -s conftest$ac_exeext' |
|
|
9210 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9211 | (eval $ac_try) 2>&5 |
|
|
9212 | ac_status=$? |
|
|
9213 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9214 | (exit $ac_status); }; }; then |
|
|
9215 | ac_cv_lib_nsl_gethostbyname=yes |
6399 | else |
9216 | else |
6400 | echo "configure: failed program was:" >&5 |
9217 | echo "$as_me: failed program was:" >&5 |
6401 | cat conftest.$ac_ext >&5 |
9218 | sed 's/^/| /' conftest.$ac_ext >&5 |
6402 | rm -rf conftest* |
9219 | |
6403 | eval "ac_cv_lib_$ac_lib_var=no" |
9220 | ac_cv_lib_nsl_gethostbyname=no |
6404 | fi |
9221 | fi |
6405 | rm -f conftest* |
9222 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9223 | conftest$ac_exeext conftest.$ac_ext |
6406 | LIBS="$ac_save_LIBS" |
9224 | LIBS=$ac_check_lib_save_LIBS |
6407 | |
|
|
6408 | fi |
9225 | fi |
6409 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
9226 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
6410 | echo "$ac_t""yes" 1>&6 |
9227 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
|
|
9228 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
6411 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
9229 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
6412 | else |
|
|
6413 | echo "$ac_t""no" 1>&6 |
|
|
6414 | fi |
9230 | fi |
6415 | |
9231 | |
|
|
9232 | if test $ac_cv_lib_nsl_gethostbyname = no; then |
|
|
9233 | echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5 |
|
|
9234 | echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6 |
|
|
9235 | if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then |
|
|
9236 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9237 | else |
|
|
9238 | ac_check_lib_save_LIBS=$LIBS |
|
|
9239 | LIBS="-lbsd $LIBS" |
|
|
9240 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9241 | /* confdefs.h. */ |
|
|
9242 | _ACEOF |
|
|
9243 | cat confdefs.h >>conftest.$ac_ext |
|
|
9244 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9245 | /* end confdefs.h. */ |
|
|
9246 | |
|
|
9247 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
9248 | #ifdef __cplusplus |
|
|
9249 | extern "C" |
|
|
9250 | #endif |
|
|
9251 | /* We use char because int might match the return type of a gcc2 |
|
|
9252 | builtin and then its argument prototype would still apply. */ |
|
|
9253 | char gethostbyname (); |
|
|
9254 | int |
|
|
9255 | main () |
|
|
9256 | { |
|
|
9257 | gethostbyname (); |
|
|
9258 | ; |
|
|
9259 | return 0; |
|
|
9260 | } |
|
|
9261 | _ACEOF |
|
|
9262 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9263 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
9264 | (eval $ac_link) 2>conftest.er1 |
|
|
9265 | ac_status=$? |
|
|
9266 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9267 | rm -f conftest.er1 |
|
|
9268 | cat conftest.err >&5 |
|
|
9269 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9270 | (exit $ac_status); } && |
|
|
9271 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
9272 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9273 | (eval $ac_try) 2>&5 |
|
|
9274 | ac_status=$? |
|
|
9275 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9276 | (exit $ac_status); }; } && |
|
|
9277 | { ac_try='test -s conftest$ac_exeext' |
|
|
9278 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9279 | (eval $ac_try) 2>&5 |
|
|
9280 | ac_status=$? |
|
|
9281 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9282 | (exit $ac_status); }; }; then |
|
|
9283 | ac_cv_lib_bsd_gethostbyname=yes |
|
|
9284 | else |
|
|
9285 | echo "$as_me: failed program was:" >&5 |
|
|
9286 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9287 | |
|
|
9288 | ac_cv_lib_bsd_gethostbyname=no |
|
|
9289 | fi |
|
|
9290 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9291 | conftest$ac_exeext conftest.$ac_ext |
|
|
9292 | LIBS=$ac_check_lib_save_LIBS |
|
|
9293 | fi |
|
|
9294 | echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5 |
|
|
9295 | echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6 |
|
|
9296 | if test $ac_cv_lib_bsd_gethostbyname = yes; then |
|
|
9297 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" |
|
|
9298 | fi |
|
|
9299 | |
|
|
9300 | fi |
6416 | fi |
9301 | fi |
6417 | |
9302 | |
6418 | # lieder@skyler.mavd.honeywell.com says without -lsocket, |
9303 | # lieder@skyler.mavd.honeywell.com says without -lsocket, |
6419 | # socket/setsockopt and other routines are undefined under SCO ODT |
9304 | # socket/setsockopt and other routines are undefined under SCO ODT |
6420 | # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary |
9305 | # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary |
6421 | # on later versions), says simon@lia.di.epfl.ch: it contains |
9306 | # on later versions), says Simon Leinen: it contains gethostby* |
6422 | # gethostby* variants that don't use the nameserver (or something). |
9307 | # variants that don't use the name server (or something). -lsocket |
6423 | # -lsocket must be given before -lnsl if both are needed. |
9308 | # must be given before -lnsl if both are needed. We assume that |
6424 | # We assume that if connect needs -lnsl, so does gethostbyname. |
9309 | # if connect needs -lnsl, so does gethostbyname. |
|
|
9310 | echo "$as_me:$LINENO: checking for connect" >&5 |
6425 | echo $ac_n "checking for connect""... $ac_c" 1>&6 |
9311 | echo $ECHO_N "checking for connect... $ECHO_C" >&6 |
6426 | echo "configure:6427: checking for connect" >&5 |
|
|
6427 | if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
9312 | if test "${ac_cv_func_connect+set}" = set; then |
6428 | echo $ac_n "(cached) $ac_c" 1>&6 |
9313 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6429 | else |
9314 | else |
6430 | cat > conftest.$ac_ext <<EOF |
9315 | cat >conftest.$ac_ext <<_ACEOF |
6431 | #line 6432 "configure" |
9316 | /* confdefs.h. */ |
6432 | #include "confdefs.h" |
9317 | _ACEOF |
|
|
9318 | cat confdefs.h >>conftest.$ac_ext |
|
|
9319 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9320 | /* end confdefs.h. */ |
|
|
9321 | /* Define connect to an innocuous variant, in case <limits.h> declares connect. |
|
|
9322 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
9323 | #define connect innocuous_connect |
|
|
9324 | |
6433 | /* System header to define __stub macros and hopefully few prototypes, |
9325 | /* System header to define __stub macros and hopefully few prototypes, |
6434 | which can conflict with char connect(); below. */ |
9326 | which can conflict with char connect (); below. |
|
|
9327 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
9328 | <limits.h> exists even on freestanding compilers. */ |
|
|
9329 | |
|
|
9330 | #ifdef __STDC__ |
|
|
9331 | # include <limits.h> |
|
|
9332 | #else |
6435 | #include <assert.h> |
9333 | # include <assert.h> |
|
|
9334 | #endif |
|
|
9335 | |
|
|
9336 | #undef connect |
|
|
9337 | |
6436 | /* Override any gcc2 internal prototype to avoid an error. */ |
9338 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
9339 | #ifdef __cplusplus |
|
|
9340 | extern "C" |
|
|
9341 | { |
|
|
9342 | #endif |
6437 | /* We use char because int might match the return type of a gcc2 |
9343 | /* We use char because int might match the return type of a gcc2 |
6438 | builtin and then its argument prototype would still apply. */ |
9344 | builtin and then its argument prototype would still apply. */ |
6439 | char connect(); |
9345 | char connect (); |
6440 | |
|
|
6441 | int main() { |
|
|
6442 | |
|
|
6443 | /* The GNU C library defines this for functions which it implements |
9346 | /* The GNU C library defines this for functions which it implements |
6444 | to always fail with ENOSYS. Some functions are actually named |
9347 | to always fail with ENOSYS. Some functions are actually named |
6445 | something starting with __ and the normal name is an alias. */ |
9348 | something starting with __ and the normal name is an alias. */ |
6446 | #if defined (__stub_connect) || defined (__stub___connect) |
9349 | #if defined (__stub_connect) || defined (__stub___connect) |
6447 | choke me |
9350 | choke me |
6448 | #else |
9351 | #else |
6449 | connect(); |
9352 | char (*f) () = connect; |
6450 | #endif |
9353 | #endif |
|
|
9354 | #ifdef __cplusplus |
|
|
9355 | } |
|
|
9356 | #endif |
6451 | |
9357 | |
|
|
9358 | int |
|
|
9359 | main () |
|
|
9360 | { |
|
|
9361 | return f != connect; |
|
|
9362 | ; |
6452 | ; return 0; } |
9363 | return 0; |
6453 | EOF |
9364 | } |
6454 | if { (eval echo configure:6455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9365 | _ACEOF |
|
|
9366 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9367 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
9368 | (eval $ac_link) 2>conftest.er1 |
|
|
9369 | ac_status=$? |
|
|
9370 | grep -v '^ *+' conftest.er1 >conftest.err |
6455 | rm -rf conftest* |
9371 | rm -f conftest.er1 |
|
|
9372 | cat conftest.err >&5 |
|
|
9373 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9374 | (exit $ac_status); } && |
|
|
9375 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
9376 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9377 | (eval $ac_try) 2>&5 |
|
|
9378 | ac_status=$? |
|
|
9379 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9380 | (exit $ac_status); }; } && |
|
|
9381 | { ac_try='test -s conftest$ac_exeext' |
|
|
9382 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9383 | (eval $ac_try) 2>&5 |
|
|
9384 | ac_status=$? |
|
|
9385 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9386 | (exit $ac_status); }; }; then |
6456 | eval "ac_cv_func_connect=yes" |
9387 | ac_cv_func_connect=yes |
6457 | else |
9388 | else |
6458 | echo "configure: failed program was:" >&5 |
9389 | echo "$as_me: failed program was:" >&5 |
6459 | cat conftest.$ac_ext >&5 |
9390 | sed 's/^/| /' conftest.$ac_ext >&5 |
6460 | rm -rf conftest* |
9391 | |
6461 | eval "ac_cv_func_connect=no" |
9392 | ac_cv_func_connect=no |
6462 | fi |
9393 | fi |
6463 | rm -f conftest* |
9394 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9395 | conftest$ac_exeext conftest.$ac_ext |
6464 | fi |
9396 | fi |
6465 | |
9397 | echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 |
6466 | if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then |
9398 | echo "${ECHO_T}$ac_cv_func_connect" >&6 |
6467 | echo "$ac_t""yes" 1>&6 |
|
|
6468 | : |
|
|
6469 | else |
|
|
6470 | echo "$ac_t""no" 1>&6 |
|
|
6471 | fi |
|
|
6472 | |
9399 | |
6473 | if test $ac_cv_func_connect = no; then |
9400 | if test $ac_cv_func_connect = no; then |
|
|
9401 | echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 |
6474 | echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
9402 | echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6 |
6475 | echo "configure:6476: checking for connect in -lsocket" >&5 |
9403 | if test "${ac_cv_lib_socket_connect+set}" = set; then |
6476 | ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
|
|
6477 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
6478 | echo $ac_n "(cached) $ac_c" 1>&6 |
9404 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6479 | else |
9405 | else |
6480 | ac_save_LIBS="$LIBS" |
9406 | ac_check_lib_save_LIBS=$LIBS |
6481 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
9407 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
6482 | cat > conftest.$ac_ext <<EOF |
9408 | cat >conftest.$ac_ext <<_ACEOF |
6483 | #line 6484 "configure" |
9409 | /* confdefs.h. */ |
6484 | #include "confdefs.h" |
9410 | _ACEOF |
|
|
9411 | cat confdefs.h >>conftest.$ac_ext |
|
|
9412 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9413 | /* end confdefs.h. */ |
|
|
9414 | |
6485 | /* Override any gcc2 internal prototype to avoid an error. */ |
9415 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
9416 | #ifdef __cplusplus |
|
|
9417 | extern "C" |
|
|
9418 | #endif |
6486 | /* We use char because int might match the return type of a gcc2 |
9419 | /* We use char because int might match the return type of a gcc2 |
6487 | builtin and then its argument prototype would still apply. */ |
9420 | builtin and then its argument prototype would still apply. */ |
6488 | char connect(); |
9421 | char connect (); |
6489 | |
9422 | int |
6490 | int main() { |
9423 | main () |
|
|
9424 | { |
6491 | connect() |
9425 | connect (); |
|
|
9426 | ; |
6492 | ; return 0; } |
9427 | return 0; |
6493 | EOF |
9428 | } |
6494 | if { (eval echo configure:6495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9429 | _ACEOF |
|
|
9430 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9431 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
9432 | (eval $ac_link) 2>conftest.er1 |
|
|
9433 | ac_status=$? |
|
|
9434 | grep -v '^ *+' conftest.er1 >conftest.err |
6495 | rm -rf conftest* |
9435 | rm -f conftest.er1 |
6496 | eval "ac_cv_lib_$ac_lib_var=yes" |
9436 | cat conftest.err >&5 |
|
|
9437 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9438 | (exit $ac_status); } && |
|
|
9439 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
9440 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9441 | (eval $ac_try) 2>&5 |
|
|
9442 | ac_status=$? |
|
|
9443 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9444 | (exit $ac_status); }; } && |
|
|
9445 | { ac_try='test -s conftest$ac_exeext' |
|
|
9446 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9447 | (eval $ac_try) 2>&5 |
|
|
9448 | ac_status=$? |
|
|
9449 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9450 | (exit $ac_status); }; }; then |
|
|
9451 | ac_cv_lib_socket_connect=yes |
6497 | else |
9452 | else |
6498 | echo "configure: failed program was:" >&5 |
9453 | echo "$as_me: failed program was:" >&5 |
6499 | cat conftest.$ac_ext >&5 |
9454 | sed 's/^/| /' conftest.$ac_ext >&5 |
6500 | rm -rf conftest* |
9455 | |
6501 | eval "ac_cv_lib_$ac_lib_var=no" |
9456 | ac_cv_lib_socket_connect=no |
6502 | fi |
9457 | fi |
6503 | rm -f conftest* |
9458 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9459 | conftest$ac_exeext conftest.$ac_ext |
6504 | LIBS="$ac_save_LIBS" |
9460 | LIBS=$ac_check_lib_save_LIBS |
6505 | |
|
|
6506 | fi |
9461 | fi |
6507 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
9462 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 |
6508 | echo "$ac_t""yes" 1>&6 |
9463 | echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 |
|
|
9464 | if test $ac_cv_lib_socket_connect = yes; then |
6509 | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
9465 | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
6510 | else |
|
|
6511 | echo "$ac_t""no" 1>&6 |
|
|
6512 | fi |
9466 | fi |
6513 | |
9467 | |
6514 | fi |
9468 | fi |
6515 | |
9469 | |
6516 | # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
9470 | # Guillermo Gomez says -lposix is necessary on A/UX. |
|
|
9471 | echo "$as_me:$LINENO: checking for remove" >&5 |
6517 | echo $ac_n "checking for remove""... $ac_c" 1>&6 |
9472 | echo $ECHO_N "checking for remove... $ECHO_C" >&6 |
6518 | echo "configure:6519: checking for remove" >&5 |
|
|
6519 | if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
9473 | if test "${ac_cv_func_remove+set}" = set; then |
6520 | echo $ac_n "(cached) $ac_c" 1>&6 |
9474 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6521 | else |
9475 | else |
6522 | cat > conftest.$ac_ext <<EOF |
9476 | cat >conftest.$ac_ext <<_ACEOF |
6523 | #line 6524 "configure" |
9477 | /* confdefs.h. */ |
6524 | #include "confdefs.h" |
9478 | _ACEOF |
|
|
9479 | cat confdefs.h >>conftest.$ac_ext |
|
|
9480 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9481 | /* end confdefs.h. */ |
|
|
9482 | /* Define remove to an innocuous variant, in case <limits.h> declares remove. |
|
|
9483 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
9484 | #define remove innocuous_remove |
|
|
9485 | |
6525 | /* System header to define __stub macros and hopefully few prototypes, |
9486 | /* System header to define __stub macros and hopefully few prototypes, |
6526 | which can conflict with char remove(); below. */ |
9487 | which can conflict with char remove (); below. |
|
|
9488 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
9489 | <limits.h> exists even on freestanding compilers. */ |
|
|
9490 | |
|
|
9491 | #ifdef __STDC__ |
|
|
9492 | # include <limits.h> |
|
|
9493 | #else |
6527 | #include <assert.h> |
9494 | # include <assert.h> |
|
|
9495 | #endif |
|
|
9496 | |
|
|
9497 | #undef remove |
|
|
9498 | |
6528 | /* Override any gcc2 internal prototype to avoid an error. */ |
9499 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
9500 | #ifdef __cplusplus |
|
|
9501 | extern "C" |
|
|
9502 | { |
|
|
9503 | #endif |
6529 | /* We use char because int might match the return type of a gcc2 |
9504 | /* We use char because int might match the return type of a gcc2 |
6530 | builtin and then its argument prototype would still apply. */ |
9505 | builtin and then its argument prototype would still apply. */ |
6531 | char remove(); |
9506 | char remove (); |
6532 | |
|
|
6533 | int main() { |
|
|
6534 | |
|
|
6535 | /* The GNU C library defines this for functions which it implements |
9507 | /* The GNU C library defines this for functions which it implements |
6536 | to always fail with ENOSYS. Some functions are actually named |
9508 | to always fail with ENOSYS. Some functions are actually named |
6537 | something starting with __ and the normal name is an alias. */ |
9509 | something starting with __ and the normal name is an alias. */ |
6538 | #if defined (__stub_remove) || defined (__stub___remove) |
9510 | #if defined (__stub_remove) || defined (__stub___remove) |
6539 | choke me |
9511 | choke me |
6540 | #else |
9512 | #else |
6541 | remove(); |
9513 | char (*f) () = remove; |
6542 | #endif |
9514 | #endif |
|
|
9515 | #ifdef __cplusplus |
|
|
9516 | } |
|
|
9517 | #endif |
6543 | |
9518 | |
|
|
9519 | int |
|
|
9520 | main () |
|
|
9521 | { |
|
|
9522 | return f != remove; |
|
|
9523 | ; |
6544 | ; return 0; } |
9524 | return 0; |
6545 | EOF |
9525 | } |
6546 | if { (eval echo configure:6547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9526 | _ACEOF |
|
|
9527 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9528 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
9529 | (eval $ac_link) 2>conftest.er1 |
|
|
9530 | ac_status=$? |
|
|
9531 | grep -v '^ *+' conftest.er1 >conftest.err |
6547 | rm -rf conftest* |
9532 | rm -f conftest.er1 |
|
|
9533 | cat conftest.err >&5 |
|
|
9534 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9535 | (exit $ac_status); } && |
|
|
9536 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
9537 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9538 | (eval $ac_try) 2>&5 |
|
|
9539 | ac_status=$? |
|
|
9540 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9541 | (exit $ac_status); }; } && |
|
|
9542 | { ac_try='test -s conftest$ac_exeext' |
|
|
9543 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9544 | (eval $ac_try) 2>&5 |
|
|
9545 | ac_status=$? |
|
|
9546 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9547 | (exit $ac_status); }; }; then |
6548 | eval "ac_cv_func_remove=yes" |
9548 | ac_cv_func_remove=yes |
6549 | else |
9549 | else |
6550 | echo "configure: failed program was:" >&5 |
9550 | echo "$as_me: failed program was:" >&5 |
6551 | cat conftest.$ac_ext >&5 |
9551 | sed 's/^/| /' conftest.$ac_ext >&5 |
6552 | rm -rf conftest* |
9552 | |
6553 | eval "ac_cv_func_remove=no" |
9553 | ac_cv_func_remove=no |
6554 | fi |
9554 | fi |
6555 | rm -f conftest* |
9555 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9556 | conftest$ac_exeext conftest.$ac_ext |
6556 | fi |
9557 | fi |
6557 | |
9558 | echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5 |
6558 | if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then |
9559 | echo "${ECHO_T}$ac_cv_func_remove" >&6 |
6559 | echo "$ac_t""yes" 1>&6 |
|
|
6560 | : |
|
|
6561 | else |
|
|
6562 | echo "$ac_t""no" 1>&6 |
|
|
6563 | fi |
|
|
6564 | |
9560 | |
6565 | if test $ac_cv_func_remove = no; then |
9561 | if test $ac_cv_func_remove = no; then |
|
|
9562 | echo "$as_me:$LINENO: checking for remove in -lposix" >&5 |
6566 | echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
9563 | echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6 |
6567 | echo "configure:6568: checking for remove in -lposix" >&5 |
9564 | if test "${ac_cv_lib_posix_remove+set}" = set; then |
6568 | ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
|
|
6569 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
6570 | echo $ac_n "(cached) $ac_c" 1>&6 |
9565 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6571 | else |
9566 | else |
6572 | ac_save_LIBS="$LIBS" |
9567 | ac_check_lib_save_LIBS=$LIBS |
6573 | LIBS="-lposix $LIBS" |
9568 | LIBS="-lposix $LIBS" |
6574 | cat > conftest.$ac_ext <<EOF |
9569 | cat >conftest.$ac_ext <<_ACEOF |
6575 | #line 6576 "configure" |
9570 | /* confdefs.h. */ |
6576 | #include "confdefs.h" |
9571 | _ACEOF |
|
|
9572 | cat confdefs.h >>conftest.$ac_ext |
|
|
9573 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9574 | /* end confdefs.h. */ |
|
|
9575 | |
6577 | /* Override any gcc2 internal prototype to avoid an error. */ |
9576 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
9577 | #ifdef __cplusplus |
|
|
9578 | extern "C" |
|
|
9579 | #endif |
6578 | /* We use char because int might match the return type of a gcc2 |
9580 | /* We use char because int might match the return type of a gcc2 |
6579 | builtin and then its argument prototype would still apply. */ |
9581 | builtin and then its argument prototype would still apply. */ |
6580 | char remove(); |
9582 | char remove (); |
6581 | |
9583 | int |
6582 | int main() { |
9584 | main () |
|
|
9585 | { |
6583 | remove() |
9586 | remove (); |
|
|
9587 | ; |
6584 | ; return 0; } |
9588 | return 0; |
6585 | EOF |
9589 | } |
6586 | if { (eval echo configure:6587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9590 | _ACEOF |
|
|
9591 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9592 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
9593 | (eval $ac_link) 2>conftest.er1 |
|
|
9594 | ac_status=$? |
|
|
9595 | grep -v '^ *+' conftest.er1 >conftest.err |
6587 | rm -rf conftest* |
9596 | rm -f conftest.er1 |
6588 | eval "ac_cv_lib_$ac_lib_var=yes" |
9597 | cat conftest.err >&5 |
|
|
9598 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9599 | (exit $ac_status); } && |
|
|
9600 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
9601 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9602 | (eval $ac_try) 2>&5 |
|
|
9603 | ac_status=$? |
|
|
9604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9605 | (exit $ac_status); }; } && |
|
|
9606 | { ac_try='test -s conftest$ac_exeext' |
|
|
9607 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9608 | (eval $ac_try) 2>&5 |
|
|
9609 | ac_status=$? |
|
|
9610 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9611 | (exit $ac_status); }; }; then |
|
|
9612 | ac_cv_lib_posix_remove=yes |
6589 | else |
9613 | else |
6590 | echo "configure: failed program was:" >&5 |
9614 | echo "$as_me: failed program was:" >&5 |
6591 | cat conftest.$ac_ext >&5 |
9615 | sed 's/^/| /' conftest.$ac_ext >&5 |
6592 | rm -rf conftest* |
9616 | |
6593 | eval "ac_cv_lib_$ac_lib_var=no" |
9617 | ac_cv_lib_posix_remove=no |
6594 | fi |
9618 | fi |
6595 | rm -f conftest* |
9619 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9620 | conftest$ac_exeext conftest.$ac_ext |
6596 | LIBS="$ac_save_LIBS" |
9621 | LIBS=$ac_check_lib_save_LIBS |
6597 | |
|
|
6598 | fi |
9622 | fi |
6599 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
9623 | echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5 |
6600 | echo "$ac_t""yes" 1>&6 |
9624 | echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6 |
|
|
9625 | if test $ac_cv_lib_posix_remove = yes; then |
6601 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
9626 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
6602 | else |
|
|
6603 | echo "$ac_t""no" 1>&6 |
|
|
6604 | fi |
9627 | fi |
6605 | |
9628 | |
6606 | fi |
9629 | fi |
6607 | |
9630 | |
6608 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
9631 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
|
|
9632 | echo "$as_me:$LINENO: checking for shmat" >&5 |
6609 | echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
9633 | echo $ECHO_N "checking for shmat... $ECHO_C" >&6 |
6610 | echo "configure:6611: checking for shmat" >&5 |
|
|
6611 | if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
9634 | if test "${ac_cv_func_shmat+set}" = set; then |
6612 | echo $ac_n "(cached) $ac_c" 1>&6 |
9635 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6613 | else |
9636 | else |
6614 | cat > conftest.$ac_ext <<EOF |
9637 | cat >conftest.$ac_ext <<_ACEOF |
6615 | #line 6616 "configure" |
9638 | /* confdefs.h. */ |
6616 | #include "confdefs.h" |
9639 | _ACEOF |
|
|
9640 | cat confdefs.h >>conftest.$ac_ext |
|
|
9641 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9642 | /* end confdefs.h. */ |
|
|
9643 | /* Define shmat to an innocuous variant, in case <limits.h> declares shmat. |
|
|
9644 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
9645 | #define shmat innocuous_shmat |
|
|
9646 | |
6617 | /* System header to define __stub macros and hopefully few prototypes, |
9647 | /* System header to define __stub macros and hopefully few prototypes, |
6618 | which can conflict with char shmat(); below. */ |
9648 | which can conflict with char shmat (); below. |
|
|
9649 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
9650 | <limits.h> exists even on freestanding compilers. */ |
|
|
9651 | |
|
|
9652 | #ifdef __STDC__ |
|
|
9653 | # include <limits.h> |
|
|
9654 | #else |
6619 | #include <assert.h> |
9655 | # include <assert.h> |
|
|
9656 | #endif |
|
|
9657 | |
|
|
9658 | #undef shmat |
|
|
9659 | |
6620 | /* Override any gcc2 internal prototype to avoid an error. */ |
9660 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
9661 | #ifdef __cplusplus |
|
|
9662 | extern "C" |
|
|
9663 | { |
|
|
9664 | #endif |
6621 | /* We use char because int might match the return type of a gcc2 |
9665 | /* We use char because int might match the return type of a gcc2 |
6622 | builtin and then its argument prototype would still apply. */ |
9666 | builtin and then its argument prototype would still apply. */ |
6623 | char shmat(); |
9667 | char shmat (); |
6624 | |
|
|
6625 | int main() { |
|
|
6626 | |
|
|
6627 | /* The GNU C library defines this for functions which it implements |
9668 | /* The GNU C library defines this for functions which it implements |
6628 | to always fail with ENOSYS. Some functions are actually named |
9669 | to always fail with ENOSYS. Some functions are actually named |
6629 | something starting with __ and the normal name is an alias. */ |
9670 | something starting with __ and the normal name is an alias. */ |
6630 | #if defined (__stub_shmat) || defined (__stub___shmat) |
9671 | #if defined (__stub_shmat) || defined (__stub___shmat) |
6631 | choke me |
9672 | choke me |
6632 | #else |
9673 | #else |
6633 | shmat(); |
9674 | char (*f) () = shmat; |
6634 | #endif |
9675 | #endif |
|
|
9676 | #ifdef __cplusplus |
|
|
9677 | } |
|
|
9678 | #endif |
6635 | |
9679 | |
|
|
9680 | int |
|
|
9681 | main () |
|
|
9682 | { |
|
|
9683 | return f != shmat; |
|
|
9684 | ; |
6636 | ; return 0; } |
9685 | return 0; |
6637 | EOF |
9686 | } |
6638 | if { (eval echo configure:6639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9687 | _ACEOF |
|
|
9688 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9689 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
9690 | (eval $ac_link) 2>conftest.er1 |
|
|
9691 | ac_status=$? |
|
|
9692 | grep -v '^ *+' conftest.er1 >conftest.err |
6639 | rm -rf conftest* |
9693 | rm -f conftest.er1 |
|
|
9694 | cat conftest.err >&5 |
|
|
9695 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9696 | (exit $ac_status); } && |
|
|
9697 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
9698 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9699 | (eval $ac_try) 2>&5 |
|
|
9700 | ac_status=$? |
|
|
9701 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9702 | (exit $ac_status); }; } && |
|
|
9703 | { ac_try='test -s conftest$ac_exeext' |
|
|
9704 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9705 | (eval $ac_try) 2>&5 |
|
|
9706 | ac_status=$? |
|
|
9707 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9708 | (exit $ac_status); }; }; then |
6640 | eval "ac_cv_func_shmat=yes" |
9709 | ac_cv_func_shmat=yes |
6641 | else |
9710 | else |
6642 | echo "configure: failed program was:" >&5 |
9711 | echo "$as_me: failed program was:" >&5 |
6643 | cat conftest.$ac_ext >&5 |
9712 | sed 's/^/| /' conftest.$ac_ext >&5 |
6644 | rm -rf conftest* |
9713 | |
6645 | eval "ac_cv_func_shmat=no" |
9714 | ac_cv_func_shmat=no |
6646 | fi |
9715 | fi |
6647 | rm -f conftest* |
9716 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9717 | conftest$ac_exeext conftest.$ac_ext |
6648 | fi |
9718 | fi |
6649 | |
9719 | echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5 |
6650 | if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then |
9720 | echo "${ECHO_T}$ac_cv_func_shmat" >&6 |
6651 | echo "$ac_t""yes" 1>&6 |
|
|
6652 | : |
|
|
6653 | else |
|
|
6654 | echo "$ac_t""no" 1>&6 |
|
|
6655 | fi |
|
|
6656 | |
9721 | |
6657 | if test $ac_cv_func_shmat = no; then |
9722 | if test $ac_cv_func_shmat = no; then |
|
|
9723 | echo "$as_me:$LINENO: checking for shmat in -lipc" >&5 |
6658 | echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
9724 | echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6 |
6659 | echo "configure:6660: checking for shmat in -lipc" >&5 |
9725 | if test "${ac_cv_lib_ipc_shmat+set}" = set; then |
6660 | ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
|
|
6661 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
6662 | echo $ac_n "(cached) $ac_c" 1>&6 |
9726 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6663 | else |
9727 | else |
6664 | ac_save_LIBS="$LIBS" |
9728 | ac_check_lib_save_LIBS=$LIBS |
6665 | LIBS="-lipc $LIBS" |
9729 | LIBS="-lipc $LIBS" |
6666 | cat > conftest.$ac_ext <<EOF |
9730 | cat >conftest.$ac_ext <<_ACEOF |
6667 | #line 6668 "configure" |
9731 | /* confdefs.h. */ |
6668 | #include "confdefs.h" |
9732 | _ACEOF |
|
|
9733 | cat confdefs.h >>conftest.$ac_ext |
|
|
9734 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9735 | /* end confdefs.h. */ |
|
|
9736 | |
6669 | /* Override any gcc2 internal prototype to avoid an error. */ |
9737 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
9738 | #ifdef __cplusplus |
|
|
9739 | extern "C" |
|
|
9740 | #endif |
6670 | /* We use char because int might match the return type of a gcc2 |
9741 | /* We use char because int might match the return type of a gcc2 |
6671 | builtin and then its argument prototype would still apply. */ |
9742 | builtin and then its argument prototype would still apply. */ |
6672 | char shmat(); |
9743 | char shmat (); |
6673 | |
9744 | int |
6674 | int main() { |
9745 | main () |
|
|
9746 | { |
6675 | shmat() |
9747 | shmat (); |
|
|
9748 | ; |
6676 | ; return 0; } |
9749 | return 0; |
6677 | EOF |
9750 | } |
6678 | if { (eval echo configure:6679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9751 | _ACEOF |
|
|
9752 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9753 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
9754 | (eval $ac_link) 2>conftest.er1 |
|
|
9755 | ac_status=$? |
|
|
9756 | grep -v '^ *+' conftest.er1 >conftest.err |
6679 | rm -rf conftest* |
9757 | rm -f conftest.er1 |
6680 | eval "ac_cv_lib_$ac_lib_var=yes" |
9758 | cat conftest.err >&5 |
|
|
9759 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9760 | (exit $ac_status); } && |
|
|
9761 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
9762 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9763 | (eval $ac_try) 2>&5 |
|
|
9764 | ac_status=$? |
|
|
9765 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9766 | (exit $ac_status); }; } && |
|
|
9767 | { ac_try='test -s conftest$ac_exeext' |
|
|
9768 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9769 | (eval $ac_try) 2>&5 |
|
|
9770 | ac_status=$? |
|
|
9771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9772 | (exit $ac_status); }; }; then |
|
|
9773 | ac_cv_lib_ipc_shmat=yes |
6681 | else |
9774 | else |
6682 | echo "configure: failed program was:" >&5 |
9775 | echo "$as_me: failed program was:" >&5 |
6683 | cat conftest.$ac_ext >&5 |
9776 | sed 's/^/| /' conftest.$ac_ext >&5 |
6684 | rm -rf conftest* |
9777 | |
6685 | eval "ac_cv_lib_$ac_lib_var=no" |
9778 | ac_cv_lib_ipc_shmat=no |
6686 | fi |
9779 | fi |
6687 | rm -f conftest* |
9780 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9781 | conftest$ac_exeext conftest.$ac_ext |
6688 | LIBS="$ac_save_LIBS" |
9782 | LIBS=$ac_check_lib_save_LIBS |
6689 | |
|
|
6690 | fi |
9783 | fi |
6691 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
9784 | echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5 |
6692 | echo "$ac_t""yes" 1>&6 |
9785 | echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6 |
|
|
9786 | if test $ac_cv_lib_ipc_shmat = yes; then |
6693 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
9787 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
6694 | else |
|
|
6695 | echo "$ac_t""no" 1>&6 |
|
|
6696 | fi |
9788 | fi |
6697 | |
9789 | |
6698 | fi |
9790 | fi |
6699 | fi |
9791 | fi |
6700 | |
9792 | |
6701 | # Check for libraries that X11R6 Xt/Xaw programs need. |
9793 | # Check for libraries that X11R6 Xt/Xaw programs need. |
6702 | ac_save_LDFLAGS="$LDFLAGS" |
9794 | ac_save_LDFLAGS=$LDFLAGS |
6703 | test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" |
9795 | test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" |
6704 | # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to |
9796 | # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to |
6705 | # check for ICE first), but we must link in the order -lSM -lICE or |
9797 | # check for ICE first), but we must link in the order -lSM -lICE or |
6706 | # we get undefined symbols. So assume we have SM if we have ICE. |
9798 | # we get undefined symbols. So assume we have SM if we have ICE. |
6707 | # These have to be linked with before -lX11, unlike the other |
9799 | # These have to be linked with before -lX11, unlike the other |
6708 | # libraries we check for below, so use a different variable. |
9800 | # libraries we check for below, so use a different variable. |
6709 | # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
9801 | # John Interrante, Karl Berry |
|
|
9802 | echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5 |
6710 | echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
9803 | echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6 |
6711 | echo "configure:6712: checking for IceConnectionNumber in -lICE" >&5 |
9804 | if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then |
6712 | ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
|
|
6713 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
6714 | echo $ac_n "(cached) $ac_c" 1>&6 |
9805 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6715 | else |
9806 | else |
6716 | ac_save_LIBS="$LIBS" |
9807 | ac_check_lib_save_LIBS=$LIBS |
6717 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
9808 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
6718 | cat > conftest.$ac_ext <<EOF |
9809 | cat >conftest.$ac_ext <<_ACEOF |
6719 | #line 6720 "configure" |
9810 | /* confdefs.h. */ |
6720 | #include "confdefs.h" |
9811 | _ACEOF |
|
|
9812 | cat confdefs.h >>conftest.$ac_ext |
|
|
9813 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9814 | /* end confdefs.h. */ |
|
|
9815 | |
6721 | /* Override any gcc2 internal prototype to avoid an error. */ |
9816 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
9817 | #ifdef __cplusplus |
|
|
9818 | extern "C" |
|
|
9819 | #endif |
6722 | /* We use char because int might match the return type of a gcc2 |
9820 | /* We use char because int might match the return type of a gcc2 |
6723 | builtin and then its argument prototype would still apply. */ |
9821 | builtin and then its argument prototype would still apply. */ |
6724 | char IceConnectionNumber(); |
9822 | char IceConnectionNumber (); |
6725 | |
9823 | int |
6726 | int main() { |
9824 | main () |
|
|
9825 | { |
6727 | IceConnectionNumber() |
9826 | IceConnectionNumber (); |
|
|
9827 | ; |
6728 | ; return 0; } |
9828 | return 0; |
6729 | EOF |
9829 | } |
6730 | if { (eval echo configure:6731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9830 | _ACEOF |
|
|
9831 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9832 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
9833 | (eval $ac_link) 2>conftest.er1 |
|
|
9834 | ac_status=$? |
|
|
9835 | grep -v '^ *+' conftest.er1 >conftest.err |
6731 | rm -rf conftest* |
9836 | rm -f conftest.er1 |
6732 | eval "ac_cv_lib_$ac_lib_var=yes" |
9837 | cat conftest.err >&5 |
|
|
9838 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9839 | (exit $ac_status); } && |
|
|
9840 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
9841 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9842 | (eval $ac_try) 2>&5 |
|
|
9843 | ac_status=$? |
|
|
9844 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9845 | (exit $ac_status); }; } && |
|
|
9846 | { ac_try='test -s conftest$ac_exeext' |
|
|
9847 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9848 | (eval $ac_try) 2>&5 |
|
|
9849 | ac_status=$? |
|
|
9850 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9851 | (exit $ac_status); }; }; then |
|
|
9852 | ac_cv_lib_ICE_IceConnectionNumber=yes |
6733 | else |
9853 | else |
6734 | echo "configure: failed program was:" >&5 |
9854 | echo "$as_me: failed program was:" >&5 |
6735 | cat conftest.$ac_ext >&5 |
9855 | sed 's/^/| /' conftest.$ac_ext >&5 |
6736 | rm -rf conftest* |
9856 | |
6737 | eval "ac_cv_lib_$ac_lib_var=no" |
9857 | ac_cv_lib_ICE_IceConnectionNumber=no |
6738 | fi |
9858 | fi |
6739 | rm -f conftest* |
9859 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9860 | conftest$ac_exeext conftest.$ac_ext |
6740 | LIBS="$ac_save_LIBS" |
9861 | LIBS=$ac_check_lib_save_LIBS |
6741 | |
|
|
6742 | fi |
9862 | fi |
6743 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
9863 | echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 |
6744 | echo "$ac_t""yes" 1>&6 |
9864 | echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6 |
|
|
9865 | if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then |
6745 | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
9866 | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
6746 | else |
|
|
6747 | echo "$ac_t""no" 1>&6 |
|
|
6748 | fi |
9867 | fi |
6749 | |
9868 | |
6750 | LDFLAGS="$ac_save_LDFLAGS" |
9869 | LDFLAGS=$ac_save_LDFLAGS |
6751 | |
9870 | |
6752 | fi |
9871 | fi |
6753 | |
9872 | |
6754 | |
9873 | |
6755 | |
9874 | |
6756 | if test x$support_xpm = xyes; then |
9875 | if test x$support_xpm = xyes; then |
6757 | |
9876 | |
6758 | |
9877 | |
6759 | |
9878 | |
6760 | # Initialize some more variables set by options. |
9879 | # Initialize some more variables set by options. |
6761 | # The variables have the same names as the options, with |
9880 | # The variables have the same names as the options, with |
6762 | # dashes changed to underlines. |
9881 | # dashes changed to underlines. |
6763 | |
9882 | |
6764 | # If we find XPM, set shell vars xpm_includes and xpm_libraries to the |
9883 | # If we find XPM, set shell vars xpm_includes and xpm_libraries to the |
6765 | # paths, otherwise set no_xpm=yes. |
9884 | # paths, otherwise set no_xpm=yes. |
6766 | # Uses ac_ vars as temps to allow command line to override cache and checks. |
9885 | # Uses ac_ vars as temps to allow command line to override cache and checks. |
|
|
9886 | echo "$as_me:$LINENO: checking for libXpm" >&5 |
6767 | echo $ac_n "checking for libXpm""... $ac_c" 1>&6 |
9887 | echo $ECHO_N "checking for libXpm... $ECHO_C" >&6 |
6768 | echo "configure:6769: checking for libXpm" >&5 |
9888 | |
6769 | |
9889 | |
6770 | # Check whether --with-xpm_includes or --without-xpm_includes was given. |
9890 | # Check whether --with-xpm_includes or --without-xpm_includes was given. |
6771 | if test "${with_xpm_includes+set}" = set; then |
9891 | if test "${with_xpm_includes+set}" = set; then |
6772 | withval="$with_xpm_includes" |
9892 | withval="$with_xpm_includes" |
6773 | xpm_includes="$withval" |
9893 | xpm_includes="$withval" |
6774 | else |
9894 | else |
6775 | xpm_includes=NO |
9895 | xpm_includes=NO |
6776 | fi |
9896 | fi; |
6777 | |
9897 | |
6778 | # Check whether --with-xpm_library or --without-xpm_library was given. |
9898 | # Check whether --with-xpm_library or --without-xpm_library was given. |
6779 | if test "${with_xpm_library+set}" = set; then |
9899 | if test "${with_xpm_library+set}" = set; then |
6780 | withval="$with_xpm_library" |
9900 | withval="$with_xpm_library" |
6781 | xpm_libraries="$withval" |
9901 | xpm_libraries="$withval" |
6782 | else |
9902 | else |
6783 | xpm_libraries=NO |
9903 | xpm_libraries=NO |
6784 | fi |
9904 | fi; |
6785 | |
|
|
6786 | |
9905 | |
6787 | # --without-xpm overrides everything else, but does not touch the cache. |
9906 | # --without-xpm overrides everything else, but does not touch the cache. |
|
|
9907 | |
6788 | # Check whether --with-xpm or --without-xpm was given. |
9908 | # Check whether --with-xpm or --without-xpm was given. |
6789 | if test "${with_xpm+set}" = set; then |
9909 | if test "${with_xpm+set}" = set; then |
6790 | withval="$with_xpm" |
9910 | withval="$with_xpm" |
6791 | : |
9911 | |
6792 | fi |
9912 | fi; |
6793 | |
|
|
6794 | if test "$with_xpm" = no; then |
9913 | if test "$with_xpm" = no; then |
6795 | have_xpm=disabled |
9914 | have_xpm=disabled |
6796 | else |
9915 | else |
6797 | if eval "test \"`echo '$''{'ac_cv_have_xpm'+set}'`\" = set"; then |
9916 | if test "${ac_cv_have_xpm+set}" = set; then |
6798 | echo $ac_n "(cached) $ac_c" 1>&6 |
9917 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6799 | else |
9918 | else |
6800 | |
9919 | |
6801 | vt_xpm_include_X11=no |
9920 | vt_xpm_include_X11=no |
6802 | if test -n "$xpm_includes"; then |
9921 | if test -n "$xpm_includes"; then |
6803 | vt_xpm_includes=$xpm_includes |
9922 | vt_xpm_includes=$xpm_includes |
6804 | else |
9923 | else |
6805 | vt_xpm_includes=NO |
9924 | vt_xpm_includes=NO |
… | |
… | |
6815 | |
9934 | |
6816 | ac_save_CPPFLAGS="$CPPFLAGS" |
9935 | ac_save_CPPFLAGS="$CPPFLAGS" |
6817 | CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
9936 | CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
6818 | |
9937 | |
6819 | # First, try using that file with no special directory specified. |
9938 | # First, try using that file with no special directory specified. |
6820 | cat > conftest.$ac_ext <<EOF |
9939 | cat >conftest.$ac_ext <<_ACEOF |
6821 | #line 6822 "configure" |
9940 | /* confdefs.h. */ |
6822 | #include "confdefs.h" |
9941 | _ACEOF |
|
|
9942 | cat confdefs.h >>conftest.$ac_ext |
|
|
9943 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9944 | /* end confdefs.h. */ |
6823 | #include <X11/xpm.h> |
9945 | #include <X11/xpm.h> |
6824 | EOF |
9946 | _ACEOF |
6825 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9947 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6826 | { (eval echo configure:6827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9948 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6827 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9949 | ac_status=$? |
|
|
9950 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9951 | rm -f conftest.er1 |
|
|
9952 | cat conftest.err >&5 |
|
|
9953 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9954 | (exit $ac_status); } >/dev/null; then |
|
|
9955 | if test -s conftest.err; then |
|
|
9956 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
9957 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
9958 | else |
|
|
9959 | ac_cpp_err= |
|
|
9960 | fi |
|
|
9961 | else |
|
|
9962 | ac_cpp_err=yes |
|
|
9963 | fi |
6828 | if test -z "$ac_err"; then |
9964 | if test -z "$ac_cpp_err"; then |
6829 | rm -rf conftest* |
|
|
6830 | # We can compile using X headers with no special include directory. |
9965 | # We can compile using X headers with no special include directory. |
6831 | vt_xpm_includes= |
9966 | vt_xpm_includes= |
6832 | vt_xpm_include_X11=yes |
9967 | vt_xpm_include_X11=yes |
6833 | else |
9968 | else |
6834 | echo "$ac_err" >&5 |
|
|
6835 | echo "configure: failed program was:" >&5 |
9969 | echo "$as_me: failed program was:" >&5 |
6836 | cat conftest.$ac_ext >&5 |
9970 | sed 's/^/| /' conftest.$ac_ext >&5 |
6837 | rm -rf conftest* |
9971 | |
6838 | CPPFLAGS="$ac_save_CPPFLAGS" |
9972 | CPPFLAGS="$ac_save_CPPFLAGS" |
6839 | # Look for the header file in a standard set of common directories. |
9973 | # Look for the header file in a standard set of common directories. |
6840 | for ac_dir in \ |
9974 | for ac_dir in \ |
6841 | /usr/X11/include \ |
9975 | /usr/X11/include \ |
6842 | /usr/X11R6/include \ |
9976 | /usr/X11R6/include \ |
… | |
… | |
6883 | break |
10017 | break |
6884 | fi |
10018 | fi |
6885 | fi |
10019 | fi |
6886 | done |
10020 | done |
6887 | fi |
10021 | fi |
6888 | rm -f conftest* |
10022 | rm -f conftest.err conftest.$ac_ext |
6889 | fi |
10023 | fi |
6890 | |
10024 | |
6891 | if test "$vt_xpm_libraries" = NO; then |
10025 | if test "$vt_xpm_libraries" = NO; then |
6892 | # Check for the libraries. |
10026 | # Check for the libraries. |
6893 | |
10027 | |
6894 | # See if we find them without any special options. |
10028 | # See if we find them without any special options. |
6895 | # Don't add to $LIBS permanently. |
10029 | # Don't add to $LIBS permanently. |
6896 | ac_save_LIBS="$LIBS" |
10030 | ac_save_LIBS="$LIBS" |
6897 | LIBS="$LIBS $X_LIBS -lXpm -lX11" |
10031 | LIBS="$LIBS $X_LIBS -lXpm -lX11" |
6898 | cat > conftest.$ac_ext <<EOF |
10032 | cat >conftest.$ac_ext <<_ACEOF |
6899 | #line 6900 "configure" |
10033 | /* confdefs.h. */ |
6900 | #include "confdefs.h" |
10034 | _ACEOF |
|
|
10035 | cat confdefs.h >>conftest.$ac_ext |
|
|
10036 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10037 | /* end confdefs.h. */ |
6901 | |
10038 | |
6902 | int main() { |
10039 | int |
|
|
10040 | main () |
|
|
10041 | { |
6903 | XpmReadFileToPixmap() |
10042 | XpmReadFileToPixmap() |
|
|
10043 | ; |
6904 | ; return 0; } |
10044 | return 0; |
6905 | EOF |
10045 | } |
6906 | if { (eval echo configure:6907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10046 | _ACEOF |
|
|
10047 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
10048 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
10049 | (eval $ac_link) 2>conftest.er1 |
|
|
10050 | ac_status=$? |
|
|
10051 | grep -v '^ *+' conftest.er1 >conftest.err |
6907 | rm -rf conftest* |
10052 | rm -f conftest.er1 |
|
|
10053 | cat conftest.err >&5 |
|
|
10054 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10055 | (exit $ac_status); } && |
|
|
10056 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
10057 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10058 | (eval $ac_try) 2>&5 |
|
|
10059 | ac_status=$? |
|
|
10060 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10061 | (exit $ac_status); }; } && |
|
|
10062 | { ac_try='test -s conftest$ac_exeext' |
|
|
10063 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10064 | (eval $ac_try) 2>&5 |
|
|
10065 | ac_status=$? |
|
|
10066 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10067 | (exit $ac_status); }; }; then |
6908 | LIBS="$ac_save_LIBS" |
10068 | LIBS="$ac_save_LIBS" |
6909 | # We can link libXpm with no special library path. |
10069 | # We can link libXpm with no special library path. |
6910 | vt_xpm_libraries= |
10070 | vt_xpm_libraries= |
6911 | else |
10071 | else |
6912 | echo "configure: failed program was:" >&5 |
10072 | echo "$as_me: failed program was:" >&5 |
6913 | cat conftest.$ac_ext >&5 |
10073 | sed 's/^/| /' conftest.$ac_ext >&5 |
6914 | rm -rf conftest* |
10074 | |
6915 | LIBS="$ac_save_LIBS" |
10075 | LIBS="$ac_save_LIBS" |
6916 | # First see if replacing the include by lib works. |
10076 | # First see if replacing the include by lib works. |
6917 | for ac_dir in \ |
10077 | for ac_dir in \ |
6918 | `echo "$vt_xpm_includes" | sed 's,include/X11,lib,;s,include,lib,'` \ |
10078 | `echo "$vt_xpm_includes" | sed 's,include/X11,lib,;s,include,lib,'` \ |
6919 | /usr/X11/lib \ |
10079 | /usr/X11/lib \ |
6920 | /usr/X11R6/lib \ |
10080 | /usr/X11R6/lib \ |
… | |
… | |
6957 | break 2 |
10117 | break 2 |
6958 | fi |
10118 | fi |
6959 | done |
10119 | done |
6960 | done |
10120 | done |
6961 | fi |
10121 | fi |
6962 | rm -f conftest* |
10122 | rm -f conftest.err conftest.$ac_objext \ |
|
|
10123 | conftest$ac_exeext conftest.$ac_ext |
6963 | fi |
10124 | fi |
6964 | |
10125 | |
6965 | |
10126 | |
6966 | if test "$vt_xpm_includes" = NO -o "$vt_xpm_libraries" = NO; then |
10127 | if test "$vt_xpm_includes" = NO -o "$vt_xpm_libraries" = NO; then |
6967 | ac_cv_have_xpm="have_xpm=no" |
10128 | ac_cv_have_xpm="have_xpm=no" |
… | |
… | |
6973 | fi |
10134 | fi |
6974 | eval "$ac_cv_have_xpm" |
10135 | eval "$ac_cv_have_xpm" |
6975 | fi |
10136 | fi |
6976 | |
10137 | |
6977 | if test "$have_xpm" != yes; then |
10138 | if test "$have_xpm" != yes; then |
6978 | echo "$ac_t""$have_xpm" 1>&6 |
10139 | echo "$as_me:$LINENO: result: $have_xpm" >&5 |
|
|
10140 | echo "${ECHO_T}$have_xpm" >&6 |
6979 | no_xpm=yes |
10141 | no_xpm=yes |
6980 | else |
10142 | else |
6981 | if test "$xpm_includes" != NO; then |
10143 | if test "$xpm_includes" != NO; then |
6982 | if test "$xpm_includes" = "$vt_xpm_includes"; then |
10144 | if test "$xpm_includes" = "$vt_xpm_includes"; then |
6983 | if test -r "$xpm_includes/X11/xpm.h"; then |
10145 | if test -r "$xpm_includes/X11/xpm.h"; then |
6984 | vt_xpm_include_X11=yes |
10146 | vt_xpm_include_X11=yes |
6985 | fi |
10147 | fi |
6986 | else |
10148 | else |
6987 | vt_xpm_include_X11=no |
10149 | vt_xpm_include_X11=no |
6988 | if test -z "$xpm_includes"; then |
10150 | if test -z "$xpm_includes"; then |
6989 | cat > conftest.$ac_ext <<EOF |
10151 | cat >conftest.$ac_ext <<_ACEOF |
6990 | #line 6991 "configure" |
10152 | /* confdefs.h. */ |
6991 | #include "confdefs.h" |
10153 | _ACEOF |
|
|
10154 | cat confdefs.h >>conftest.$ac_ext |
|
|
10155 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10156 | /* end confdefs.h. */ |
6992 | #include <X11/xpm.h> |
10157 | #include <X11/xpm.h> |
6993 | EOF |
10158 | _ACEOF |
6994 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10159 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6995 | { (eval echo configure:6996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10160 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6996 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10161 | ac_status=$? |
|
|
10162 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10163 | rm -f conftest.er1 |
|
|
10164 | cat conftest.err >&5 |
|
|
10165 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10166 | (exit $ac_status); } >/dev/null; then |
|
|
10167 | if test -s conftest.err; then |
|
|
10168 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
10169 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
10170 | else |
|
|
10171 | ac_cpp_err= |
|
|
10172 | fi |
|
|
10173 | else |
|
|
10174 | ac_cpp_err=yes |
|
|
10175 | fi |
6997 | if test -z "$ac_err"; then |
10176 | if test -z "$ac_cpp_err"; then |
6998 | rm -rf conftest* |
|
|
6999 | vt_xpm_include_X11=yes |
10177 | vt_xpm_include_X11=yes |
7000 | else |
10178 | else |
7001 | echo "$ac_err" >&5 |
|
|
7002 | echo "configure: failed program was:" >&5 |
10179 | echo "$as_me: failed program was:" >&5 |
7003 | cat conftest.$ac_ext >&5 |
10180 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10181 | |
|
|
10182 | |
7004 | fi |
10183 | fi |
7005 | rm -f conftest* |
10184 | rm -f conftest.err conftest.$ac_ext |
7006 | else |
10185 | else |
7007 | if test -r "$xpm_includes/X11/xpm.h"; then |
10186 | if test -r "$xpm_includes/X11/xpm.h"; then |
7008 | vt_xpm_include_X11=yes |
10187 | vt_xpm_include_X11=yes |
7009 | fi |
10188 | fi |
7010 | fi |
10189 | fi |
… | |
… | |
7017 | # Update the cache value to reflect the command line values. |
10196 | # Update the cache value to reflect the command line values. |
7018 | ac_cv_have_xpm="have_xpm=yes \ |
10197 | ac_cv_have_xpm="have_xpm=yes \ |
7019 | vt_xpm_includes=$vt_xpm_includes vt_xpm_libraries=$vt_xpm_libraries \ |
10198 | vt_xpm_includes=$vt_xpm_includes vt_xpm_libraries=$vt_xpm_libraries \ |
7020 | vt_xpm_include_X11=$vt_xpm_include_X11" |
10199 | vt_xpm_include_X11=$vt_xpm_include_X11" |
7021 | eval "$ac_cv_have_xpm" |
10200 | eval "$ac_cv_have_xpm" |
|
|
10201 | echo "$as_me:$LINENO: result: -I$vt_xpm_includes, -L$vt_xpm_libraries" >&5 |
7022 | echo "$ac_t""-I$vt_xpm_includes, -L$vt_xpm_libraries" 1>&6 |
10202 | echo "${ECHO_T}-I$vt_xpm_includes, -L$vt_xpm_libraries" >&6 |
7023 | if test -n "$vt_xpm_includes"; then |
10203 | if test -n "$vt_xpm_includes"; then |
7024 | XPM_CPPFLAGS="-DHAVE_LIBXPM" |
10204 | XPM_CPPFLAGS="-DHAVE_LIBXPM" |
7025 | fi |
10205 | fi |
7026 | if test -n "$vt_xpm_includes"; then |
10206 | if test -n "$vt_xpm_includes"; then |
7027 | XPM_CFLAGS="-I$vt_xpm_includes" |
10207 | XPM_CFLAGS="-I$vt_xpm_includes" |
… | |
… | |
7029 | XPM_LIBS="-lXpm" |
10209 | XPM_LIBS="-lXpm" |
7030 | if test -n "$vt_xpm_libraries"; then |
10210 | if test -n "$vt_xpm_libraries"; then |
7031 | XPM_LIBS="-L$vt_xpm_libraries $XPM_LIBS" |
10211 | XPM_LIBS="-L$vt_xpm_libraries $XPM_LIBS" |
7032 | fi |
10212 | fi |
7033 | if test "x$vt_xpm_include_X11" = xyes; then |
10213 | if test "x$vt_xpm_include_X11" = xyes; then |
|
|
10214 | |
7034 | cat >> confdefs.h <<\EOF |
10215 | cat >>confdefs.h <<\_ACEOF |
7035 | #define XPM_INC_X11 1 |
10216 | #define XPM_INC_X11 1 |
7036 | EOF |
10217 | _ACEOF |
7037 | |
10218 | |
7038 | fi |
10219 | fi |
7039 | fi |
10220 | fi |
7040 | |
10221 | |
7041 | |
10222 | |
… | |
… | |
7045 | if test x$no_xpm = xyes; then |
10226 | if test x$no_xpm = xyes; then |
7046 | support_xpm=needsmanualspecification |
10227 | support_xpm=needsmanualspecification |
7047 | fi |
10228 | fi |
7048 | fi |
10229 | fi |
7049 | |
10230 | |
|
|
10231 | echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
7050 | echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
10232 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 |
7051 | echo "configure:7052: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
|
|
7052 | if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then |
10233 | if test "${ac_cv_header_sys_wait_h+set}" = set; then |
7053 | echo $ac_n "(cached) $ac_c" 1>&6 |
10234 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7054 | else |
10235 | else |
7055 | cat > conftest.$ac_ext <<EOF |
10236 | cat >conftest.$ac_ext <<_ACEOF |
7056 | #line 7057 "configure" |
10237 | /* confdefs.h. */ |
7057 | #include "confdefs.h" |
10238 | _ACEOF |
|
|
10239 | cat confdefs.h >>conftest.$ac_ext |
|
|
10240 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10241 | /* end confdefs.h. */ |
7058 | #include <sys/types.h> |
10242 | #include <sys/types.h> |
7059 | #include <sys/wait.h> |
10243 | #include <sys/wait.h> |
7060 | #ifndef WEXITSTATUS |
10244 | #ifndef WEXITSTATUS |
7061 | #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
10245 | # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
7062 | #endif |
10246 | #endif |
7063 | #ifndef WIFEXITED |
10247 | #ifndef WIFEXITED |
7064 | #define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
10248 | # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
7065 | #endif |
10249 | #endif |
7066 | int main() { |
10250 | |
|
|
10251 | int |
|
|
10252 | main () |
|
|
10253 | { |
7067 | int s; |
10254 | int s; |
7068 | wait (&s); |
10255 | wait (&s); |
7069 | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
10256 | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
|
|
10257 | ; |
7070 | ; return 0; } |
10258 | return 0; |
7071 | EOF |
10259 | } |
7072 | if { (eval echo configure:7073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10260 | _ACEOF |
|
|
10261 | rm -f conftest.$ac_objext |
|
|
10262 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
10263 | (eval $ac_compile) 2>conftest.er1 |
|
|
10264 | ac_status=$? |
|
|
10265 | grep -v '^ *+' conftest.er1 >conftest.err |
7073 | rm -rf conftest* |
10266 | rm -f conftest.er1 |
|
|
10267 | cat conftest.err >&5 |
|
|
10268 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10269 | (exit $ac_status); } && |
|
|
10270 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
10271 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10272 | (eval $ac_try) 2>&5 |
|
|
10273 | ac_status=$? |
|
|
10274 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10275 | (exit $ac_status); }; } && |
|
|
10276 | { ac_try='test -s conftest.$ac_objext' |
|
|
10277 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10278 | (eval $ac_try) 2>&5 |
|
|
10279 | ac_status=$? |
|
|
10280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10281 | (exit $ac_status); }; }; then |
7074 | ac_cv_header_sys_wait_h=yes |
10282 | ac_cv_header_sys_wait_h=yes |
7075 | else |
10283 | else |
7076 | echo "configure: failed program was:" >&5 |
10284 | echo "$as_me: failed program was:" >&5 |
7077 | cat conftest.$ac_ext >&5 |
10285 | sed 's/^/| /' conftest.$ac_ext >&5 |
7078 | rm -rf conftest* |
10286 | |
7079 | ac_cv_header_sys_wait_h=no |
10287 | ac_cv_header_sys_wait_h=no |
7080 | fi |
10288 | fi |
7081 | rm -f conftest* |
10289 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7082 | fi |
10290 | fi |
7083 | |
10291 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
7084 | echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6 |
10292 | echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 |
7085 | if test $ac_cv_header_sys_wait_h = yes; then |
10293 | if test $ac_cv_header_sys_wait_h = yes; then |
|
|
10294 | |
7086 | cat >> confdefs.h <<\EOF |
10295 | cat >>confdefs.h <<\_ACEOF |
7087 | #define HAVE_SYS_WAIT_H 1 |
10296 | #define HAVE_SYS_WAIT_H 1 |
7088 | EOF |
10297 | _ACEOF |
7089 | |
10298 | |
7090 | fi |
10299 | fi |
7091 | |
10300 | |
|
|
10301 | |
|
|
10302 | |
|
|
10303 | |
|
|
10304 | |
|
|
10305 | |
|
|
10306 | |
|
|
10307 | |
|
|
10308 | |
|
|
10309 | |
|
|
10310 | |
|
|
10311 | |
|
|
10312 | |
|
|
10313 | |
|
|
10314 | |
|
|
10315 | |
|
|
10316 | |
|
|
10317 | |
|
|
10318 | |
|
|
10319 | |
7092 | for ac_hdr in \ |
10320 | for ac_header in \ |
7093 | assert.h \ |
10321 | assert.h \ |
7094 | fcntl.h \ |
10322 | fcntl.h \ |
7095 | grp.h \ |
10323 | grp.h \ |
7096 | libc.h \ |
10324 | libc.h \ |
7097 | lastlog.h \ |
10325 | lastlog.h \ |
… | |
… | |
7109 | utmp.h \ |
10337 | utmp.h \ |
7110 | utmpx.h \ |
10338 | utmpx.h \ |
7111 | stdint.h \ |
10339 | stdint.h \ |
7112 | |
10340 | |
7113 | do |
10341 | do |
7114 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10342 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
10343 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
10344 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7115 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10345 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7116 | echo "configure:7117: checking for $ac_hdr" >&5 |
10346 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7117 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|
|
7118 | echo $ac_n "(cached) $ac_c" 1>&6 |
10347 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10348 | fi |
|
|
10349 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
10350 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7119 | else |
10351 | else |
|
|
10352 | # Is the header compilable? |
|
|
10353 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
10354 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
7120 | cat > conftest.$ac_ext <<EOF |
10355 | cat >conftest.$ac_ext <<_ACEOF |
7121 | #line 7122 "configure" |
10356 | /* confdefs.h. */ |
7122 | #include "confdefs.h" |
10357 | _ACEOF |
|
|
10358 | cat confdefs.h >>conftest.$ac_ext |
|
|
10359 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10360 | /* end confdefs.h. */ |
|
|
10361 | $ac_includes_default |
7123 | #include <$ac_hdr> |
10362 | #include <$ac_header> |
7124 | EOF |
10363 | _ACEOF |
7125 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10364 | rm -f conftest.$ac_objext |
7126 | { (eval echo configure:7127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10365 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7127 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10366 | (eval $ac_compile) 2>conftest.er1 |
|
|
10367 | ac_status=$? |
|
|
10368 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10369 | rm -f conftest.er1 |
|
|
10370 | cat conftest.err >&5 |
|
|
10371 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10372 | (exit $ac_status); } && |
|
|
10373 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
10374 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10375 | (eval $ac_try) 2>&5 |
|
|
10376 | ac_status=$? |
|
|
10377 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10378 | (exit $ac_status); }; } && |
|
|
10379 | { ac_try='test -s conftest.$ac_objext' |
|
|
10380 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10381 | (eval $ac_try) 2>&5 |
|
|
10382 | ac_status=$? |
|
|
10383 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10384 | (exit $ac_status); }; }; then |
|
|
10385 | ac_header_compiler=yes |
|
|
10386 | else |
|
|
10387 | echo "$as_me: failed program was:" >&5 |
|
|
10388 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10389 | |
|
|
10390 | ac_header_compiler=no |
|
|
10391 | fi |
|
|
10392 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10393 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
10394 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
10395 | |
|
|
10396 | # Is the header present? |
|
|
10397 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
10398 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
|
10399 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10400 | /* confdefs.h. */ |
|
|
10401 | _ACEOF |
|
|
10402 | cat confdefs.h >>conftest.$ac_ext |
|
|
10403 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10404 | /* end confdefs.h. */ |
|
|
10405 | #include <$ac_header> |
|
|
10406 | _ACEOF |
|
|
10407 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
10408 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
10409 | ac_status=$? |
|
|
10410 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10411 | rm -f conftest.er1 |
|
|
10412 | cat conftest.err >&5 |
|
|
10413 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10414 | (exit $ac_status); } >/dev/null; then |
|
|
10415 | if test -s conftest.err; then |
|
|
10416 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
10417 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
10418 | else |
|
|
10419 | ac_cpp_err= |
|
|
10420 | fi |
|
|
10421 | else |
|
|
10422 | ac_cpp_err=yes |
|
|
10423 | fi |
7128 | if test -z "$ac_err"; then |
10424 | if test -z "$ac_cpp_err"; then |
7129 | rm -rf conftest* |
10425 | ac_header_preproc=yes |
7130 | eval "ac_cv_header_$ac_safe=yes" |
|
|
7131 | else |
10426 | else |
7132 | echo "$ac_err" >&5 |
|
|
7133 | echo "configure: failed program was:" >&5 |
10427 | echo "$as_me: failed program was:" >&5 |
7134 | cat conftest.$ac_ext >&5 |
10428 | sed 's/^/| /' conftest.$ac_ext >&5 |
7135 | rm -rf conftest* |
10429 | |
7136 | eval "ac_cv_header_$ac_safe=no" |
10430 | ac_header_preproc=no |
7137 | fi |
10431 | fi |
7138 | rm -f conftest* |
10432 | rm -f conftest.err conftest.$ac_ext |
|
|
10433 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
10434 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
10435 | |
|
|
10436 | # So? What about this header? |
|
|
10437 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
|
10438 | yes:no: ) |
|
|
10439 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
10440 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
10441 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
10442 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
10443 | ac_header_preproc=yes |
|
|
10444 | ;; |
|
|
10445 | no:yes:* ) |
|
|
10446 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
10447 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
10448 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
10449 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
10450 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
10451 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
10452 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
10453 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
10454 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
10455 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
10456 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
10457 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
10458 | ( |
|
|
10459 | cat <<\_ASBOX |
|
|
10460 | ## ------------------------------------------ ## |
|
|
10461 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
10462 | ## ------------------------------------------ ## |
|
|
10463 | _ASBOX |
|
|
10464 | ) | |
|
|
10465 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
10466 | ;; |
|
|
10467 | esac |
|
|
10468 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
10469 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
10470 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
10471 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10472 | else |
|
|
10473 | eval "$as_ac_Header=\$ac_header_preproc" |
7139 | fi |
10474 | fi |
7140 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10475 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7141 | echo "$ac_t""yes" 1>&6 |
10476 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7142 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
10477 | |
|
|
10478 | fi |
|
|
10479 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7143 | cat >> confdefs.h <<EOF |
10480 | cat >>confdefs.h <<_ACEOF |
7144 | #define $ac_tr_hdr 1 |
10481 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7145 | EOF |
10482 | _ACEOF |
7146 | |
10483 | |
7147 | else |
|
|
7148 | echo "$ac_t""no" 1>&6 |
|
|
7149 | fi |
10484 | fi |
|
|
10485 | |
7150 | done |
10486 | done |
7151 | |
10487 | |
7152 | |
10488 | |
|
|
10489 | echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
7153 | echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
10490 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
7154 | echo "configure:7155: checking whether time.h and sys/time.h may both be included" >&5 |
|
|
7155 | if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
10491 | if test "${ac_cv_header_time+set}" = set; then |
7156 | echo $ac_n "(cached) $ac_c" 1>&6 |
10492 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7157 | else |
10493 | else |
7158 | cat > conftest.$ac_ext <<EOF |
10494 | cat >conftest.$ac_ext <<_ACEOF |
7159 | #line 7160 "configure" |
10495 | /* confdefs.h. */ |
7160 | #include "confdefs.h" |
10496 | _ACEOF |
|
|
10497 | cat confdefs.h >>conftest.$ac_ext |
|
|
10498 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10499 | /* end confdefs.h. */ |
7161 | #include <sys/types.h> |
10500 | #include <sys/types.h> |
7162 | #include <sys/time.h> |
10501 | #include <sys/time.h> |
7163 | #include <time.h> |
10502 | #include <time.h> |
7164 | int main() { |
10503 | |
7165 | struct tm *tp; |
10504 | int |
|
|
10505 | main () |
|
|
10506 | { |
|
|
10507 | if ((struct tm *) 0) |
|
|
10508 | return 0; |
|
|
10509 | ; |
7166 | ; return 0; } |
10510 | return 0; |
7167 | EOF |
10511 | } |
7168 | if { (eval echo configure:7169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10512 | _ACEOF |
|
|
10513 | rm -f conftest.$ac_objext |
|
|
10514 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
10515 | (eval $ac_compile) 2>conftest.er1 |
|
|
10516 | ac_status=$? |
|
|
10517 | grep -v '^ *+' conftest.er1 >conftest.err |
7169 | rm -rf conftest* |
10518 | rm -f conftest.er1 |
|
|
10519 | cat conftest.err >&5 |
|
|
10520 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10521 | (exit $ac_status); } && |
|
|
10522 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
10523 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10524 | (eval $ac_try) 2>&5 |
|
|
10525 | ac_status=$? |
|
|
10526 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10527 | (exit $ac_status); }; } && |
|
|
10528 | { ac_try='test -s conftest.$ac_objext' |
|
|
10529 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10530 | (eval $ac_try) 2>&5 |
|
|
10531 | ac_status=$? |
|
|
10532 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10533 | (exit $ac_status); }; }; then |
7170 | ac_cv_header_time=yes |
10534 | ac_cv_header_time=yes |
7171 | else |
10535 | else |
7172 | echo "configure: failed program was:" >&5 |
10536 | echo "$as_me: failed program was:" >&5 |
7173 | cat conftest.$ac_ext >&5 |
10537 | sed 's/^/| /' conftest.$ac_ext >&5 |
7174 | rm -rf conftest* |
10538 | |
7175 | ac_cv_header_time=no |
10539 | ac_cv_header_time=no |
7176 | fi |
10540 | fi |
7177 | rm -f conftest* |
10541 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7178 | fi |
10542 | fi |
7179 | |
10543 | echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
7180 | echo "$ac_t""$ac_cv_header_time" 1>&6 |
10544 | echo "${ECHO_T}$ac_cv_header_time" >&6 |
7181 | if test $ac_cv_header_time = yes; then |
10545 | if test $ac_cv_header_time = yes; then |
|
|
10546 | |
7182 | cat >> confdefs.h <<\EOF |
10547 | cat >>confdefs.h <<\_ACEOF |
7183 | #define TIME_WITH_SYS_TIME 1 |
10548 | #define TIME_WITH_SYS_TIME 1 |
7184 | EOF |
10549 | _ACEOF |
7185 | |
10550 | |
7186 | fi |
10551 | fi |
7187 | |
10552 | |
7188 | |
10553 | |
|
|
10554 | echo "$as_me:$LINENO: checking whether termios.h and sys/ioctl.h may both be included" >&5 |
7189 | echo $ac_n "checking whether termios.h and sys/ioctl.h may both be included""... $ac_c" 1>&6 |
10555 | echo $ECHO_N "checking whether termios.h and sys/ioctl.h may both be included... $ECHO_C" >&6 |
7190 | echo "configure:7191: checking whether termios.h and sys/ioctl.h may both be included" >&5 |
|
|
7191 | if eval "test \"`echo '$''{'rxvt_cv_header_sysioctl'+set}'`\" = set"; then |
10556 | if test "${rxvt_cv_header_sysioctl+set}" = set; then |
7192 | echo $ac_n "(cached) $ac_c" 1>&6 |
10557 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7193 | else |
10558 | else |
7194 | cat > conftest.$ac_ext <<EOF |
10559 | cat >conftest.$ac_ext <<_ACEOF |
7195 | #line 7196 "configure" |
10560 | /* confdefs.h. */ |
7196 | #include "confdefs.h" |
10561 | _ACEOF |
|
|
10562 | cat confdefs.h >>conftest.$ac_ext |
|
|
10563 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10564 | /* end confdefs.h. */ |
7197 | #include <stdio.h> |
10565 | #include <stdio.h> |
7198 | #include <sys/ioctl.h> |
10566 | #include <sys/ioctl.h> |
7199 | #ifdef HAVE_TERMIOS_H |
10567 | #ifdef HAVE_TERMIOS_H |
7200 | #include <termios.h> |
10568 | #include <termios.h> |
7201 | #endif |
10569 | #endif |
7202 | int main() { |
10570 | int |
|
|
10571 | main () |
|
|
10572 | { |
7203 | int a = ECHO; |
10573 | int a = ECHO; |
|
|
10574 | ; |
7204 | ; return 0; } |
10575 | return 0; |
7205 | EOF |
10576 | } |
7206 | if { (eval echo configure:7207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10577 | _ACEOF |
|
|
10578 | rm -f conftest.$ac_objext |
|
|
10579 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
10580 | (eval $ac_compile) 2>conftest.er1 |
|
|
10581 | ac_status=$? |
|
|
10582 | grep -v '^ *+' conftest.er1 >conftest.err |
7207 | rm -rf conftest* |
10583 | rm -f conftest.er1 |
|
|
10584 | cat conftest.err >&5 |
|
|
10585 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10586 | (exit $ac_status); } && |
|
|
10587 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
10588 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10589 | (eval $ac_try) 2>&5 |
|
|
10590 | ac_status=$? |
|
|
10591 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10592 | (exit $ac_status); }; } && |
|
|
10593 | { ac_try='test -s conftest.$ac_objext' |
|
|
10594 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10595 | (eval $ac_try) 2>&5 |
|
|
10596 | ac_status=$? |
|
|
10597 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10598 | (exit $ac_status); }; }; then |
7208 | rxvt_cv_header_sysioctl=yes |
10599 | rxvt_cv_header_sysioctl=yes |
7209 | else |
10600 | else |
7210 | echo "configure: failed program was:" >&5 |
10601 | echo "$as_me: failed program was:" >&5 |
7211 | cat conftest.$ac_ext >&5 |
10602 | sed 's/^/| /' conftest.$ac_ext >&5 |
7212 | rm -rf conftest* |
10603 | |
7213 | rxvt_cv_header_sysioctl=no |
10604 | rxvt_cv_header_sysioctl=no |
7214 | fi |
10605 | fi |
7215 | rm -f conftest* |
10606 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7216 | fi |
10607 | fi |
7217 | |
10608 | echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 |
7218 | echo "$ac_t""$rxvt_cv_header_sysioctl" 1>&6 |
10609 | echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6 |
7219 | |
10610 | |
7220 | if test -n "$GCC"; then |
10611 | if test -n "$GCC"; then |
7221 | LDARG="-Wl," |
10612 | LDARG="-Wl," |
7222 | else |
10613 | else |
7223 | LDARG="" |
10614 | LDARG="" |
… | |
… | |
7226 | |
10617 | |
7227 | ac_save_CFLAGS=$CFLAGS |
10618 | ac_save_CFLAGS=$CFLAGS |
7228 | ac_save_LIBS=$LIBS |
10619 | ac_save_LIBS=$LIBS |
7229 | CFLAGS="$CFLAGS $X_CFLAGS" |
10620 | CFLAGS="$CFLAGS $X_CFLAGS" |
7230 | LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
10621 | LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
|
|
10622 | echo "$as_me:$LINENO: checking for -rpath dynamic library path recording" >&5 |
7231 | echo $ac_n "checking for -rpath dynamic library path recording""... $ac_c" 1>&6 |
10623 | echo $ECHO_N "checking for -rpath dynamic library path recording... $ECHO_C" >&6 |
7232 | echo "configure:7233: checking for -rpath dynamic library path recording" >&5 |
|
|
7233 | if eval "test \"`echo '$''{'rxvt_cv_rpath'+set}'`\" = set"; then |
10624 | if test "${rxvt_cv_rpath+set}" = set; then |
7234 | echo $ac_n "(cached) $ac_c" 1>&6 |
10625 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7235 | else |
10626 | else |
7236 | if test "$cross_compiling" = yes; then |
10627 | if test "$cross_compiling" = yes; then |
|
|
10628 | { echo "$as_me:$LINENO: WARNING: You may need to check the LIBS line" >&5 |
7237 | echo "configure: warning: You may need to check the LIBS line" 1>&2 |
10629 | echo "$as_me: WARNING: You may need to check the LIBS line" >&2;} |
7238 | else |
10630 | else |
7239 | cat > conftest.$ac_ext <<EOF |
10631 | cat >conftest.$ac_ext <<_ACEOF |
7240 | #line 7241 "configure" |
10632 | /* confdefs.h. */ |
7241 | #include "confdefs.h" |
10633 | _ACEOF |
|
|
10634 | cat confdefs.h >>conftest.$ac_ext |
|
|
10635 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10636 | /* end confdefs.h. */ |
7242 | |
10637 | |
7243 | main() |
10638 | main() |
7244 | { |
10639 | { |
7245 | exit(0); |
10640 | exit(0); |
7246 | (void) XOpenDisplay("foobar"); |
10641 | (void) XOpenDisplay("foobar"); |
7247 | } |
10642 | } |
7248 | EOF |
10643 | _ACEOF |
7249 | if { (eval echo configure:7250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
10644 | rm -f conftest$ac_exeext |
7250 | then |
10645 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
10646 | (eval $ac_link) 2>&5 |
|
|
10647 | ac_status=$? |
|
|
10648 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10649 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
10650 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10651 | (eval $ac_try) 2>&5 |
|
|
10652 | ac_status=$? |
|
|
10653 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10654 | (exit $ac_status); }; }; then |
7251 | rxvt_cv_rpath=yes |
10655 | rxvt_cv_rpath=yes |
7252 | else |
10656 | else |
|
|
10657 | echo "$as_me: program exited with status $ac_status" >&5 |
7253 | echo "configure: failed program was:" >&5 |
10658 | echo "$as_me: failed program was:" >&5 |
7254 | cat conftest.$ac_ext >&5 |
10659 | sed 's/^/| /' conftest.$ac_ext >&5 |
7255 | rm -fr conftest* |
10660 | |
|
|
10661 | ( exit $ac_status ) |
7256 | rxvt_cv_rpath=no |
10662 | rxvt_cv_rpath=no |
7257 | fi |
10663 | fi |
7258 | rm -fr conftest* |
10664 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7259 | fi |
10665 | fi |
7260 | |
|
|
7261 | fi |
10666 | fi |
7262 | |
10667 | echo "$as_me:$LINENO: result: $rxvt_cv_rpath" >&5 |
7263 | echo "$ac_t""$rxvt_cv_rpath" 1>&6 |
10668 | echo "${ECHO_T}$rxvt_cv_rpath" >&6 |
7264 | if test x$rxvt_cv_rpath != xyes; then |
10669 | if test x$rxvt_cv_rpath != xyes; then |
7265 | R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-R\1/g' |
10670 | R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-R\1/g' |
7266 | LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
10671 | LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
|
|
10672 | echo "$as_me:$LINENO: checking for -R dynamic library path recording" >&5 |
7267 | echo $ac_n "checking for -R dynamic library path recording""... $ac_c" 1>&6 |
10673 | echo $ECHO_N "checking for -R dynamic library path recording... $ECHO_C" >&6 |
7268 | echo "configure:7269: checking for -R dynamic library path recording" >&5 |
|
|
7269 | if eval "test \"`echo '$''{'rxvt_cv_R'+set}'`\" = set"; then |
10674 | if test "${rxvt_cv_R+set}" = set; then |
7270 | echo $ac_n "(cached) $ac_c" 1>&6 |
10675 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7271 | else |
10676 | else |
7272 | if test "$cross_compiling" = yes; then |
10677 | if test "$cross_compiling" = yes; then |
7273 | rxvt_cv_R=no |
10678 | rxvt_cv_R=no |
7274 | else |
10679 | else |
7275 | cat > conftest.$ac_ext <<EOF |
10680 | cat >conftest.$ac_ext <<_ACEOF |
7276 | #line 7277 "configure" |
10681 | /* confdefs.h. */ |
7277 | #include "confdefs.h" |
10682 | _ACEOF |
|
|
10683 | cat confdefs.h >>conftest.$ac_ext |
|
|
10684 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10685 | /* end confdefs.h. */ |
7278 | |
10686 | |
7279 | main() |
10687 | main() |
7280 | { |
10688 | { |
7281 | exit(0); |
10689 | exit(0); |
7282 | (void) XOpenDisplay("foobar"); |
10690 | (void) XOpenDisplay("foobar"); |
7283 | } |
10691 | } |
7284 | EOF |
10692 | _ACEOF |
7285 | if { (eval echo configure:7286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
10693 | rm -f conftest$ac_exeext |
7286 | then |
10694 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
10695 | (eval $ac_link) 2>&5 |
|
|
10696 | ac_status=$? |
|
|
10697 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10698 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
10699 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10700 | (eval $ac_try) 2>&5 |
|
|
10701 | ac_status=$? |
|
|
10702 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10703 | (exit $ac_status); }; }; then |
7287 | rxvt_cv_R=yes |
10704 | rxvt_cv_R=yes |
7288 | else |
10705 | else |
|
|
10706 | echo "$as_me: program exited with status $ac_status" >&5 |
7289 | echo "configure: failed program was:" >&5 |
10707 | echo "$as_me: failed program was:" >&5 |
7290 | cat conftest.$ac_ext >&5 |
10708 | sed 's/^/| /' conftest.$ac_ext >&5 |
7291 | rm -fr conftest* |
10709 | |
|
|
10710 | ( exit $ac_status ) |
7292 | rxvt_cv_R=no |
10711 | rxvt_cv_R=no |
7293 | fi |
10712 | fi |
7294 | rm -fr conftest* |
10713 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7295 | fi |
10714 | fi |
7296 | |
|
|
7297 | fi |
10715 | fi |
7298 | |
10716 | echo "$as_me:$LINENO: result: $rxvt_cv_R" >&5 |
7299 | echo "$ac_t""$rxvt_cv_R" 1>&6 |
10717 | echo "${ECHO_T}$rxvt_cv_R" >&6 |
7300 | if test x$rxvt_cv_R != xyes; then |
10718 | if test x$rxvt_cv_R != xyes; then |
7301 | LIBS="$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
10719 | LIBS="$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
7302 | fi |
10720 | fi |
7303 | fi |
10721 | fi |
7304 | |
10722 | |
|
|
10723 | echo "$as_me:$LINENO: checking for XPointer" >&5 |
7305 | echo $ac_n "checking for XPointer""... $ac_c" 1>&6 |
10724 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6 |
7306 | echo "configure:7307: checking for XPointer" >&5 |
|
|
7307 | if eval "test \"`echo '$''{'rxvt_cv_xpointer'+set}'`\" = set"; then |
10725 | if test "${rxvt_cv_xpointer+set}" = set; then |
7308 | echo $ac_n "(cached) $ac_c" 1>&6 |
10726 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7309 | else |
10727 | else |
7310 | cat > conftest.$ac_ext <<EOF |
10728 | cat >conftest.$ac_ext <<_ACEOF |
7311 | #line 7312 "configure" |
10729 | /* confdefs.h. */ |
7312 | #include "confdefs.h" |
10730 | _ACEOF |
|
|
10731 | cat confdefs.h >>conftest.$ac_ext |
|
|
10732 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10733 | /* end confdefs.h. */ |
7313 | #include <X11/Xlib.h> |
10734 | #include <X11/Xlib.h> |
7314 | int main() { |
10735 | int |
|
|
10736 | main () |
|
|
10737 | { |
7315 | XPointer dummy; |
10738 | XPointer dummy; |
|
|
10739 | ; |
7316 | ; return 0; } |
10740 | return 0; |
7317 | EOF |
10741 | } |
7318 | if { (eval echo configure:7319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10742 | _ACEOF |
|
|
10743 | rm -f conftest.$ac_objext |
|
|
10744 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
10745 | (eval $ac_compile) 2>conftest.er1 |
|
|
10746 | ac_status=$? |
|
|
10747 | grep -v '^ *+' conftest.er1 >conftest.err |
7319 | rm -rf conftest* |
10748 | rm -f conftest.er1 |
|
|
10749 | cat conftest.err >&5 |
|
|
10750 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10751 | (exit $ac_status); } && |
|
|
10752 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
10753 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10754 | (eval $ac_try) 2>&5 |
|
|
10755 | ac_status=$? |
|
|
10756 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10757 | (exit $ac_status); }; } && |
|
|
10758 | { ac_try='test -s conftest.$ac_objext' |
|
|
10759 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10760 | (eval $ac_try) 2>&5 |
|
|
10761 | ac_status=$? |
|
|
10762 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10763 | (exit $ac_status); }; }; then |
7320 | rxvt_cv_xpointer=yes |
10764 | rxvt_cv_xpointer=yes |
7321 | else |
10765 | else |
7322 | echo "configure: failed program was:" >&5 |
10766 | echo "$as_me: failed program was:" >&5 |
7323 | cat conftest.$ac_ext >&5 |
10767 | sed 's/^/| /' conftest.$ac_ext >&5 |
7324 | rm -rf conftest* |
10768 | |
7325 | rxvt_cv_xpointer=no |
10769 | rxvt_cv_xpointer=no |
7326 | fi |
10770 | fi |
7327 | rm -f conftest* |
10771 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7328 | fi |
10772 | fi |
7329 | |
10773 | echo "$as_me:$LINENO: result: $rxvt_cv_xpointer" >&5 |
7330 | echo "$ac_t""$rxvt_cv_xpointer" 1>&6 |
10774 | echo "${ECHO_T}$rxvt_cv_xpointer" >&6 |
7331 | if test x$rxvt_cv_xpointer = xyes; then |
10775 | if test x$rxvt_cv_xpointer = xyes; then |
|
|
10776 | |
7332 | cat >> confdefs.h <<\EOF |
10777 | cat >>confdefs.h <<\_ACEOF |
7333 | #define HAVE_XPOINTER 1 |
10778 | #define HAVE_XPOINTER 1 |
7334 | EOF |
10779 | _ACEOF |
7335 | |
10780 | |
7336 | fi |
10781 | fi |
7337 | LIBS=$ac_save_LIBS |
10782 | LIBS=$ac_save_LIBS |
7338 | CFLAGS=$ac_save_CFLAGS |
10783 | CFLAGS=$ac_save_CFLAGS |
7339 | |
10784 | |
7340 | |
10785 | |
7341 | echo $ac_n "checking for working const""... $ac_c" 1>&6 |
10786 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
7342 | echo "configure:7343: checking for working const" >&5 |
10787 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7343 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
10788 | if test "${ac_cv_c_const+set}" = set; then |
7344 | echo $ac_n "(cached) $ac_c" 1>&6 |
10789 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7345 | else |
10790 | else |
7346 | cat > conftest.$ac_ext <<EOF |
10791 | cat >conftest.$ac_ext <<_ACEOF |
7347 | #line 7348 "configure" |
10792 | /* confdefs.h. */ |
7348 | #include "confdefs.h" |
10793 | _ACEOF |
|
|
10794 | cat confdefs.h >>conftest.$ac_ext |
|
|
10795 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10796 | /* end confdefs.h. */ |
7349 | |
10797 | |
7350 | int main() { |
10798 | int |
7351 | |
10799 | main () |
|
|
10800 | { |
|
|
10801 | /* FIXME: Include the comments suggested by Paul. */ |
|
|
10802 | #ifndef __cplusplus |
7352 | /* Ultrix mips cc rejects this. */ |
10803 | /* Ultrix mips cc rejects this. */ |
7353 | typedef int charset[2]; const charset x; |
10804 | typedef int charset[2]; |
|
|
10805 | const charset x; |
7354 | /* SunOS 4.1.1 cc rejects this. */ |
10806 | /* SunOS 4.1.1 cc rejects this. */ |
7355 | char const *const *ccp; |
10807 | char const *const *ccp; |
7356 | char **p; |
10808 | char **p; |
7357 | /* NEC SVR4.0.2 mips cc rejects this. */ |
10809 | /* NEC SVR4.0.2 mips cc rejects this. */ |
7358 | struct point {int x, y;}; |
10810 | struct point {int x, y;}; |
7359 | static struct point const zero = {0,0}; |
10811 | static struct point const zero = {0,0}; |
7360 | /* AIX XL C 1.02.0.0 rejects this. |
10812 | /* AIX XL C 1.02.0.0 rejects this. |
7361 | It does not let you subtract one const X* pointer from another in an arm |
10813 | It does not let you subtract one const X* pointer from another in |
7362 | of an if-expression whose if-part is not a constant expression */ |
10814 | an arm of an if-expression whose if-part is not a constant |
|
|
10815 | expression */ |
7363 | const char *g = "string"; |
10816 | const char *g = "string"; |
7364 | ccp = &g + (g ? g-g : 0); |
10817 | ccp = &g + (g ? g-g : 0); |
7365 | /* HPUX 7.0 cc rejects these. */ |
10818 | /* HPUX 7.0 cc rejects these. */ |
7366 | ++ccp; |
10819 | ++ccp; |
7367 | p = (char**) ccp; |
10820 | p = (char**) ccp; |
7368 | ccp = (char const *const *) p; |
10821 | ccp = (char const *const *) p; |
7369 | { /* SCO 3.2v4 cc rejects this. */ |
10822 | { /* SCO 3.2v4 cc rejects this. */ |
7370 | char *t; |
10823 | char *t; |
7371 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
10824 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
7372 | |
10825 | |
7373 | *t++ = 0; |
10826 | *t++ = 0; |
|
|
10827 | } |
|
|
10828 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
|
|
10829 | int x[] = {25, 17}; |
|
|
10830 | const int *foo = &x[0]; |
|
|
10831 | ++foo; |
|
|
10832 | } |
|
|
10833 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
|
|
10834 | typedef const int *iptr; |
|
|
10835 | iptr p = 0; |
|
|
10836 | ++p; |
|
|
10837 | } |
|
|
10838 | { /* AIX XL C 1.02.0.0 rejects this saying |
|
|
10839 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
|
|
10840 | struct s { int j; const int *ap[3]; }; |
|
|
10841 | struct s *b; b->j = 5; |
|
|
10842 | } |
|
|
10843 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
|
|
10844 | const int foo = 10; |
|
|
10845 | } |
|
|
10846 | #endif |
|
|
10847 | |
|
|
10848 | ; |
|
|
10849 | return 0; |
7374 | } |
10850 | } |
7375 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
10851 | _ACEOF |
7376 | int x[] = {25, 17}; |
10852 | rm -f conftest.$ac_objext |
7377 | const int *foo = &x[0]; |
10853 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7378 | ++foo; |
10854 | (eval $ac_compile) 2>conftest.er1 |
7379 | } |
10855 | ac_status=$? |
7380 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
10856 | grep -v '^ *+' conftest.er1 >conftest.err |
7381 | typedef const int *iptr; |
|
|
7382 | iptr p = 0; |
|
|
7383 | ++p; |
|
|
7384 | } |
|
|
7385 | { /* AIX XL C 1.02.0.0 rejects this saying |
|
|
7386 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
|
|
7387 | struct s { int j; const int *ap[3]; }; |
|
|
7388 | struct s *b; b->j = 5; |
|
|
7389 | } |
|
|
7390 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
|
|
7391 | const int foo = 10; |
|
|
7392 | } |
|
|
7393 | |
|
|
7394 | ; return 0; } |
|
|
7395 | EOF |
|
|
7396 | if { (eval echo configure:7397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
7397 | rm -rf conftest* |
10857 | rm -f conftest.er1 |
|
|
10858 | cat conftest.err >&5 |
|
|
10859 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10860 | (exit $ac_status); } && |
|
|
10861 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
10862 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10863 | (eval $ac_try) 2>&5 |
|
|
10864 | ac_status=$? |
|
|
10865 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10866 | (exit $ac_status); }; } && |
|
|
10867 | { ac_try='test -s conftest.$ac_objext' |
|
|
10868 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10869 | (eval $ac_try) 2>&5 |
|
|
10870 | ac_status=$? |
|
|
10871 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10872 | (exit $ac_status); }; }; then |
7398 | ac_cv_c_const=yes |
10873 | ac_cv_c_const=yes |
7399 | else |
10874 | else |
7400 | echo "configure: failed program was:" >&5 |
10875 | echo "$as_me: failed program was:" >&5 |
7401 | cat conftest.$ac_ext >&5 |
10876 | sed 's/^/| /' conftest.$ac_ext >&5 |
7402 | rm -rf conftest* |
10877 | |
7403 | ac_cv_c_const=no |
10878 | ac_cv_c_const=no |
7404 | fi |
10879 | fi |
7405 | rm -f conftest* |
10880 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7406 | fi |
10881 | fi |
7407 | |
10882 | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
7408 | echo "$ac_t""$ac_cv_c_const" 1>&6 |
10883 | echo "${ECHO_T}$ac_cv_c_const" >&6 |
7409 | if test $ac_cv_c_const = no; then |
10884 | if test $ac_cv_c_const = no; then |
|
|
10885 | |
7410 | cat >> confdefs.h <<\EOF |
10886 | cat >>confdefs.h <<\_ACEOF |
7411 | #define const |
10887 | #define const |
7412 | EOF |
10888 | _ACEOF |
7413 | |
10889 | |
7414 | fi |
10890 | fi |
7415 | |
10891 | |
|
|
10892 | echo "$as_me:$LINENO: checking for inline" >&5 |
7416 | echo $ac_n "checking for inline""... $ac_c" 1>&6 |
10893 | echo $ECHO_N "checking for inline... $ECHO_C" >&6 |
7417 | echo "configure:7418: checking for inline" >&5 |
|
|
7418 | if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then |
10894 | if test "${ac_cv_c_inline+set}" = set; then |
7419 | echo $ac_n "(cached) $ac_c" 1>&6 |
10895 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7420 | else |
10896 | else |
7421 | ac_cv_c_inline=no |
10897 | ac_cv_c_inline=no |
7422 | for ac_kw in inline __inline__ __inline; do |
10898 | for ac_kw in inline __inline__ __inline; do |
7423 | cat > conftest.$ac_ext <<EOF |
10899 | cat >conftest.$ac_ext <<_ACEOF |
7424 | #line 7425 "configure" |
10900 | /* confdefs.h. */ |
7425 | #include "confdefs.h" |
10901 | _ACEOF |
|
|
10902 | cat confdefs.h >>conftest.$ac_ext |
|
|
10903 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10904 | /* end confdefs.h. */ |
|
|
10905 | #ifndef __cplusplus |
|
|
10906 | typedef int foo_t; |
|
|
10907 | static $ac_kw foo_t static_foo () {return 0; } |
|
|
10908 | $ac_kw foo_t foo () {return 0; } |
|
|
10909 | #endif |
7426 | |
10910 | |
7427 | int main() { |
10911 | _ACEOF |
7428 | } $ac_kw foo() { |
10912 | rm -f conftest.$ac_objext |
7429 | ; return 0; } |
10913 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7430 | EOF |
10914 | (eval $ac_compile) 2>conftest.er1 |
7431 | if { (eval echo configure:7432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10915 | ac_status=$? |
|
|
10916 | grep -v '^ *+' conftest.er1 >conftest.err |
7432 | rm -rf conftest* |
10917 | rm -f conftest.er1 |
|
|
10918 | cat conftest.err >&5 |
|
|
10919 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10920 | (exit $ac_status); } && |
|
|
10921 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
10922 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10923 | (eval $ac_try) 2>&5 |
|
|
10924 | ac_status=$? |
|
|
10925 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10926 | (exit $ac_status); }; } && |
|
|
10927 | { ac_try='test -s conftest.$ac_objext' |
|
|
10928 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10929 | (eval $ac_try) 2>&5 |
|
|
10930 | ac_status=$? |
|
|
10931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10932 | (exit $ac_status); }; }; then |
7433 | ac_cv_c_inline=$ac_kw; break |
10933 | ac_cv_c_inline=$ac_kw; break |
7434 | else |
10934 | else |
7435 | echo "configure: failed program was:" >&5 |
10935 | echo "$as_me: failed program was:" >&5 |
|
|
10936 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10937 | |
|
|
10938 | fi |
|
|
10939 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10940 | done |
|
|
10941 | |
|
|
10942 | fi |
|
|
10943 | echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
|
|
10944 | echo "${ECHO_T}$ac_cv_c_inline" >&6 |
|
|
10945 | |
|
|
10946 | |
|
|
10947 | case $ac_cv_c_inline in |
|
|
10948 | inline | yes) ;; |
|
|
10949 | *) |
|
|
10950 | case $ac_cv_c_inline in |
|
|
10951 | no) ac_val=;; |
|
|
10952 | *) ac_val=$ac_cv_c_inline;; |
|
|
10953 | esac |
|
|
10954 | cat >>confdefs.h <<_ACEOF |
|
|
10955 | #ifndef __cplusplus |
|
|
10956 | #define inline $ac_val |
|
|
10957 | #endif |
|
|
10958 | _ACEOF |
|
|
10959 | ;; |
|
|
10960 | esac |
|
|
10961 | |
|
|
10962 | |
|
|
10963 | |
|
|
10964 | echo "$as_me:$LINENO: checking for mode_t" >&5 |
|
|
10965 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 |
|
|
10966 | if test "${ac_cv_type_mode_t+set}" = set; then |
|
|
10967 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10968 | else |
|
|
10969 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10970 | /* confdefs.h. */ |
|
|
10971 | _ACEOF |
|
|
10972 | cat confdefs.h >>conftest.$ac_ext |
|
|
10973 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10974 | /* end confdefs.h. */ |
|
|
10975 | $ac_includes_default |
|
|
10976 | int |
|
|
10977 | main () |
|
|
10978 | { |
|
|
10979 | if ((mode_t *) 0) |
|
|
10980 | return 0; |
|
|
10981 | if (sizeof (mode_t)) |
|
|
10982 | return 0; |
|
|
10983 | ; |
|
|
10984 | return 0; |
|
|
10985 | } |
|
|
10986 | _ACEOF |
|
|
10987 | rm -f conftest.$ac_objext |
|
|
10988 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
10989 | (eval $ac_compile) 2>conftest.er1 |
|
|
10990 | ac_status=$? |
|
|
10991 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10992 | rm -f conftest.er1 |
7436 | cat conftest.$ac_ext >&5 |
10993 | cat conftest.err >&5 |
|
|
10994 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10995 | (exit $ac_status); } && |
|
|
10996 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
10997 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10998 | (eval $ac_try) 2>&5 |
|
|
10999 | ac_status=$? |
|
|
11000 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11001 | (exit $ac_status); }; } && |
|
|
11002 | { ac_try='test -s conftest.$ac_objext' |
|
|
11003 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11004 | (eval $ac_try) 2>&5 |
|
|
11005 | ac_status=$? |
|
|
11006 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11007 | (exit $ac_status); }; }; then |
|
|
11008 | ac_cv_type_mode_t=yes |
|
|
11009 | else |
|
|
11010 | echo "$as_me: failed program was:" >&5 |
|
|
11011 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11012 | |
|
|
11013 | ac_cv_type_mode_t=no |
|
|
11014 | fi |
|
|
11015 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11016 | fi |
|
|
11017 | echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5 |
|
|
11018 | echo "${ECHO_T}$ac_cv_type_mode_t" >&6 |
|
|
11019 | if test $ac_cv_type_mode_t = yes; then |
|
|
11020 | : |
|
|
11021 | else |
|
|
11022 | |
|
|
11023 | cat >>confdefs.h <<_ACEOF |
|
|
11024 | #define mode_t int |
|
|
11025 | _ACEOF |
|
|
11026 | |
|
|
11027 | fi |
|
|
11028 | |
|
|
11029 | echo "$as_me:$LINENO: checking for pid_t" >&5 |
|
|
11030 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 |
|
|
11031 | if test "${ac_cv_type_pid_t+set}" = set; then |
|
|
11032 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11033 | else |
|
|
11034 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11035 | /* confdefs.h. */ |
|
|
11036 | _ACEOF |
|
|
11037 | cat confdefs.h >>conftest.$ac_ext |
|
|
11038 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11039 | /* end confdefs.h. */ |
|
|
11040 | $ac_includes_default |
|
|
11041 | int |
|
|
11042 | main () |
|
|
11043 | { |
|
|
11044 | if ((pid_t *) 0) |
|
|
11045 | return 0; |
|
|
11046 | if (sizeof (pid_t)) |
|
|
11047 | return 0; |
|
|
11048 | ; |
|
|
11049 | return 0; |
|
|
11050 | } |
|
|
11051 | _ACEOF |
|
|
11052 | rm -f conftest.$ac_objext |
|
|
11053 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11054 | (eval $ac_compile) 2>conftest.er1 |
|
|
11055 | ac_status=$? |
|
|
11056 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11057 | rm -f conftest.er1 |
|
|
11058 | cat conftest.err >&5 |
|
|
11059 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11060 | (exit $ac_status); } && |
|
|
11061 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
11062 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11063 | (eval $ac_try) 2>&5 |
|
|
11064 | ac_status=$? |
|
|
11065 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11066 | (exit $ac_status); }; } && |
|
|
11067 | { ac_try='test -s conftest.$ac_objext' |
|
|
11068 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11069 | (eval $ac_try) 2>&5 |
|
|
11070 | ac_status=$? |
|
|
11071 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11072 | (exit $ac_status); }; }; then |
|
|
11073 | ac_cv_type_pid_t=yes |
|
|
11074 | else |
|
|
11075 | echo "$as_me: failed program was:" >&5 |
|
|
11076 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11077 | |
|
|
11078 | ac_cv_type_pid_t=no |
|
|
11079 | fi |
|
|
11080 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11081 | fi |
|
|
11082 | echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 |
|
|
11083 | echo "${ECHO_T}$ac_cv_type_pid_t" >&6 |
|
|
11084 | if test $ac_cv_type_pid_t = yes; then |
|
|
11085 | : |
|
|
11086 | else |
|
|
11087 | |
|
|
11088 | cat >>confdefs.h <<_ACEOF |
|
|
11089 | #define pid_t int |
|
|
11090 | _ACEOF |
|
|
11091 | |
|
|
11092 | fi |
|
|
11093 | |
|
|
11094 | echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5 |
|
|
11095 | echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6 |
|
|
11096 | if test "${ac_cv_type_uid_t+set}" = set; then |
|
|
11097 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11098 | else |
|
|
11099 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11100 | /* confdefs.h. */ |
|
|
11101 | _ACEOF |
|
|
11102 | cat confdefs.h >>conftest.$ac_ext |
|
|
11103 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11104 | /* end confdefs.h. */ |
|
|
11105 | #include <sys/types.h> |
|
|
11106 | |
|
|
11107 | _ACEOF |
|
|
11108 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
11109 | $EGREP "uid_t" >/dev/null 2>&1; then |
|
|
11110 | ac_cv_type_uid_t=yes |
|
|
11111 | else |
|
|
11112 | ac_cv_type_uid_t=no |
7437 | fi |
11113 | fi |
7438 | rm -f conftest* |
11114 | rm -f conftest* |
|
|
11115 | |
|
|
11116 | fi |
|
|
11117 | echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5 |
|
|
11118 | echo "${ECHO_T}$ac_cv_type_uid_t" >&6 |
|
|
11119 | if test $ac_cv_type_uid_t = no; then |
|
|
11120 | |
|
|
11121 | cat >>confdefs.h <<\_ACEOF |
|
|
11122 | #define uid_t int |
|
|
11123 | _ACEOF |
|
|
11124 | |
|
|
11125 | |
|
|
11126 | cat >>confdefs.h <<\_ACEOF |
|
|
11127 | #define gid_t int |
|
|
11128 | _ACEOF |
|
|
11129 | |
|
|
11130 | fi |
|
|
11131 | |
|
|
11132 | |
|
|
11133 | |
|
|
11134 | echo "$as_me:$LINENO: checking for char" >&5 |
|
|
11135 | echo $ECHO_N "checking for char... $ECHO_C" >&6 |
|
|
11136 | if test "${ac_cv_type_char+set}" = set; then |
|
|
11137 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11138 | else |
|
|
11139 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11140 | /* confdefs.h. */ |
|
|
11141 | _ACEOF |
|
|
11142 | cat confdefs.h >>conftest.$ac_ext |
|
|
11143 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11144 | /* end confdefs.h. */ |
|
|
11145 | $ac_includes_default |
|
|
11146 | int |
|
|
11147 | main () |
|
|
11148 | { |
|
|
11149 | if ((char *) 0) |
|
|
11150 | return 0; |
|
|
11151 | if (sizeof (char)) |
|
|
11152 | return 0; |
|
|
11153 | ; |
|
|
11154 | return 0; |
|
|
11155 | } |
|
|
11156 | _ACEOF |
|
|
11157 | rm -f conftest.$ac_objext |
|
|
11158 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11159 | (eval $ac_compile) 2>conftest.er1 |
|
|
11160 | ac_status=$? |
|
|
11161 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11162 | rm -f conftest.er1 |
|
|
11163 | cat conftest.err >&5 |
|
|
11164 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11165 | (exit $ac_status); } && |
|
|
11166 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
11167 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11168 | (eval $ac_try) 2>&5 |
|
|
11169 | ac_status=$? |
|
|
11170 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11171 | (exit $ac_status); }; } && |
|
|
11172 | { ac_try='test -s conftest.$ac_objext' |
|
|
11173 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11174 | (eval $ac_try) 2>&5 |
|
|
11175 | ac_status=$? |
|
|
11176 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11177 | (exit $ac_status); }; }; then |
|
|
11178 | ac_cv_type_char=yes |
|
|
11179 | else |
|
|
11180 | echo "$as_me: failed program was:" >&5 |
|
|
11181 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11182 | |
|
|
11183 | ac_cv_type_char=no |
|
|
11184 | fi |
|
|
11185 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11186 | fi |
|
|
11187 | echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 |
|
|
11188 | echo "${ECHO_T}$ac_cv_type_char" >&6 |
|
|
11189 | |
|
|
11190 | echo "$as_me:$LINENO: checking size of char" >&5 |
|
|
11191 | echo $ECHO_N "checking size of char... $ECHO_C" >&6 |
|
|
11192 | if test "${ac_cv_sizeof_char+set}" = set; then |
|
|
11193 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11194 | else |
|
|
11195 | if test "$ac_cv_type_char" = yes; then |
|
|
11196 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
11197 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
11198 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
11199 | # This bug is HP SR number 8606223364. |
|
|
11200 | if test "$cross_compiling" = yes; then |
|
|
11201 | # Depending upon the size, compute the lo and hi bounds. |
|
|
11202 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11203 | /* confdefs.h. */ |
|
|
11204 | _ACEOF |
|
|
11205 | cat confdefs.h >>conftest.$ac_ext |
|
|
11206 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11207 | /* end confdefs.h. */ |
|
|
11208 | $ac_includes_default |
|
|
11209 | int |
|
|
11210 | main () |
|
|
11211 | { |
|
|
11212 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)]; |
|
|
11213 | test_array [0] = 0 |
|
|
11214 | |
|
|
11215 | ; |
|
|
11216 | return 0; |
|
|
11217 | } |
|
|
11218 | _ACEOF |
|
|
11219 | rm -f conftest.$ac_objext |
|
|
11220 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11221 | (eval $ac_compile) 2>conftest.er1 |
|
|
11222 | ac_status=$? |
|
|
11223 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11224 | rm -f conftest.er1 |
|
|
11225 | cat conftest.err >&5 |
|
|
11226 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11227 | (exit $ac_status); } && |
|
|
11228 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
11229 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11230 | (eval $ac_try) 2>&5 |
|
|
11231 | ac_status=$? |
|
|
11232 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11233 | (exit $ac_status); }; } && |
|
|
11234 | { ac_try='test -s conftest.$ac_objext' |
|
|
11235 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11236 | (eval $ac_try) 2>&5 |
|
|
11237 | ac_status=$? |
|
|
11238 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11239 | (exit $ac_status); }; }; then |
|
|
11240 | ac_lo=0 ac_mid=0 |
|
|
11241 | while :; do |
|
|
11242 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11243 | /* confdefs.h. */ |
|
|
11244 | _ACEOF |
|
|
11245 | cat confdefs.h >>conftest.$ac_ext |
|
|
11246 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11247 | /* end confdefs.h. */ |
|
|
11248 | $ac_includes_default |
|
|
11249 | int |
|
|
11250 | main () |
|
|
11251 | { |
|
|
11252 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
|
|
11253 | test_array [0] = 0 |
|
|
11254 | |
|
|
11255 | ; |
|
|
11256 | return 0; |
|
|
11257 | } |
|
|
11258 | _ACEOF |
|
|
11259 | rm -f conftest.$ac_objext |
|
|
11260 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11261 | (eval $ac_compile) 2>conftest.er1 |
|
|
11262 | ac_status=$? |
|
|
11263 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11264 | rm -f conftest.er1 |
|
|
11265 | cat conftest.err >&5 |
|
|
11266 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11267 | (exit $ac_status); } && |
|
|
11268 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
11269 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11270 | (eval $ac_try) 2>&5 |
|
|
11271 | ac_status=$? |
|
|
11272 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11273 | (exit $ac_status); }; } && |
|
|
11274 | { ac_try='test -s conftest.$ac_objext' |
|
|
11275 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11276 | (eval $ac_try) 2>&5 |
|
|
11277 | ac_status=$? |
|
|
11278 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11279 | (exit $ac_status); }; }; then |
|
|
11280 | ac_hi=$ac_mid; break |
|
|
11281 | else |
|
|
11282 | echo "$as_me: failed program was:" >&5 |
|
|
11283 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11284 | |
|
|
11285 | ac_lo=`expr $ac_mid + 1` |
|
|
11286 | if test $ac_lo -le $ac_mid; then |
|
|
11287 | ac_lo= ac_hi= |
|
|
11288 | break |
|
|
11289 | fi |
|
|
11290 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
11291 | fi |
|
|
11292 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11293 | done |
|
|
11294 | else |
|
|
11295 | echo "$as_me: failed program was:" >&5 |
|
|
11296 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11297 | |
|
|
11298 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11299 | /* confdefs.h. */ |
|
|
11300 | _ACEOF |
|
|
11301 | cat confdefs.h >>conftest.$ac_ext |
|
|
11302 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11303 | /* end confdefs.h. */ |
|
|
11304 | $ac_includes_default |
|
|
11305 | int |
|
|
11306 | main () |
|
|
11307 | { |
|
|
11308 | static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)]; |
|
|
11309 | test_array [0] = 0 |
|
|
11310 | |
|
|
11311 | ; |
|
|
11312 | return 0; |
|
|
11313 | } |
|
|
11314 | _ACEOF |
|
|
11315 | rm -f conftest.$ac_objext |
|
|
11316 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11317 | (eval $ac_compile) 2>conftest.er1 |
|
|
11318 | ac_status=$? |
|
|
11319 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11320 | rm -f conftest.er1 |
|
|
11321 | cat conftest.err >&5 |
|
|
11322 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11323 | (exit $ac_status); } && |
|
|
11324 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
11325 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11326 | (eval $ac_try) 2>&5 |
|
|
11327 | ac_status=$? |
|
|
11328 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11329 | (exit $ac_status); }; } && |
|
|
11330 | { ac_try='test -s conftest.$ac_objext' |
|
|
11331 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11332 | (eval $ac_try) 2>&5 |
|
|
11333 | ac_status=$? |
|
|
11334 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11335 | (exit $ac_status); }; }; then |
|
|
11336 | ac_hi=-1 ac_mid=-1 |
|
|
11337 | while :; do |
|
|
11338 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11339 | /* confdefs.h. */ |
|
|
11340 | _ACEOF |
|
|
11341 | cat confdefs.h >>conftest.$ac_ext |
|
|
11342 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11343 | /* end confdefs.h. */ |
|
|
11344 | $ac_includes_default |
|
|
11345 | int |
|
|
11346 | main () |
|
|
11347 | { |
|
|
11348 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)]; |
|
|
11349 | test_array [0] = 0 |
|
|
11350 | |
|
|
11351 | ; |
|
|
11352 | return 0; |
|
|
11353 | } |
|
|
11354 | _ACEOF |
|
|
11355 | rm -f conftest.$ac_objext |
|
|
11356 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11357 | (eval $ac_compile) 2>conftest.er1 |
|
|
11358 | ac_status=$? |
|
|
11359 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11360 | rm -f conftest.er1 |
|
|
11361 | cat conftest.err >&5 |
|
|
11362 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11363 | (exit $ac_status); } && |
|
|
11364 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
11365 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11366 | (eval $ac_try) 2>&5 |
|
|
11367 | ac_status=$? |
|
|
11368 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11369 | (exit $ac_status); }; } && |
|
|
11370 | { ac_try='test -s conftest.$ac_objext' |
|
|
11371 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11372 | (eval $ac_try) 2>&5 |
|
|
11373 | ac_status=$? |
|
|
11374 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11375 | (exit $ac_status); }; }; then |
|
|
11376 | ac_lo=$ac_mid; break |
|
|
11377 | else |
|
|
11378 | echo "$as_me: failed program was:" >&5 |
|
|
11379 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11380 | |
|
|
11381 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
11382 | if test $ac_mid -le $ac_hi; then |
|
|
11383 | ac_lo= ac_hi= |
|
|
11384 | break |
|
|
11385 | fi |
|
|
11386 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
11387 | fi |
|
|
11388 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11389 | done |
|
|
11390 | else |
|
|
11391 | echo "$as_me: failed program was:" >&5 |
|
|
11392 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11393 | |
|
|
11394 | ac_lo= ac_hi= |
|
|
11395 | fi |
|
|
11396 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11397 | fi |
|
|
11398 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11399 | # Binary search between lo and hi bounds. |
|
|
11400 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
11401 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
11402 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11403 | /* confdefs.h. */ |
|
|
11404 | _ACEOF |
|
|
11405 | cat confdefs.h >>conftest.$ac_ext |
|
|
11406 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11407 | /* end confdefs.h. */ |
|
|
11408 | $ac_includes_default |
|
|
11409 | int |
|
|
11410 | main () |
|
|
11411 | { |
|
|
11412 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
|
|
11413 | test_array [0] = 0 |
|
|
11414 | |
|
|
11415 | ; |
|
|
11416 | return 0; |
|
|
11417 | } |
|
|
11418 | _ACEOF |
|
|
11419 | rm -f conftest.$ac_objext |
|
|
11420 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11421 | (eval $ac_compile) 2>conftest.er1 |
|
|
11422 | ac_status=$? |
|
|
11423 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11424 | rm -f conftest.er1 |
|
|
11425 | cat conftest.err >&5 |
|
|
11426 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11427 | (exit $ac_status); } && |
|
|
11428 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
11429 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11430 | (eval $ac_try) 2>&5 |
|
|
11431 | ac_status=$? |
|
|
11432 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11433 | (exit $ac_status); }; } && |
|
|
11434 | { ac_try='test -s conftest.$ac_objext' |
|
|
11435 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11436 | (eval $ac_try) 2>&5 |
|
|
11437 | ac_status=$? |
|
|
11438 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11439 | (exit $ac_status); }; }; then |
|
|
11440 | ac_hi=$ac_mid |
|
|
11441 | else |
|
|
11442 | echo "$as_me: failed program was:" >&5 |
|
|
11443 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11444 | |
|
|
11445 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
11446 | fi |
|
|
11447 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7439 | done |
11448 | done |
7440 | |
11449 | case $ac_lo in |
7441 | fi |
11450 | ?*) ac_cv_sizeof_char=$ac_lo;; |
7442 | |
11451 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
7443 | echo "$ac_t""$ac_cv_c_inline" 1>&6 |
11452 | See \`config.log' for more details." >&5 |
7444 | case "$ac_cv_c_inline" in |
11453 | echo "$as_me: error: cannot compute sizeof (char), 77 |
7445 | inline | yes) ;; |
11454 | See \`config.log' for more details." >&2;} |
7446 | no) cat >> confdefs.h <<\EOF |
11455 | { (exit 1); exit 1; }; } ;; |
7447 | #define inline |
|
|
7448 | EOF |
|
|
7449 | ;; |
|
|
7450 | *) cat >> confdefs.h <<EOF |
|
|
7451 | #define inline $ac_cv_c_inline |
|
|
7452 | EOF |
|
|
7453 | ;; |
|
|
7454 | esac |
11456 | esac |
7455 | |
|
|
7456 | |
|
|
7457 | |
|
|
7458 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
|
|
7459 | echo "configure:7460: checking for ANSI C header files" >&5 |
|
|
7460 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
|
|
7461 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
7462 | else |
11457 | else |
|
|
11458 | if test "$cross_compiling" = yes; then |
|
|
11459 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
|
|
11460 | See \`config.log' for more details." >&5 |
|
|
11461 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
11462 | See \`config.log' for more details." >&2;} |
|
|
11463 | { (exit 1); exit 1; }; } |
|
|
11464 | else |
7463 | cat > conftest.$ac_ext <<EOF |
11465 | cat >conftest.$ac_ext <<_ACEOF |
7464 | #line 7465 "configure" |
11466 | /* confdefs.h. */ |
7465 | #include "confdefs.h" |
11467 | _ACEOF |
|
|
11468 | cat confdefs.h >>conftest.$ac_ext |
|
|
11469 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11470 | /* end confdefs.h. */ |
|
|
11471 | $ac_includes_default |
|
|
11472 | long longval () { return (long) (sizeof (char)); } |
|
|
11473 | unsigned long ulongval () { return (long) (sizeof (char)); } |
|
|
11474 | #include <stdio.h> |
7466 | #include <stdlib.h> |
11475 | #include <stdlib.h> |
7467 | #include <stdarg.h> |
11476 | int |
7468 | #include <string.h> |
11477 | main () |
7469 | #include <float.h> |
11478 | { |
7470 | EOF |
11479 | |
7471 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11480 | FILE *f = fopen ("conftest.val", "w"); |
7472 | { (eval echo configure:7473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11481 | if (! f) |
7473 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11482 | exit (1); |
7474 | if test -z "$ac_err"; then |
11483 | if (((long) (sizeof (char))) < 0) |
7475 | rm -rf conftest* |
11484 | { |
7476 | ac_cv_header_stdc=yes |
11485 | long i = longval (); |
|
|
11486 | if (i != ((long) (sizeof (char)))) |
|
|
11487 | exit (1); |
|
|
11488 | fprintf (f, "%ld\n", i); |
|
|
11489 | } |
7477 | else |
11490 | else |
7478 | echo "$ac_err" >&5 |
11491 | { |
|
|
11492 | unsigned long i = ulongval (); |
|
|
11493 | if (i != ((long) (sizeof (char)))) |
|
|
11494 | exit (1); |
|
|
11495 | fprintf (f, "%lu\n", i); |
|
|
11496 | } |
|
|
11497 | exit (ferror (f) || fclose (f) != 0); |
|
|
11498 | |
|
|
11499 | ; |
|
|
11500 | return 0; |
|
|
11501 | } |
|
|
11502 | _ACEOF |
|
|
11503 | rm -f conftest$ac_exeext |
|
|
11504 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11505 | (eval $ac_link) 2>&5 |
|
|
11506 | ac_status=$? |
|
|
11507 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11508 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
11509 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11510 | (eval $ac_try) 2>&5 |
|
|
11511 | ac_status=$? |
|
|
11512 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11513 | (exit $ac_status); }; }; then |
|
|
11514 | ac_cv_sizeof_char=`cat conftest.val` |
|
|
11515 | else |
|
|
11516 | echo "$as_me: program exited with status $ac_status" >&5 |
7479 | echo "configure: failed program was:" >&5 |
11517 | echo "$as_me: failed program was:" >&5 |
7480 | cat conftest.$ac_ext >&5 |
11518 | sed 's/^/| /' conftest.$ac_ext >&5 |
7481 | rm -rf conftest* |
11519 | |
7482 | ac_cv_header_stdc=no |
11520 | ( exit $ac_status ) |
|
|
11521 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
|
|
11522 | See \`config.log' for more details." >&5 |
|
|
11523 | echo "$as_me: error: cannot compute sizeof (char), 77 |
|
|
11524 | See \`config.log' for more details." >&2;} |
|
|
11525 | { (exit 1); exit 1; }; } |
7483 | fi |
11526 | fi |
|
|
11527 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
11528 | fi |
|
|
11529 | fi |
7484 | rm -f conftest* |
11530 | rm -f conftest.val |
|
|
11531 | else |
|
|
11532 | ac_cv_sizeof_char=0 |
|
|
11533 | fi |
|
|
11534 | fi |
|
|
11535 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 |
|
|
11536 | echo "${ECHO_T}$ac_cv_sizeof_char" >&6 |
|
|
11537 | cat >>confdefs.h <<_ACEOF |
|
|
11538 | #define SIZEOF_CHAR $ac_cv_sizeof_char |
|
|
11539 | _ACEOF |
7485 | |
11540 | |
|
|
11541 | |
|
|
11542 | echo "$as_me:$LINENO: checking for short" >&5 |
|
|
11543 | echo $ECHO_N "checking for short... $ECHO_C" >&6 |
|
|
11544 | if test "${ac_cv_type_short+set}" = set; then |
|
|
11545 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11546 | else |
|
|
11547 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11548 | /* confdefs.h. */ |
|
|
11549 | _ACEOF |
|
|
11550 | cat confdefs.h >>conftest.$ac_ext |
|
|
11551 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11552 | /* end confdefs.h. */ |
|
|
11553 | $ac_includes_default |
|
|
11554 | int |
|
|
11555 | main () |
|
|
11556 | { |
|
|
11557 | if ((short *) 0) |
|
|
11558 | return 0; |
|
|
11559 | if (sizeof (short)) |
|
|
11560 | return 0; |
|
|
11561 | ; |
|
|
11562 | return 0; |
|
|
11563 | } |
|
|
11564 | _ACEOF |
|
|
11565 | rm -f conftest.$ac_objext |
|
|
11566 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11567 | (eval $ac_compile) 2>conftest.er1 |
|
|
11568 | ac_status=$? |
|
|
11569 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11570 | rm -f conftest.er1 |
|
|
11571 | cat conftest.err >&5 |
|
|
11572 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11573 | (exit $ac_status); } && |
|
|
11574 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
11575 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11576 | (eval $ac_try) 2>&5 |
|
|
11577 | ac_status=$? |
|
|
11578 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11579 | (exit $ac_status); }; } && |
|
|
11580 | { ac_try='test -s conftest.$ac_objext' |
|
|
11581 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11582 | (eval $ac_try) 2>&5 |
|
|
11583 | ac_status=$? |
|
|
11584 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11585 | (exit $ac_status); }; }; then |
|
|
11586 | ac_cv_type_short=yes |
|
|
11587 | else |
|
|
11588 | echo "$as_me: failed program was:" >&5 |
|
|
11589 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11590 | |
|
|
11591 | ac_cv_type_short=no |
|
|
11592 | fi |
|
|
11593 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11594 | fi |
|
|
11595 | echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5 |
|
|
11596 | echo "${ECHO_T}$ac_cv_type_short" >&6 |
|
|
11597 | |
|
|
11598 | echo "$as_me:$LINENO: checking size of short" >&5 |
|
|
11599 | echo $ECHO_N "checking size of short... $ECHO_C" >&6 |
|
|
11600 | if test "${ac_cv_sizeof_short+set}" = set; then |
|
|
11601 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11602 | else |
7486 | if test $ac_cv_header_stdc = yes; then |
11603 | if test "$ac_cv_type_short" = yes; then |
7487 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
11604 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
11605 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
11606 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
11607 | # This bug is HP SR number 8606223364. |
|
|
11608 | if test "$cross_compiling" = yes; then |
|
|
11609 | # Depending upon the size, compute the lo and hi bounds. |
7488 | cat > conftest.$ac_ext <<EOF |
11610 | cat >conftest.$ac_ext <<_ACEOF |
7489 | #line 7490 "configure" |
11611 | /* confdefs.h. */ |
7490 | #include "confdefs.h" |
11612 | _ACEOF |
7491 | #include <string.h> |
11613 | cat confdefs.h >>conftest.$ac_ext |
7492 | EOF |
11614 | cat >>conftest.$ac_ext <<_ACEOF |
7493 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
11615 | /* end confdefs.h. */ |
7494 | egrep "memchr" >/dev/null 2>&1; then |
11616 | $ac_includes_default |
7495 | : |
11617 | int |
7496 | else |
11618 | main () |
|
|
11619 | { |
|
|
11620 | static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)]; |
|
|
11621 | test_array [0] = 0 |
|
|
11622 | |
|
|
11623 | ; |
|
|
11624 | return 0; |
|
|
11625 | } |
|
|
11626 | _ACEOF |
|
|
11627 | rm -f conftest.$ac_objext |
|
|
11628 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11629 | (eval $ac_compile) 2>conftest.er1 |
|
|
11630 | ac_status=$? |
|
|
11631 | grep -v '^ *+' conftest.er1 >conftest.err |
7497 | rm -rf conftest* |
11632 | rm -f conftest.er1 |
7498 | ac_cv_header_stdc=no |
11633 | cat conftest.err >&5 |
7499 | fi |
11634 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11635 | (exit $ac_status); } && |
|
|
11636 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
11637 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11638 | (eval $ac_try) 2>&5 |
|
|
11639 | ac_status=$? |
|
|
11640 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11641 | (exit $ac_status); }; } && |
|
|
11642 | { ac_try='test -s conftest.$ac_objext' |
|
|
11643 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11644 | (eval $ac_try) 2>&5 |
|
|
11645 | ac_status=$? |
|
|
11646 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11647 | (exit $ac_status); }; }; then |
|
|
11648 | ac_lo=0 ac_mid=0 |
|
|
11649 | while :; do |
|
|
11650 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11651 | /* confdefs.h. */ |
|
|
11652 | _ACEOF |
|
|
11653 | cat confdefs.h >>conftest.$ac_ext |
|
|
11654 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11655 | /* end confdefs.h. */ |
|
|
11656 | $ac_includes_default |
|
|
11657 | int |
|
|
11658 | main () |
|
|
11659 | { |
|
|
11660 | static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)]; |
|
|
11661 | test_array [0] = 0 |
|
|
11662 | |
|
|
11663 | ; |
|
|
11664 | return 0; |
|
|
11665 | } |
|
|
11666 | _ACEOF |
|
|
11667 | rm -f conftest.$ac_objext |
|
|
11668 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11669 | (eval $ac_compile) 2>conftest.er1 |
|
|
11670 | ac_status=$? |
|
|
11671 | grep -v '^ *+' conftest.er1 >conftest.err |
7500 | rm -f conftest* |
11672 | rm -f conftest.er1 |
|
|
11673 | cat conftest.err >&5 |
|
|
11674 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11675 | (exit $ac_status); } && |
|
|
11676 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
11677 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11678 | (eval $ac_try) 2>&5 |
|
|
11679 | ac_status=$? |
|
|
11680 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11681 | (exit $ac_status); }; } && |
|
|
11682 | { ac_try='test -s conftest.$ac_objext' |
|
|
11683 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11684 | (eval $ac_try) 2>&5 |
|
|
11685 | ac_status=$? |
|
|
11686 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11687 | (exit $ac_status); }; }; then |
|
|
11688 | ac_hi=$ac_mid; break |
|
|
11689 | else |
|
|
11690 | echo "$as_me: failed program was:" >&5 |
|
|
11691 | sed 's/^/| /' conftest.$ac_ext >&5 |
7501 | |
11692 | |
|
|
11693 | ac_lo=`expr $ac_mid + 1` |
|
|
11694 | if test $ac_lo -le $ac_mid; then |
|
|
11695 | ac_lo= ac_hi= |
|
|
11696 | break |
|
|
11697 | fi |
|
|
11698 | ac_mid=`expr 2 '*' $ac_mid + 1` |
7502 | fi |
11699 | fi |
|
|
11700 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11701 | done |
|
|
11702 | else |
|
|
11703 | echo "$as_me: failed program was:" >&5 |
|
|
11704 | sed 's/^/| /' conftest.$ac_ext >&5 |
7503 | |
11705 | |
7504 | if test $ac_cv_header_stdc = yes; then |
|
|
7505 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
7506 | cat > conftest.$ac_ext <<EOF |
11706 | cat >conftest.$ac_ext <<_ACEOF |
7507 | #line 7508 "configure" |
11707 | /* confdefs.h. */ |
7508 | #include "confdefs.h" |
11708 | _ACEOF |
|
|
11709 | cat confdefs.h >>conftest.$ac_ext |
|
|
11710 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11711 | /* end confdefs.h. */ |
|
|
11712 | $ac_includes_default |
|
|
11713 | int |
|
|
11714 | main () |
|
|
11715 | { |
|
|
11716 | static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)]; |
|
|
11717 | test_array [0] = 0 |
|
|
11718 | |
|
|
11719 | ; |
|
|
11720 | return 0; |
|
|
11721 | } |
|
|
11722 | _ACEOF |
|
|
11723 | rm -f conftest.$ac_objext |
|
|
11724 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11725 | (eval $ac_compile) 2>conftest.er1 |
|
|
11726 | ac_status=$? |
|
|
11727 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11728 | rm -f conftest.er1 |
|
|
11729 | cat conftest.err >&5 |
|
|
11730 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11731 | (exit $ac_status); } && |
|
|
11732 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
11733 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11734 | (eval $ac_try) 2>&5 |
|
|
11735 | ac_status=$? |
|
|
11736 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11737 | (exit $ac_status); }; } && |
|
|
11738 | { ac_try='test -s conftest.$ac_objext' |
|
|
11739 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11740 | (eval $ac_try) 2>&5 |
|
|
11741 | ac_status=$? |
|
|
11742 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11743 | (exit $ac_status); }; }; then |
|
|
11744 | ac_hi=-1 ac_mid=-1 |
|
|
11745 | while :; do |
|
|
11746 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11747 | /* confdefs.h. */ |
|
|
11748 | _ACEOF |
|
|
11749 | cat confdefs.h >>conftest.$ac_ext |
|
|
11750 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11751 | /* end confdefs.h. */ |
|
|
11752 | $ac_includes_default |
|
|
11753 | int |
|
|
11754 | main () |
|
|
11755 | { |
|
|
11756 | static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)]; |
|
|
11757 | test_array [0] = 0 |
|
|
11758 | |
|
|
11759 | ; |
|
|
11760 | return 0; |
|
|
11761 | } |
|
|
11762 | _ACEOF |
|
|
11763 | rm -f conftest.$ac_objext |
|
|
11764 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11765 | (eval $ac_compile) 2>conftest.er1 |
|
|
11766 | ac_status=$? |
|
|
11767 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11768 | rm -f conftest.er1 |
|
|
11769 | cat conftest.err >&5 |
|
|
11770 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11771 | (exit $ac_status); } && |
|
|
11772 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
11773 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11774 | (eval $ac_try) 2>&5 |
|
|
11775 | ac_status=$? |
|
|
11776 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11777 | (exit $ac_status); }; } && |
|
|
11778 | { ac_try='test -s conftest.$ac_objext' |
|
|
11779 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11780 | (eval $ac_try) 2>&5 |
|
|
11781 | ac_status=$? |
|
|
11782 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11783 | (exit $ac_status); }; }; then |
|
|
11784 | ac_lo=$ac_mid; break |
|
|
11785 | else |
|
|
11786 | echo "$as_me: failed program was:" >&5 |
|
|
11787 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11788 | |
|
|
11789 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
11790 | if test $ac_mid -le $ac_hi; then |
|
|
11791 | ac_lo= ac_hi= |
|
|
11792 | break |
|
|
11793 | fi |
|
|
11794 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
11795 | fi |
|
|
11796 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11797 | done |
|
|
11798 | else |
|
|
11799 | echo "$as_me: failed program was:" >&5 |
|
|
11800 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11801 | |
|
|
11802 | ac_lo= ac_hi= |
|
|
11803 | fi |
|
|
11804 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11805 | fi |
|
|
11806 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11807 | # Binary search between lo and hi bounds. |
|
|
11808 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
11809 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
11810 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11811 | /* confdefs.h. */ |
|
|
11812 | _ACEOF |
|
|
11813 | cat confdefs.h >>conftest.$ac_ext |
|
|
11814 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11815 | /* end confdefs.h. */ |
|
|
11816 | $ac_includes_default |
|
|
11817 | int |
|
|
11818 | main () |
|
|
11819 | { |
|
|
11820 | static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)]; |
|
|
11821 | test_array [0] = 0 |
|
|
11822 | |
|
|
11823 | ; |
|
|
11824 | return 0; |
|
|
11825 | } |
|
|
11826 | _ACEOF |
|
|
11827 | rm -f conftest.$ac_objext |
|
|
11828 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11829 | (eval $ac_compile) 2>conftest.er1 |
|
|
11830 | ac_status=$? |
|
|
11831 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11832 | rm -f conftest.er1 |
|
|
11833 | cat conftest.err >&5 |
|
|
11834 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11835 | (exit $ac_status); } && |
|
|
11836 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
11837 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11838 | (eval $ac_try) 2>&5 |
|
|
11839 | ac_status=$? |
|
|
11840 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11841 | (exit $ac_status); }; } && |
|
|
11842 | { ac_try='test -s conftest.$ac_objext' |
|
|
11843 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11844 | (eval $ac_try) 2>&5 |
|
|
11845 | ac_status=$? |
|
|
11846 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11847 | (exit $ac_status); }; }; then |
|
|
11848 | ac_hi=$ac_mid |
|
|
11849 | else |
|
|
11850 | echo "$as_me: failed program was:" >&5 |
|
|
11851 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11852 | |
|
|
11853 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
11854 | fi |
|
|
11855 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11856 | done |
|
|
11857 | case $ac_lo in |
|
|
11858 | ?*) ac_cv_sizeof_short=$ac_lo;; |
|
|
11859 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77 |
|
|
11860 | See \`config.log' for more details." >&5 |
|
|
11861 | echo "$as_me: error: cannot compute sizeof (short), 77 |
|
|
11862 | See \`config.log' for more details." >&2;} |
|
|
11863 | { (exit 1); exit 1; }; } ;; |
|
|
11864 | esac |
|
|
11865 | else |
|
|
11866 | if test "$cross_compiling" = yes; then |
|
|
11867 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
|
|
11868 | See \`config.log' for more details." >&5 |
|
|
11869 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
11870 | See \`config.log' for more details." >&2;} |
|
|
11871 | { (exit 1); exit 1; }; } |
|
|
11872 | else |
|
|
11873 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11874 | /* confdefs.h. */ |
|
|
11875 | _ACEOF |
|
|
11876 | cat confdefs.h >>conftest.$ac_ext |
|
|
11877 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11878 | /* end confdefs.h. */ |
|
|
11879 | $ac_includes_default |
|
|
11880 | long longval () { return (long) (sizeof (short)); } |
|
|
11881 | unsigned long ulongval () { return (long) (sizeof (short)); } |
|
|
11882 | #include <stdio.h> |
7509 | #include <stdlib.h> |
11883 | #include <stdlib.h> |
7510 | EOF |
11884 | int |
7511 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
11885 | main () |
7512 | egrep "free" >/dev/null 2>&1; then |
11886 | { |
7513 | : |
11887 | |
|
|
11888 | FILE *f = fopen ("conftest.val", "w"); |
|
|
11889 | if (! f) |
|
|
11890 | exit (1); |
|
|
11891 | if (((long) (sizeof (short))) < 0) |
|
|
11892 | { |
|
|
11893 | long i = longval (); |
|
|
11894 | if (i != ((long) (sizeof (short)))) |
|
|
11895 | exit (1); |
|
|
11896 | fprintf (f, "%ld\n", i); |
|
|
11897 | } |
7514 | else |
11898 | else |
7515 | rm -rf conftest* |
11899 | { |
7516 | ac_cv_header_stdc=no |
11900 | unsigned long i = ulongval (); |
|
|
11901 | if (i != ((long) (sizeof (short)))) |
|
|
11902 | exit (1); |
|
|
11903 | fprintf (f, "%lu\n", i); |
|
|
11904 | } |
|
|
11905 | exit (ferror (f) || fclose (f) != 0); |
|
|
11906 | |
|
|
11907 | ; |
|
|
11908 | return 0; |
|
|
11909 | } |
|
|
11910 | _ACEOF |
|
|
11911 | rm -f conftest$ac_exeext |
|
|
11912 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11913 | (eval $ac_link) 2>&5 |
|
|
11914 | ac_status=$? |
|
|
11915 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11916 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
11917 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11918 | (eval $ac_try) 2>&5 |
|
|
11919 | ac_status=$? |
|
|
11920 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11921 | (exit $ac_status); }; }; then |
|
|
11922 | ac_cv_sizeof_short=`cat conftest.val` |
|
|
11923 | else |
|
|
11924 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
11925 | echo "$as_me: failed program was:" >&5 |
|
|
11926 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11927 | |
|
|
11928 | ( exit $ac_status ) |
|
|
11929 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77 |
|
|
11930 | See \`config.log' for more details." >&5 |
|
|
11931 | echo "$as_me: error: cannot compute sizeof (short), 77 |
|
|
11932 | See \`config.log' for more details." >&2;} |
|
|
11933 | { (exit 1); exit 1; }; } |
7517 | fi |
11934 | fi |
|
|
11935 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
11936 | fi |
|
|
11937 | fi |
7518 | rm -f conftest* |
11938 | rm -f conftest.val |
7519 | |
11939 | else |
|
|
11940 | ac_cv_sizeof_short=0 |
7520 | fi |
11941 | fi |
|
|
11942 | fi |
|
|
11943 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 |
|
|
11944 | echo "${ECHO_T}$ac_cv_sizeof_short" >&6 |
|
|
11945 | cat >>confdefs.h <<_ACEOF |
|
|
11946 | #define SIZEOF_SHORT $ac_cv_sizeof_short |
|
|
11947 | _ACEOF |
7521 | |
11948 | |
|
|
11949 | |
|
|
11950 | echo "$as_me:$LINENO: checking for int" >&5 |
|
|
11951 | echo $ECHO_N "checking for int... $ECHO_C" >&6 |
|
|
11952 | if test "${ac_cv_type_int+set}" = set; then |
|
|
11953 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11954 | else |
|
|
11955 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11956 | /* confdefs.h. */ |
|
|
11957 | _ACEOF |
|
|
11958 | cat confdefs.h >>conftest.$ac_ext |
|
|
11959 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11960 | /* end confdefs.h. */ |
|
|
11961 | $ac_includes_default |
|
|
11962 | int |
|
|
11963 | main () |
|
|
11964 | { |
|
|
11965 | if ((int *) 0) |
|
|
11966 | return 0; |
|
|
11967 | if (sizeof (int)) |
|
|
11968 | return 0; |
|
|
11969 | ; |
|
|
11970 | return 0; |
|
|
11971 | } |
|
|
11972 | _ACEOF |
|
|
11973 | rm -f conftest.$ac_objext |
|
|
11974 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11975 | (eval $ac_compile) 2>conftest.er1 |
|
|
11976 | ac_status=$? |
|
|
11977 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11978 | rm -f conftest.er1 |
|
|
11979 | cat conftest.err >&5 |
|
|
11980 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11981 | (exit $ac_status); } && |
|
|
11982 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
11983 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11984 | (eval $ac_try) 2>&5 |
|
|
11985 | ac_status=$? |
|
|
11986 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11987 | (exit $ac_status); }; } && |
|
|
11988 | { ac_try='test -s conftest.$ac_objext' |
|
|
11989 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11990 | (eval $ac_try) 2>&5 |
|
|
11991 | ac_status=$? |
|
|
11992 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11993 | (exit $ac_status); }; }; then |
|
|
11994 | ac_cv_type_int=yes |
|
|
11995 | else |
|
|
11996 | echo "$as_me: failed program was:" >&5 |
|
|
11997 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11998 | |
|
|
11999 | ac_cv_type_int=no |
|
|
12000 | fi |
|
|
12001 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12002 | fi |
|
|
12003 | echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 |
|
|
12004 | echo "${ECHO_T}$ac_cv_type_int" >&6 |
|
|
12005 | |
|
|
12006 | echo "$as_me:$LINENO: checking size of int" >&5 |
|
|
12007 | echo $ECHO_N "checking size of int... $ECHO_C" >&6 |
|
|
12008 | if test "${ac_cv_sizeof_int+set}" = set; then |
|
|
12009 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12010 | else |
7522 | if test $ac_cv_header_stdc = yes; then |
12011 | if test "$ac_cv_type_int" = yes; then |
7523 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
12012 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
12013 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
12014 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
12015 | # This bug is HP SR number 8606223364. |
7524 | if test "$cross_compiling" = yes; then |
12016 | if test "$cross_compiling" = yes; then |
7525 | : |
12017 | # Depending upon the size, compute the lo and hi bounds. |
|
|
12018 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12019 | /* confdefs.h. */ |
|
|
12020 | _ACEOF |
|
|
12021 | cat confdefs.h >>conftest.$ac_ext |
|
|
12022 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12023 | /* end confdefs.h. */ |
|
|
12024 | $ac_includes_default |
|
|
12025 | int |
|
|
12026 | main () |
|
|
12027 | { |
|
|
12028 | static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)]; |
|
|
12029 | test_array [0] = 0 |
|
|
12030 | |
|
|
12031 | ; |
|
|
12032 | return 0; |
|
|
12033 | } |
|
|
12034 | _ACEOF |
|
|
12035 | rm -f conftest.$ac_objext |
|
|
12036 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12037 | (eval $ac_compile) 2>conftest.er1 |
|
|
12038 | ac_status=$? |
|
|
12039 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12040 | rm -f conftest.er1 |
|
|
12041 | cat conftest.err >&5 |
|
|
12042 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12043 | (exit $ac_status); } && |
|
|
12044 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
12045 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12046 | (eval $ac_try) 2>&5 |
|
|
12047 | ac_status=$? |
|
|
12048 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12049 | (exit $ac_status); }; } && |
|
|
12050 | { ac_try='test -s conftest.$ac_objext' |
|
|
12051 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12052 | (eval $ac_try) 2>&5 |
|
|
12053 | ac_status=$? |
|
|
12054 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12055 | (exit $ac_status); }; }; then |
|
|
12056 | ac_lo=0 ac_mid=0 |
|
|
12057 | while :; do |
|
|
12058 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12059 | /* confdefs.h. */ |
|
|
12060 | _ACEOF |
|
|
12061 | cat confdefs.h >>conftest.$ac_ext |
|
|
12062 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12063 | /* end confdefs.h. */ |
|
|
12064 | $ac_includes_default |
|
|
12065 | int |
|
|
12066 | main () |
|
|
12067 | { |
|
|
12068 | static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; |
|
|
12069 | test_array [0] = 0 |
|
|
12070 | |
|
|
12071 | ; |
|
|
12072 | return 0; |
|
|
12073 | } |
|
|
12074 | _ACEOF |
|
|
12075 | rm -f conftest.$ac_objext |
|
|
12076 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12077 | (eval $ac_compile) 2>conftest.er1 |
|
|
12078 | ac_status=$? |
|
|
12079 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12080 | rm -f conftest.er1 |
|
|
12081 | cat conftest.err >&5 |
|
|
12082 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12083 | (exit $ac_status); } && |
|
|
12084 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
12085 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12086 | (eval $ac_try) 2>&5 |
|
|
12087 | ac_status=$? |
|
|
12088 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12089 | (exit $ac_status); }; } && |
|
|
12090 | { ac_try='test -s conftest.$ac_objext' |
|
|
12091 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12092 | (eval $ac_try) 2>&5 |
|
|
12093 | ac_status=$? |
|
|
12094 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12095 | (exit $ac_status); }; }; then |
|
|
12096 | ac_hi=$ac_mid; break |
7526 | else |
12097 | else |
|
|
12098 | echo "$as_me: failed program was:" >&5 |
|
|
12099 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12100 | |
|
|
12101 | ac_lo=`expr $ac_mid + 1` |
|
|
12102 | if test $ac_lo -le $ac_mid; then |
|
|
12103 | ac_lo= ac_hi= |
|
|
12104 | break |
|
|
12105 | fi |
|
|
12106 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
12107 | fi |
|
|
12108 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12109 | done |
|
|
12110 | else |
|
|
12111 | echo "$as_me: failed program was:" >&5 |
|
|
12112 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12113 | |
|
|
12114 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12115 | /* confdefs.h. */ |
|
|
12116 | _ACEOF |
|
|
12117 | cat confdefs.h >>conftest.$ac_ext |
|
|
12118 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12119 | /* end confdefs.h. */ |
|
|
12120 | $ac_includes_default |
|
|
12121 | int |
|
|
12122 | main () |
|
|
12123 | { |
|
|
12124 | static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)]; |
|
|
12125 | test_array [0] = 0 |
|
|
12126 | |
|
|
12127 | ; |
|
|
12128 | return 0; |
|
|
12129 | } |
|
|
12130 | _ACEOF |
|
|
12131 | rm -f conftest.$ac_objext |
|
|
12132 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12133 | (eval $ac_compile) 2>conftest.er1 |
|
|
12134 | ac_status=$? |
|
|
12135 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12136 | rm -f conftest.er1 |
|
|
12137 | cat conftest.err >&5 |
|
|
12138 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12139 | (exit $ac_status); } && |
|
|
12140 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
12141 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12142 | (eval $ac_try) 2>&5 |
|
|
12143 | ac_status=$? |
|
|
12144 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12145 | (exit $ac_status); }; } && |
|
|
12146 | { ac_try='test -s conftest.$ac_objext' |
|
|
12147 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12148 | (eval $ac_try) 2>&5 |
|
|
12149 | ac_status=$? |
|
|
12150 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12151 | (exit $ac_status); }; }; then |
|
|
12152 | ac_hi=-1 ac_mid=-1 |
|
|
12153 | while :; do |
|
|
12154 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12155 | /* confdefs.h. */ |
|
|
12156 | _ACEOF |
|
|
12157 | cat confdefs.h >>conftest.$ac_ext |
|
|
12158 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12159 | /* end confdefs.h. */ |
|
|
12160 | $ac_includes_default |
|
|
12161 | int |
|
|
12162 | main () |
|
|
12163 | { |
|
|
12164 | static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)]; |
|
|
12165 | test_array [0] = 0 |
|
|
12166 | |
|
|
12167 | ; |
|
|
12168 | return 0; |
|
|
12169 | } |
|
|
12170 | _ACEOF |
|
|
12171 | rm -f conftest.$ac_objext |
|
|
12172 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12173 | (eval $ac_compile) 2>conftest.er1 |
|
|
12174 | ac_status=$? |
|
|
12175 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12176 | rm -f conftest.er1 |
|
|
12177 | cat conftest.err >&5 |
|
|
12178 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12179 | (exit $ac_status); } && |
|
|
12180 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
12181 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12182 | (eval $ac_try) 2>&5 |
|
|
12183 | ac_status=$? |
|
|
12184 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12185 | (exit $ac_status); }; } && |
|
|
12186 | { ac_try='test -s conftest.$ac_objext' |
|
|
12187 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12188 | (eval $ac_try) 2>&5 |
|
|
12189 | ac_status=$? |
|
|
12190 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12191 | (exit $ac_status); }; }; then |
|
|
12192 | ac_lo=$ac_mid; break |
|
|
12193 | else |
|
|
12194 | echo "$as_me: failed program was:" >&5 |
|
|
12195 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12196 | |
|
|
12197 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
12198 | if test $ac_mid -le $ac_hi; then |
|
|
12199 | ac_lo= ac_hi= |
|
|
12200 | break |
|
|
12201 | fi |
|
|
12202 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
12203 | fi |
|
|
12204 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12205 | done |
|
|
12206 | else |
|
|
12207 | echo "$as_me: failed program was:" >&5 |
|
|
12208 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12209 | |
|
|
12210 | ac_lo= ac_hi= |
|
|
12211 | fi |
|
|
12212 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12213 | fi |
|
|
12214 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12215 | # Binary search between lo and hi bounds. |
|
|
12216 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
12217 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
7527 | cat > conftest.$ac_ext <<EOF |
12218 | cat >conftest.$ac_ext <<_ACEOF |
7528 | #line 7529 "configure" |
12219 | /* confdefs.h. */ |
7529 | #include "confdefs.h" |
12220 | _ACEOF |
7530 | #include <ctype.h> |
12221 | cat confdefs.h >>conftest.$ac_ext |
7531 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
12222 | cat >>conftest.$ac_ext <<_ACEOF |
7532 | #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
12223 | /* end confdefs.h. */ |
7533 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
12224 | $ac_includes_default |
7534 | int main () { int i; for (i = 0; i < 256; i++) |
12225 | int |
7535 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
12226 | main () |
7536 | exit (0); } |
12227 | { |
|
|
12228 | static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; |
|
|
12229 | test_array [0] = 0 |
7537 | |
12230 | |
7538 | EOF |
12231 | ; |
7539 | if { (eval echo configure:7540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
12232 | return 0; |
7540 | then |
12233 | } |
7541 | : |
12234 | _ACEOF |
|
|
12235 | rm -f conftest.$ac_objext |
|
|
12236 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12237 | (eval $ac_compile) 2>conftest.er1 |
|
|
12238 | ac_status=$? |
|
|
12239 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12240 | rm -f conftest.er1 |
|
|
12241 | cat conftest.err >&5 |
|
|
12242 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12243 | (exit $ac_status); } && |
|
|
12244 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
12245 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12246 | (eval $ac_try) 2>&5 |
|
|
12247 | ac_status=$? |
|
|
12248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12249 | (exit $ac_status); }; } && |
|
|
12250 | { ac_try='test -s conftest.$ac_objext' |
|
|
12251 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12252 | (eval $ac_try) 2>&5 |
|
|
12253 | ac_status=$? |
|
|
12254 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12255 | (exit $ac_status); }; }; then |
|
|
12256 | ac_hi=$ac_mid |
7542 | else |
12257 | else |
7543 | echo "configure: failed program was:" >&5 |
12258 | echo "$as_me: failed program was:" >&5 |
7544 | cat conftest.$ac_ext >&5 |
12259 | sed 's/^/| /' conftest.$ac_ext >&5 |
7545 | rm -fr conftest* |
|
|
7546 | ac_cv_header_stdc=no |
|
|
7547 | fi |
|
|
7548 | rm -fr conftest* |
|
|
7549 | fi |
|
|
7550 | |
12260 | |
|
|
12261 | ac_lo=`expr '(' $ac_mid ')' + 1` |
7551 | fi |
12262 | fi |
7552 | fi |
12263 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7553 | |
12264 | done |
7554 | echo "$ac_t""$ac_cv_header_stdc" 1>&6 |
12265 | case $ac_lo in |
7555 | if test $ac_cv_header_stdc = yes; then |
12266 | ?*) ac_cv_sizeof_int=$ac_lo;; |
7556 | cat >> confdefs.h <<\EOF |
12267 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 |
7557 | #define STDC_HEADERS 1 |
12268 | See \`config.log' for more details." >&5 |
7558 | EOF |
12269 | echo "$as_me: error: cannot compute sizeof (int), 77 |
7559 | |
12270 | See \`config.log' for more details." >&2;} |
7560 | fi |
12271 | { (exit 1); exit 1; }; } ;; |
7561 | |
12272 | esac |
7562 | echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
|
|
7563 | echo "configure:7564: checking for mode_t" >&5 |
|
|
7564 | if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then |
|
|
7565 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
7566 | else |
12273 | else |
|
|
12274 | if test "$cross_compiling" = yes; then |
|
|
12275 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
|
|
12276 | See \`config.log' for more details." >&5 |
|
|
12277 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
12278 | See \`config.log' for more details." >&2;} |
|
|
12279 | { (exit 1); exit 1; }; } |
|
|
12280 | else |
7567 | cat > conftest.$ac_ext <<EOF |
12281 | cat >conftest.$ac_ext <<_ACEOF |
7568 | #line 7569 "configure" |
12282 | /* confdefs.h. */ |
7569 | #include "confdefs.h" |
12283 | _ACEOF |
|
|
12284 | cat confdefs.h >>conftest.$ac_ext |
|
|
12285 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12286 | /* end confdefs.h. */ |
|
|
12287 | $ac_includes_default |
|
|
12288 | long longval () { return (long) (sizeof (int)); } |
|
|
12289 | unsigned long ulongval () { return (long) (sizeof (int)); } |
7570 | #include <sys/types.h> |
12290 | #include <stdio.h> |
7571 | #if STDC_HEADERS |
|
|
7572 | #include <stdlib.h> |
12291 | #include <stdlib.h> |
7573 | #include <stddef.h> |
12292 | int |
7574 | #endif |
12293 | main () |
7575 | EOF |
12294 | { |
7576 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
12295 | |
7577 | egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
12296 | FILE *f = fopen ("conftest.val", "w"); |
7578 | rm -rf conftest* |
12297 | if (! f) |
7579 | ac_cv_type_mode_t=yes |
12298 | exit (1); |
|
|
12299 | if (((long) (sizeof (int))) < 0) |
|
|
12300 | { |
|
|
12301 | long i = longval (); |
|
|
12302 | if (i != ((long) (sizeof (int)))) |
|
|
12303 | exit (1); |
|
|
12304 | fprintf (f, "%ld\n", i); |
|
|
12305 | } |
7580 | else |
12306 | else |
7581 | rm -rf conftest* |
12307 | { |
7582 | ac_cv_type_mode_t=no |
12308 | unsigned long i = ulongval (); |
|
|
12309 | if (i != ((long) (sizeof (int)))) |
|
|
12310 | exit (1); |
|
|
12311 | fprintf (f, "%lu\n", i); |
|
|
12312 | } |
|
|
12313 | exit (ferror (f) || fclose (f) != 0); |
|
|
12314 | |
|
|
12315 | ; |
|
|
12316 | return 0; |
|
|
12317 | } |
|
|
12318 | _ACEOF |
|
|
12319 | rm -f conftest$ac_exeext |
|
|
12320 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12321 | (eval $ac_link) 2>&5 |
|
|
12322 | ac_status=$? |
|
|
12323 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12324 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
12325 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12326 | (eval $ac_try) 2>&5 |
|
|
12327 | ac_status=$? |
|
|
12328 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12329 | (exit $ac_status); }; }; then |
|
|
12330 | ac_cv_sizeof_int=`cat conftest.val` |
|
|
12331 | else |
|
|
12332 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
12333 | echo "$as_me: failed program was:" >&5 |
|
|
12334 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12335 | |
|
|
12336 | ( exit $ac_status ) |
|
|
12337 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 |
|
|
12338 | See \`config.log' for more details." >&5 |
|
|
12339 | echo "$as_me: error: cannot compute sizeof (int), 77 |
|
|
12340 | See \`config.log' for more details." >&2;} |
|
|
12341 | { (exit 1); exit 1; }; } |
7583 | fi |
12342 | fi |
|
|
12343 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
12344 | fi |
|
|
12345 | fi |
7584 | rm -f conftest* |
12346 | rm -f conftest.val |
7585 | |
12347 | else |
|
|
12348 | ac_cv_sizeof_int=0 |
7586 | fi |
12349 | fi |
7587 | echo "$ac_t""$ac_cv_type_mode_t" 1>&6 |
12350 | fi |
7588 | if test $ac_cv_type_mode_t = no; then |
12351 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
|
|
12352 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
7589 | cat >> confdefs.h <<\EOF |
12353 | cat >>confdefs.h <<_ACEOF |
7590 | #define mode_t int |
12354 | #define SIZEOF_INT $ac_cv_sizeof_int |
7591 | EOF |
12355 | _ACEOF |
7592 | |
12356 | |
7593 | fi |
|
|
7594 | |
12357 | |
7595 | echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
12358 | echo "$as_me:$LINENO: checking for long" >&5 |
7596 | echo "configure:7597: checking for pid_t" >&5 |
12359 | echo $ECHO_N "checking for long... $ECHO_C" >&6 |
7597 | if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
12360 | if test "${ac_cv_type_long+set}" = set; then |
7598 | echo $ac_n "(cached) $ac_c" 1>&6 |
12361 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7599 | else |
12362 | else |
7600 | cat > conftest.$ac_ext <<EOF |
12363 | cat >conftest.$ac_ext <<_ACEOF |
7601 | #line 7602 "configure" |
12364 | /* confdefs.h. */ |
7602 | #include "confdefs.h" |
12365 | _ACEOF |
|
|
12366 | cat confdefs.h >>conftest.$ac_ext |
|
|
12367 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12368 | /* end confdefs.h. */ |
|
|
12369 | $ac_includes_default |
|
|
12370 | int |
|
|
12371 | main () |
|
|
12372 | { |
|
|
12373 | if ((long *) 0) |
|
|
12374 | return 0; |
|
|
12375 | if (sizeof (long)) |
|
|
12376 | return 0; |
|
|
12377 | ; |
|
|
12378 | return 0; |
|
|
12379 | } |
|
|
12380 | _ACEOF |
|
|
12381 | rm -f conftest.$ac_objext |
|
|
12382 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12383 | (eval $ac_compile) 2>conftest.er1 |
|
|
12384 | ac_status=$? |
|
|
12385 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12386 | rm -f conftest.er1 |
|
|
12387 | cat conftest.err >&5 |
|
|
12388 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12389 | (exit $ac_status); } && |
|
|
12390 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
12391 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12392 | (eval $ac_try) 2>&5 |
|
|
12393 | ac_status=$? |
|
|
12394 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12395 | (exit $ac_status); }; } && |
|
|
12396 | { ac_try='test -s conftest.$ac_objext' |
|
|
12397 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12398 | (eval $ac_try) 2>&5 |
|
|
12399 | ac_status=$? |
|
|
12400 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12401 | (exit $ac_status); }; }; then |
|
|
12402 | ac_cv_type_long=yes |
|
|
12403 | else |
|
|
12404 | echo "$as_me: failed program was:" >&5 |
|
|
12405 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12406 | |
|
|
12407 | ac_cv_type_long=no |
|
|
12408 | fi |
|
|
12409 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12410 | fi |
|
|
12411 | echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 |
|
|
12412 | echo "${ECHO_T}$ac_cv_type_long" >&6 |
|
|
12413 | |
|
|
12414 | echo "$as_me:$LINENO: checking size of long" >&5 |
|
|
12415 | echo $ECHO_N "checking size of long... $ECHO_C" >&6 |
|
|
12416 | if test "${ac_cv_sizeof_long+set}" = set; then |
|
|
12417 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12418 | else |
|
|
12419 | if test "$ac_cv_type_long" = yes; then |
|
|
12420 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
12421 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
12422 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
12423 | # This bug is HP SR number 8606223364. |
|
|
12424 | if test "$cross_compiling" = yes; then |
|
|
12425 | # Depending upon the size, compute the lo and hi bounds. |
|
|
12426 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12427 | /* confdefs.h. */ |
|
|
12428 | _ACEOF |
|
|
12429 | cat confdefs.h >>conftest.$ac_ext |
|
|
12430 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12431 | /* end confdefs.h. */ |
|
|
12432 | $ac_includes_default |
|
|
12433 | int |
|
|
12434 | main () |
|
|
12435 | { |
|
|
12436 | static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)]; |
|
|
12437 | test_array [0] = 0 |
|
|
12438 | |
|
|
12439 | ; |
|
|
12440 | return 0; |
|
|
12441 | } |
|
|
12442 | _ACEOF |
|
|
12443 | rm -f conftest.$ac_objext |
|
|
12444 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12445 | (eval $ac_compile) 2>conftest.er1 |
|
|
12446 | ac_status=$? |
|
|
12447 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12448 | rm -f conftest.er1 |
|
|
12449 | cat conftest.err >&5 |
|
|
12450 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12451 | (exit $ac_status); } && |
|
|
12452 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
12453 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12454 | (eval $ac_try) 2>&5 |
|
|
12455 | ac_status=$? |
|
|
12456 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12457 | (exit $ac_status); }; } && |
|
|
12458 | { ac_try='test -s conftest.$ac_objext' |
|
|
12459 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12460 | (eval $ac_try) 2>&5 |
|
|
12461 | ac_status=$? |
|
|
12462 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12463 | (exit $ac_status); }; }; then |
|
|
12464 | ac_lo=0 ac_mid=0 |
|
|
12465 | while :; do |
|
|
12466 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12467 | /* confdefs.h. */ |
|
|
12468 | _ACEOF |
|
|
12469 | cat confdefs.h >>conftest.$ac_ext |
|
|
12470 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12471 | /* end confdefs.h. */ |
|
|
12472 | $ac_includes_default |
|
|
12473 | int |
|
|
12474 | main () |
|
|
12475 | { |
|
|
12476 | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
|
|
12477 | test_array [0] = 0 |
|
|
12478 | |
|
|
12479 | ; |
|
|
12480 | return 0; |
|
|
12481 | } |
|
|
12482 | _ACEOF |
|
|
12483 | rm -f conftest.$ac_objext |
|
|
12484 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12485 | (eval $ac_compile) 2>conftest.er1 |
|
|
12486 | ac_status=$? |
|
|
12487 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12488 | rm -f conftest.er1 |
|
|
12489 | cat conftest.err >&5 |
|
|
12490 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12491 | (exit $ac_status); } && |
|
|
12492 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
12493 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12494 | (eval $ac_try) 2>&5 |
|
|
12495 | ac_status=$? |
|
|
12496 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12497 | (exit $ac_status); }; } && |
|
|
12498 | { ac_try='test -s conftest.$ac_objext' |
|
|
12499 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12500 | (eval $ac_try) 2>&5 |
|
|
12501 | ac_status=$? |
|
|
12502 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12503 | (exit $ac_status); }; }; then |
|
|
12504 | ac_hi=$ac_mid; break |
|
|
12505 | else |
|
|
12506 | echo "$as_me: failed program was:" >&5 |
|
|
12507 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12508 | |
|
|
12509 | ac_lo=`expr $ac_mid + 1` |
|
|
12510 | if test $ac_lo -le $ac_mid; then |
|
|
12511 | ac_lo= ac_hi= |
|
|
12512 | break |
|
|
12513 | fi |
|
|
12514 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
12515 | fi |
|
|
12516 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12517 | done |
|
|
12518 | else |
|
|
12519 | echo "$as_me: failed program was:" >&5 |
|
|
12520 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12521 | |
|
|
12522 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12523 | /* confdefs.h. */ |
|
|
12524 | _ACEOF |
|
|
12525 | cat confdefs.h >>conftest.$ac_ext |
|
|
12526 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12527 | /* end confdefs.h. */ |
|
|
12528 | $ac_includes_default |
|
|
12529 | int |
|
|
12530 | main () |
|
|
12531 | { |
|
|
12532 | static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)]; |
|
|
12533 | test_array [0] = 0 |
|
|
12534 | |
|
|
12535 | ; |
|
|
12536 | return 0; |
|
|
12537 | } |
|
|
12538 | _ACEOF |
|
|
12539 | rm -f conftest.$ac_objext |
|
|
12540 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12541 | (eval $ac_compile) 2>conftest.er1 |
|
|
12542 | ac_status=$? |
|
|
12543 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12544 | rm -f conftest.er1 |
|
|
12545 | cat conftest.err >&5 |
|
|
12546 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12547 | (exit $ac_status); } && |
|
|
12548 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
12549 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12550 | (eval $ac_try) 2>&5 |
|
|
12551 | ac_status=$? |
|
|
12552 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12553 | (exit $ac_status); }; } && |
|
|
12554 | { ac_try='test -s conftest.$ac_objext' |
|
|
12555 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12556 | (eval $ac_try) 2>&5 |
|
|
12557 | ac_status=$? |
|
|
12558 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12559 | (exit $ac_status); }; }; then |
|
|
12560 | ac_hi=-1 ac_mid=-1 |
|
|
12561 | while :; do |
|
|
12562 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12563 | /* confdefs.h. */ |
|
|
12564 | _ACEOF |
|
|
12565 | cat confdefs.h >>conftest.$ac_ext |
|
|
12566 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12567 | /* end confdefs.h. */ |
|
|
12568 | $ac_includes_default |
|
|
12569 | int |
|
|
12570 | main () |
|
|
12571 | { |
|
|
12572 | static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)]; |
|
|
12573 | test_array [0] = 0 |
|
|
12574 | |
|
|
12575 | ; |
|
|
12576 | return 0; |
|
|
12577 | } |
|
|
12578 | _ACEOF |
|
|
12579 | rm -f conftest.$ac_objext |
|
|
12580 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12581 | (eval $ac_compile) 2>conftest.er1 |
|
|
12582 | ac_status=$? |
|
|
12583 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12584 | rm -f conftest.er1 |
|
|
12585 | cat conftest.err >&5 |
|
|
12586 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12587 | (exit $ac_status); } && |
|
|
12588 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
12589 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12590 | (eval $ac_try) 2>&5 |
|
|
12591 | ac_status=$? |
|
|
12592 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12593 | (exit $ac_status); }; } && |
|
|
12594 | { ac_try='test -s conftest.$ac_objext' |
|
|
12595 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12596 | (eval $ac_try) 2>&5 |
|
|
12597 | ac_status=$? |
|
|
12598 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12599 | (exit $ac_status); }; }; then |
|
|
12600 | ac_lo=$ac_mid; break |
|
|
12601 | else |
|
|
12602 | echo "$as_me: failed program was:" >&5 |
|
|
12603 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12604 | |
|
|
12605 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
12606 | if test $ac_mid -le $ac_hi; then |
|
|
12607 | ac_lo= ac_hi= |
|
|
12608 | break |
|
|
12609 | fi |
|
|
12610 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
12611 | fi |
|
|
12612 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12613 | done |
|
|
12614 | else |
|
|
12615 | echo "$as_me: failed program was:" >&5 |
|
|
12616 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12617 | |
|
|
12618 | ac_lo= ac_hi= |
|
|
12619 | fi |
|
|
12620 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12621 | fi |
|
|
12622 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12623 | # Binary search between lo and hi bounds. |
|
|
12624 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
12625 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
12626 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12627 | /* confdefs.h. */ |
|
|
12628 | _ACEOF |
|
|
12629 | cat confdefs.h >>conftest.$ac_ext |
|
|
12630 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12631 | /* end confdefs.h. */ |
|
|
12632 | $ac_includes_default |
|
|
12633 | int |
|
|
12634 | main () |
|
|
12635 | { |
|
|
12636 | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
|
|
12637 | test_array [0] = 0 |
|
|
12638 | |
|
|
12639 | ; |
|
|
12640 | return 0; |
|
|
12641 | } |
|
|
12642 | _ACEOF |
|
|
12643 | rm -f conftest.$ac_objext |
|
|
12644 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12645 | (eval $ac_compile) 2>conftest.er1 |
|
|
12646 | ac_status=$? |
|
|
12647 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12648 | rm -f conftest.er1 |
|
|
12649 | cat conftest.err >&5 |
|
|
12650 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12651 | (exit $ac_status); } && |
|
|
12652 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
12653 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12654 | (eval $ac_try) 2>&5 |
|
|
12655 | ac_status=$? |
|
|
12656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12657 | (exit $ac_status); }; } && |
|
|
12658 | { ac_try='test -s conftest.$ac_objext' |
|
|
12659 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12660 | (eval $ac_try) 2>&5 |
|
|
12661 | ac_status=$? |
|
|
12662 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12663 | (exit $ac_status); }; }; then |
|
|
12664 | ac_hi=$ac_mid |
|
|
12665 | else |
|
|
12666 | echo "$as_me: failed program was:" >&5 |
|
|
12667 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12668 | |
|
|
12669 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
12670 | fi |
|
|
12671 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12672 | done |
|
|
12673 | case $ac_lo in |
|
|
12674 | ?*) ac_cv_sizeof_long=$ac_lo;; |
|
|
12675 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
|
|
12676 | See \`config.log' for more details." >&5 |
|
|
12677 | echo "$as_me: error: cannot compute sizeof (long), 77 |
|
|
12678 | See \`config.log' for more details." >&2;} |
|
|
12679 | { (exit 1); exit 1; }; } ;; |
|
|
12680 | esac |
|
|
12681 | else |
|
|
12682 | if test "$cross_compiling" = yes; then |
|
|
12683 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
|
|
12684 | See \`config.log' for more details." >&5 |
|
|
12685 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
12686 | See \`config.log' for more details." >&2;} |
|
|
12687 | { (exit 1); exit 1; }; } |
|
|
12688 | else |
|
|
12689 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12690 | /* confdefs.h. */ |
|
|
12691 | _ACEOF |
|
|
12692 | cat confdefs.h >>conftest.$ac_ext |
|
|
12693 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12694 | /* end confdefs.h. */ |
|
|
12695 | $ac_includes_default |
|
|
12696 | long longval () { return (long) (sizeof (long)); } |
|
|
12697 | unsigned long ulongval () { return (long) (sizeof (long)); } |
7603 | #include <sys/types.h> |
12698 | #include <stdio.h> |
7604 | #if STDC_HEADERS |
|
|
7605 | #include <stdlib.h> |
12699 | #include <stdlib.h> |
7606 | #include <stddef.h> |
12700 | int |
7607 | #endif |
12701 | main () |
7608 | EOF |
12702 | { |
7609 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
12703 | |
7610 | egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
12704 | FILE *f = fopen ("conftest.val", "w"); |
7611 | rm -rf conftest* |
12705 | if (! f) |
7612 | ac_cv_type_pid_t=yes |
12706 | exit (1); |
|
|
12707 | if (((long) (sizeof (long))) < 0) |
|
|
12708 | { |
|
|
12709 | long i = longval (); |
|
|
12710 | if (i != ((long) (sizeof (long)))) |
|
|
12711 | exit (1); |
|
|
12712 | fprintf (f, "%ld\n", i); |
|
|
12713 | } |
7613 | else |
12714 | else |
7614 | rm -rf conftest* |
12715 | { |
7615 | ac_cv_type_pid_t=no |
12716 | unsigned long i = ulongval (); |
|
|
12717 | if (i != ((long) (sizeof (long)))) |
|
|
12718 | exit (1); |
|
|
12719 | fprintf (f, "%lu\n", i); |
|
|
12720 | } |
|
|
12721 | exit (ferror (f) || fclose (f) != 0); |
|
|
12722 | |
|
|
12723 | ; |
|
|
12724 | return 0; |
|
|
12725 | } |
|
|
12726 | _ACEOF |
|
|
12727 | rm -f conftest$ac_exeext |
|
|
12728 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12729 | (eval $ac_link) 2>&5 |
|
|
12730 | ac_status=$? |
|
|
12731 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12732 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
12733 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12734 | (eval $ac_try) 2>&5 |
|
|
12735 | ac_status=$? |
|
|
12736 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12737 | (exit $ac_status); }; }; then |
|
|
12738 | ac_cv_sizeof_long=`cat conftest.val` |
|
|
12739 | else |
|
|
12740 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
12741 | echo "$as_me: failed program was:" >&5 |
|
|
12742 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12743 | |
|
|
12744 | ( exit $ac_status ) |
|
|
12745 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
|
|
12746 | See \`config.log' for more details." >&5 |
|
|
12747 | echo "$as_me: error: cannot compute sizeof (long), 77 |
|
|
12748 | See \`config.log' for more details." >&2;} |
|
|
12749 | { (exit 1); exit 1; }; } |
7616 | fi |
12750 | fi |
|
|
12751 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
12752 | fi |
|
|
12753 | fi |
7617 | rm -f conftest* |
12754 | rm -f conftest.val |
7618 | |
12755 | else |
|
|
12756 | ac_cv_sizeof_long=0 |
7619 | fi |
12757 | fi |
7620 | echo "$ac_t""$ac_cv_type_pid_t" 1>&6 |
12758 | fi |
7621 | if test $ac_cv_type_pid_t = no; then |
12759 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 |
|
|
12760 | echo "${ECHO_T}$ac_cv_sizeof_long" >&6 |
7622 | cat >> confdefs.h <<\EOF |
12761 | cat >>confdefs.h <<_ACEOF |
7623 | #define pid_t int |
12762 | #define SIZEOF_LONG $ac_cv_sizeof_long |
7624 | EOF |
12763 | _ACEOF |
7625 | |
12764 | |
7626 | fi |
|
|
7627 | |
12765 | |
7628 | echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
12766 | echo "$as_me:$LINENO: checking for long long" >&5 |
7629 | echo "configure:7630: checking for uid_t in sys/types.h" >&5 |
12767 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
7630 | if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then |
12768 | if test "${ac_cv_type_long_long+set}" = set; then |
7631 | echo $ac_n "(cached) $ac_c" 1>&6 |
12769 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7632 | else |
12770 | else |
7633 | cat > conftest.$ac_ext <<EOF |
12771 | cat >conftest.$ac_ext <<_ACEOF |
7634 | #line 7635 "configure" |
12772 | /* confdefs.h. */ |
7635 | #include "confdefs.h" |
12773 | _ACEOF |
7636 | #include <sys/types.h> |
12774 | cat confdefs.h >>conftest.$ac_ext |
7637 | EOF |
12775 | cat >>conftest.$ac_ext <<_ACEOF |
7638 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
12776 | /* end confdefs.h. */ |
7639 | egrep "uid_t" >/dev/null 2>&1; then |
12777 | $ac_includes_default |
|
|
12778 | int |
|
|
12779 | main () |
|
|
12780 | { |
|
|
12781 | if ((long long *) 0) |
|
|
12782 | return 0; |
|
|
12783 | if (sizeof (long long)) |
|
|
12784 | return 0; |
|
|
12785 | ; |
|
|
12786 | return 0; |
|
|
12787 | } |
|
|
12788 | _ACEOF |
|
|
12789 | rm -f conftest.$ac_objext |
|
|
12790 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12791 | (eval $ac_compile) 2>conftest.er1 |
|
|
12792 | ac_status=$? |
|
|
12793 | grep -v '^ *+' conftest.er1 >conftest.err |
7640 | rm -rf conftest* |
12794 | rm -f conftest.er1 |
|
|
12795 | cat conftest.err >&5 |
|
|
12796 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12797 | (exit $ac_status); } && |
|
|
12798 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
12799 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12800 | (eval $ac_try) 2>&5 |
|
|
12801 | ac_status=$? |
|
|
12802 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12803 | (exit $ac_status); }; } && |
|
|
12804 | { ac_try='test -s conftest.$ac_objext' |
|
|
12805 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12806 | (eval $ac_try) 2>&5 |
|
|
12807 | ac_status=$? |
|
|
12808 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12809 | (exit $ac_status); }; }; then |
7641 | ac_cv_type_uid_t=yes |
12810 | ac_cv_type_long_long=yes |
7642 | else |
12811 | else |
7643 | rm -rf conftest* |
12812 | echo "$as_me: failed program was:" >&5 |
7644 | ac_cv_type_uid_t=no |
12813 | sed 's/^/| /' conftest.$ac_ext >&5 |
7645 | fi |
|
|
7646 | rm -f conftest* |
|
|
7647 | |
12814 | |
|
|
12815 | ac_cv_type_long_long=no |
7648 | fi |
12816 | fi |
7649 | |
12817 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7650 | echo "$ac_t""$ac_cv_type_uid_t" 1>&6 |
|
|
7651 | if test $ac_cv_type_uid_t = no; then |
|
|
7652 | cat >> confdefs.h <<\EOF |
|
|
7653 | #define uid_t int |
|
|
7654 | EOF |
|
|
7655 | |
|
|
7656 | cat >> confdefs.h <<\EOF |
|
|
7657 | #define gid_t int |
|
|
7658 | EOF |
|
|
7659 | |
|
|
7660 | fi |
12818 | fi |
|
|
12819 | echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 |
|
|
12820 | echo "${ECHO_T}$ac_cv_type_long_long" >&6 |
7661 | |
12821 | |
7662 | |
12822 | echo "$as_me:$LINENO: checking size of long long" >&5 |
7663 | |
12823 | echo $ECHO_N "checking size of long long... $ECHO_C" >&6 |
7664 | echo $ac_n "checking size of char""... $ac_c" 1>&6 |
12824 | if test "${ac_cv_sizeof_long_long+set}" = set; then |
7665 | echo "configure:7666: checking size of char" >&5 |
|
|
7666 | if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then |
|
|
7667 | echo $ac_n "(cached) $ac_c" 1>&6 |
12825 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7668 | else |
12826 | else |
|
|
12827 | if test "$ac_cv_type_long_long" = yes; then |
|
|
12828 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
12829 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
12830 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
12831 | # This bug is HP SR number 8606223364. |
7669 | if test "$cross_compiling" = yes; then |
12832 | if test "$cross_compiling" = yes; then |
7670 | ac_cv_sizeof_char=1 |
12833 | # Depending upon the size, compute the lo and hi bounds. |
|
|
12834 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12835 | /* confdefs.h. */ |
|
|
12836 | _ACEOF |
|
|
12837 | cat confdefs.h >>conftest.$ac_ext |
|
|
12838 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12839 | /* end confdefs.h. */ |
|
|
12840 | $ac_includes_default |
|
|
12841 | int |
|
|
12842 | main () |
|
|
12843 | { |
|
|
12844 | static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)]; |
|
|
12845 | test_array [0] = 0 |
|
|
12846 | |
|
|
12847 | ; |
|
|
12848 | return 0; |
|
|
12849 | } |
|
|
12850 | _ACEOF |
|
|
12851 | rm -f conftest.$ac_objext |
|
|
12852 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12853 | (eval $ac_compile) 2>conftest.er1 |
|
|
12854 | ac_status=$? |
|
|
12855 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12856 | rm -f conftest.er1 |
|
|
12857 | cat conftest.err >&5 |
|
|
12858 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12859 | (exit $ac_status); } && |
|
|
12860 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
12861 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12862 | (eval $ac_try) 2>&5 |
|
|
12863 | ac_status=$? |
|
|
12864 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12865 | (exit $ac_status); }; } && |
|
|
12866 | { ac_try='test -s conftest.$ac_objext' |
|
|
12867 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12868 | (eval $ac_try) 2>&5 |
|
|
12869 | ac_status=$? |
|
|
12870 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12871 | (exit $ac_status); }; }; then |
|
|
12872 | ac_lo=0 ac_mid=0 |
|
|
12873 | while :; do |
|
|
12874 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12875 | /* confdefs.h. */ |
|
|
12876 | _ACEOF |
|
|
12877 | cat confdefs.h >>conftest.$ac_ext |
|
|
12878 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12879 | /* end confdefs.h. */ |
|
|
12880 | $ac_includes_default |
|
|
12881 | int |
|
|
12882 | main () |
|
|
12883 | { |
|
|
12884 | static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; |
|
|
12885 | test_array [0] = 0 |
|
|
12886 | |
|
|
12887 | ; |
|
|
12888 | return 0; |
|
|
12889 | } |
|
|
12890 | _ACEOF |
|
|
12891 | rm -f conftest.$ac_objext |
|
|
12892 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12893 | (eval $ac_compile) 2>conftest.er1 |
|
|
12894 | ac_status=$? |
|
|
12895 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12896 | rm -f conftest.er1 |
|
|
12897 | cat conftest.err >&5 |
|
|
12898 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12899 | (exit $ac_status); } && |
|
|
12900 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
12901 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12902 | (eval $ac_try) 2>&5 |
|
|
12903 | ac_status=$? |
|
|
12904 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12905 | (exit $ac_status); }; } && |
|
|
12906 | { ac_try='test -s conftest.$ac_objext' |
|
|
12907 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12908 | (eval $ac_try) 2>&5 |
|
|
12909 | ac_status=$? |
|
|
12910 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12911 | (exit $ac_status); }; }; then |
|
|
12912 | ac_hi=$ac_mid; break |
7671 | else |
12913 | else |
|
|
12914 | echo "$as_me: failed program was:" >&5 |
|
|
12915 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12916 | |
|
|
12917 | ac_lo=`expr $ac_mid + 1` |
|
|
12918 | if test $ac_lo -le $ac_mid; then |
|
|
12919 | ac_lo= ac_hi= |
|
|
12920 | break |
|
|
12921 | fi |
|
|
12922 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
12923 | fi |
|
|
12924 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12925 | done |
|
|
12926 | else |
|
|
12927 | echo "$as_me: failed program was:" >&5 |
|
|
12928 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12929 | |
|
|
12930 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12931 | /* confdefs.h. */ |
|
|
12932 | _ACEOF |
|
|
12933 | cat confdefs.h >>conftest.$ac_ext |
|
|
12934 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12935 | /* end confdefs.h. */ |
|
|
12936 | $ac_includes_default |
|
|
12937 | int |
|
|
12938 | main () |
|
|
12939 | { |
|
|
12940 | static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)]; |
|
|
12941 | test_array [0] = 0 |
|
|
12942 | |
|
|
12943 | ; |
|
|
12944 | return 0; |
|
|
12945 | } |
|
|
12946 | _ACEOF |
|
|
12947 | rm -f conftest.$ac_objext |
|
|
12948 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12949 | (eval $ac_compile) 2>conftest.er1 |
|
|
12950 | ac_status=$? |
|
|
12951 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12952 | rm -f conftest.er1 |
|
|
12953 | cat conftest.err >&5 |
|
|
12954 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12955 | (exit $ac_status); } && |
|
|
12956 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
12957 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12958 | (eval $ac_try) 2>&5 |
|
|
12959 | ac_status=$? |
|
|
12960 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12961 | (exit $ac_status); }; } && |
|
|
12962 | { ac_try='test -s conftest.$ac_objext' |
|
|
12963 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12964 | (eval $ac_try) 2>&5 |
|
|
12965 | ac_status=$? |
|
|
12966 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12967 | (exit $ac_status); }; }; then |
|
|
12968 | ac_hi=-1 ac_mid=-1 |
|
|
12969 | while :; do |
|
|
12970 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12971 | /* confdefs.h. */ |
|
|
12972 | _ACEOF |
|
|
12973 | cat confdefs.h >>conftest.$ac_ext |
|
|
12974 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12975 | /* end confdefs.h. */ |
|
|
12976 | $ac_includes_default |
|
|
12977 | int |
|
|
12978 | main () |
|
|
12979 | { |
|
|
12980 | static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)]; |
|
|
12981 | test_array [0] = 0 |
|
|
12982 | |
|
|
12983 | ; |
|
|
12984 | return 0; |
|
|
12985 | } |
|
|
12986 | _ACEOF |
|
|
12987 | rm -f conftest.$ac_objext |
|
|
12988 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12989 | (eval $ac_compile) 2>conftest.er1 |
|
|
12990 | ac_status=$? |
|
|
12991 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12992 | rm -f conftest.er1 |
|
|
12993 | cat conftest.err >&5 |
|
|
12994 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12995 | (exit $ac_status); } && |
|
|
12996 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
12997 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12998 | (eval $ac_try) 2>&5 |
|
|
12999 | ac_status=$? |
|
|
13000 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13001 | (exit $ac_status); }; } && |
|
|
13002 | { ac_try='test -s conftest.$ac_objext' |
|
|
13003 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13004 | (eval $ac_try) 2>&5 |
|
|
13005 | ac_status=$? |
|
|
13006 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13007 | (exit $ac_status); }; }; then |
|
|
13008 | ac_lo=$ac_mid; break |
|
|
13009 | else |
|
|
13010 | echo "$as_me: failed program was:" >&5 |
|
|
13011 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13012 | |
|
|
13013 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
13014 | if test $ac_mid -le $ac_hi; then |
|
|
13015 | ac_lo= ac_hi= |
|
|
13016 | break |
|
|
13017 | fi |
|
|
13018 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
13019 | fi |
|
|
13020 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13021 | done |
|
|
13022 | else |
|
|
13023 | echo "$as_me: failed program was:" >&5 |
|
|
13024 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13025 | |
|
|
13026 | ac_lo= ac_hi= |
|
|
13027 | fi |
|
|
13028 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13029 | fi |
|
|
13030 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13031 | # Binary search between lo and hi bounds. |
|
|
13032 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
13033 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
7672 | cat > conftest.$ac_ext <<EOF |
13034 | cat >conftest.$ac_ext <<_ACEOF |
7673 | #line 7674 "configure" |
13035 | /* confdefs.h. */ |
7674 | #include "confdefs.h" |
13036 | _ACEOF |
|
|
13037 | cat confdefs.h >>conftest.$ac_ext |
|
|
13038 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13039 | /* end confdefs.h. */ |
|
|
13040 | $ac_includes_default |
|
|
13041 | int |
|
|
13042 | main () |
|
|
13043 | { |
|
|
13044 | static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; |
|
|
13045 | test_array [0] = 0 |
|
|
13046 | |
|
|
13047 | ; |
|
|
13048 | return 0; |
|
|
13049 | } |
|
|
13050 | _ACEOF |
|
|
13051 | rm -f conftest.$ac_objext |
|
|
13052 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13053 | (eval $ac_compile) 2>conftest.er1 |
|
|
13054 | ac_status=$? |
|
|
13055 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13056 | rm -f conftest.er1 |
|
|
13057 | cat conftest.err >&5 |
|
|
13058 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13059 | (exit $ac_status); } && |
|
|
13060 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
13061 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13062 | (eval $ac_try) 2>&5 |
|
|
13063 | ac_status=$? |
|
|
13064 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13065 | (exit $ac_status); }; } && |
|
|
13066 | { ac_try='test -s conftest.$ac_objext' |
|
|
13067 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13068 | (eval $ac_try) 2>&5 |
|
|
13069 | ac_status=$? |
|
|
13070 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13071 | (exit $ac_status); }; }; then |
|
|
13072 | ac_hi=$ac_mid |
|
|
13073 | else |
|
|
13074 | echo "$as_me: failed program was:" >&5 |
|
|
13075 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13076 | |
|
|
13077 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
13078 | fi |
|
|
13079 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13080 | done |
|
|
13081 | case $ac_lo in |
|
|
13082 | ?*) ac_cv_sizeof_long_long=$ac_lo;; |
|
|
13083 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77 |
|
|
13084 | See \`config.log' for more details." >&5 |
|
|
13085 | echo "$as_me: error: cannot compute sizeof (long long), 77 |
|
|
13086 | See \`config.log' for more details." >&2;} |
|
|
13087 | { (exit 1); exit 1; }; } ;; |
|
|
13088 | esac |
|
|
13089 | else |
|
|
13090 | if test "$cross_compiling" = yes; then |
|
|
13091 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
|
|
13092 | See \`config.log' for more details." >&5 |
|
|
13093 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
13094 | See \`config.log' for more details." >&2;} |
|
|
13095 | { (exit 1); exit 1; }; } |
|
|
13096 | else |
|
|
13097 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13098 | /* confdefs.h. */ |
|
|
13099 | _ACEOF |
|
|
13100 | cat confdefs.h >>conftest.$ac_ext |
|
|
13101 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13102 | /* end confdefs.h. */ |
|
|
13103 | $ac_includes_default |
|
|
13104 | long longval () { return (long) (sizeof (long long)); } |
|
|
13105 | unsigned long ulongval () { return (long) (sizeof (long long)); } |
7675 | #include <stdio.h> |
13106 | #include <stdio.h> |
7676 | #include <sys/types.h> |
13107 | #include <stdlib.h> |
|
|
13108 | int |
7677 | main() |
13109 | main () |
7678 | { |
13110 | { |
|
|
13111 | |
7679 | FILE *f=fopen("conftestval", "w"); |
13112 | FILE *f = fopen ("conftest.val", "w"); |
7680 | if (!f) exit(1); |
13113 | if (! f) |
7681 | fprintf(f, "%d\n", sizeof(char)); |
|
|
7682 | exit(0); |
13114 | exit (1); |
|
|
13115 | if (((long) (sizeof (long long))) < 0) |
|
|
13116 | { |
|
|
13117 | long i = longval (); |
|
|
13118 | if (i != ((long) (sizeof (long long)))) |
|
|
13119 | exit (1); |
|
|
13120 | fprintf (f, "%ld\n", i); |
|
|
13121 | } |
|
|
13122 | else |
|
|
13123 | { |
|
|
13124 | unsigned long i = ulongval (); |
|
|
13125 | if (i != ((long) (sizeof (long long)))) |
|
|
13126 | exit (1); |
|
|
13127 | fprintf (f, "%lu\n", i); |
|
|
13128 | } |
|
|
13129 | exit (ferror (f) || fclose (f) != 0); |
|
|
13130 | |
|
|
13131 | ; |
|
|
13132 | return 0; |
7683 | } |
13133 | } |
7684 | EOF |
13134 | _ACEOF |
7685 | if { (eval echo configure:7686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
13135 | rm -f conftest$ac_exeext |
7686 | then |
13136 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13137 | (eval $ac_link) 2>&5 |
|
|
13138 | ac_status=$? |
|
|
13139 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13140 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
13141 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13142 | (eval $ac_try) 2>&5 |
|
|
13143 | ac_status=$? |
|
|
13144 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13145 | (exit $ac_status); }; }; then |
7687 | ac_cv_sizeof_char=`cat conftestval` |
13146 | ac_cv_sizeof_long_long=`cat conftest.val` |
7688 | else |
13147 | else |
|
|
13148 | echo "$as_me: program exited with status $ac_status" >&5 |
7689 | echo "configure: failed program was:" >&5 |
13149 | echo "$as_me: failed program was:" >&5 |
7690 | cat conftest.$ac_ext >&5 |
13150 | sed 's/^/| /' conftest.$ac_ext >&5 |
7691 | rm -fr conftest* |
13151 | |
7692 | ac_cv_sizeof_char=0 |
13152 | ( exit $ac_status ) |
|
|
13153 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77 |
|
|
13154 | See \`config.log' for more details." >&5 |
|
|
13155 | echo "$as_me: error: cannot compute sizeof (long long), 77 |
|
|
13156 | See \`config.log' for more details." >&2;} |
|
|
13157 | { (exit 1); exit 1; }; } |
7693 | fi |
13158 | fi |
|
|
13159 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
13160 | fi |
|
|
13161 | fi |
7694 | rm -fr conftest* |
13162 | rm -f conftest.val |
|
|
13163 | else |
|
|
13164 | ac_cv_sizeof_long_long=0 |
7695 | fi |
13165 | fi |
7696 | |
|
|
7697 | fi |
13166 | fi |
7698 | echo "$ac_t""$ac_cv_sizeof_char" 1>&6 |
13167 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 |
|
|
13168 | echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6 |
7699 | cat >> confdefs.h <<EOF |
13169 | cat >>confdefs.h <<_ACEOF |
7700 | #define SIZEOF_CHAR $ac_cv_sizeof_char |
13170 | #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
7701 | EOF |
13171 | _ACEOF |
7702 | |
13172 | |
7703 | |
13173 | |
7704 | echo $ac_n "checking size of short""... $ac_c" 1>&6 |
13174 | echo "$as_me:$LINENO: checking for int *" >&5 |
7705 | echo "configure:7706: checking size of short" >&5 |
13175 | echo $ECHO_N "checking for int *... $ECHO_C" >&6 |
7706 | if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then |
13176 | if test "${ac_cv_type_int_p+set}" = set; then |
7707 | echo $ac_n "(cached) $ac_c" 1>&6 |
13177 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7708 | else |
13178 | else |
|
|
13179 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13180 | /* confdefs.h. */ |
|
|
13181 | _ACEOF |
|
|
13182 | cat confdefs.h >>conftest.$ac_ext |
|
|
13183 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13184 | /* end confdefs.h. */ |
|
|
13185 | $ac_includes_default |
|
|
13186 | int |
|
|
13187 | main () |
|
|
13188 | { |
|
|
13189 | if ((int * *) 0) |
|
|
13190 | return 0; |
|
|
13191 | if (sizeof (int *)) |
|
|
13192 | return 0; |
|
|
13193 | ; |
|
|
13194 | return 0; |
|
|
13195 | } |
|
|
13196 | _ACEOF |
|
|
13197 | rm -f conftest.$ac_objext |
|
|
13198 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13199 | (eval $ac_compile) 2>conftest.er1 |
|
|
13200 | ac_status=$? |
|
|
13201 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13202 | rm -f conftest.er1 |
|
|
13203 | cat conftest.err >&5 |
|
|
13204 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13205 | (exit $ac_status); } && |
|
|
13206 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
13207 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13208 | (eval $ac_try) 2>&5 |
|
|
13209 | ac_status=$? |
|
|
13210 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13211 | (exit $ac_status); }; } && |
|
|
13212 | { ac_try='test -s conftest.$ac_objext' |
|
|
13213 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13214 | (eval $ac_try) 2>&5 |
|
|
13215 | ac_status=$? |
|
|
13216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13217 | (exit $ac_status); }; }; then |
|
|
13218 | ac_cv_type_int_p=yes |
|
|
13219 | else |
|
|
13220 | echo "$as_me: failed program was:" >&5 |
|
|
13221 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13222 | |
|
|
13223 | ac_cv_type_int_p=no |
|
|
13224 | fi |
|
|
13225 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13226 | fi |
|
|
13227 | echo "$as_me:$LINENO: result: $ac_cv_type_int_p" >&5 |
|
|
13228 | echo "${ECHO_T}$ac_cv_type_int_p" >&6 |
|
|
13229 | |
|
|
13230 | echo "$as_me:$LINENO: checking size of int *" >&5 |
|
|
13231 | echo $ECHO_N "checking size of int *... $ECHO_C" >&6 |
|
|
13232 | if test "${ac_cv_sizeof_int_p+set}" = set; then |
|
|
13233 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
13234 | else |
|
|
13235 | if test "$ac_cv_type_int_p" = yes; then |
|
|
13236 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
13237 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
13238 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
13239 | # This bug is HP SR number 8606223364. |
7709 | if test "$cross_compiling" = yes; then |
13240 | if test "$cross_compiling" = yes; then |
7710 | ac_cv_sizeof_short=2 |
13241 | # Depending upon the size, compute the lo and hi bounds. |
|
|
13242 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13243 | /* confdefs.h. */ |
|
|
13244 | _ACEOF |
|
|
13245 | cat confdefs.h >>conftest.$ac_ext |
|
|
13246 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13247 | /* end confdefs.h. */ |
|
|
13248 | $ac_includes_default |
|
|
13249 | int |
|
|
13250 | main () |
|
|
13251 | { |
|
|
13252 | static int test_array [1 - 2 * !(((long) (sizeof (int *))) >= 0)]; |
|
|
13253 | test_array [0] = 0 |
|
|
13254 | |
|
|
13255 | ; |
|
|
13256 | return 0; |
|
|
13257 | } |
|
|
13258 | _ACEOF |
|
|
13259 | rm -f conftest.$ac_objext |
|
|
13260 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13261 | (eval $ac_compile) 2>conftest.er1 |
|
|
13262 | ac_status=$? |
|
|
13263 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13264 | rm -f conftest.er1 |
|
|
13265 | cat conftest.err >&5 |
|
|
13266 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13267 | (exit $ac_status); } && |
|
|
13268 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
13269 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13270 | (eval $ac_try) 2>&5 |
|
|
13271 | ac_status=$? |
|
|
13272 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13273 | (exit $ac_status); }; } && |
|
|
13274 | { ac_try='test -s conftest.$ac_objext' |
|
|
13275 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13276 | (eval $ac_try) 2>&5 |
|
|
13277 | ac_status=$? |
|
|
13278 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13279 | (exit $ac_status); }; }; then |
|
|
13280 | ac_lo=0 ac_mid=0 |
|
|
13281 | while :; do |
|
|
13282 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13283 | /* confdefs.h. */ |
|
|
13284 | _ACEOF |
|
|
13285 | cat confdefs.h >>conftest.$ac_ext |
|
|
13286 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13287 | /* end confdefs.h. */ |
|
|
13288 | $ac_includes_default |
|
|
13289 | int |
|
|
13290 | main () |
|
|
13291 | { |
|
|
13292 | static int test_array [1 - 2 * !(((long) (sizeof (int *))) <= $ac_mid)]; |
|
|
13293 | test_array [0] = 0 |
|
|
13294 | |
|
|
13295 | ; |
|
|
13296 | return 0; |
|
|
13297 | } |
|
|
13298 | _ACEOF |
|
|
13299 | rm -f conftest.$ac_objext |
|
|
13300 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13301 | (eval $ac_compile) 2>conftest.er1 |
|
|
13302 | ac_status=$? |
|
|
13303 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13304 | rm -f conftest.er1 |
|
|
13305 | cat conftest.err >&5 |
|
|
13306 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13307 | (exit $ac_status); } && |
|
|
13308 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
13309 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13310 | (eval $ac_try) 2>&5 |
|
|
13311 | ac_status=$? |
|
|
13312 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13313 | (exit $ac_status); }; } && |
|
|
13314 | { ac_try='test -s conftest.$ac_objext' |
|
|
13315 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13316 | (eval $ac_try) 2>&5 |
|
|
13317 | ac_status=$? |
|
|
13318 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13319 | (exit $ac_status); }; }; then |
|
|
13320 | ac_hi=$ac_mid; break |
7711 | else |
13321 | else |
|
|
13322 | echo "$as_me: failed program was:" >&5 |
|
|
13323 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13324 | |
|
|
13325 | ac_lo=`expr $ac_mid + 1` |
|
|
13326 | if test $ac_lo -le $ac_mid; then |
|
|
13327 | ac_lo= ac_hi= |
|
|
13328 | break |
|
|
13329 | fi |
|
|
13330 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
13331 | fi |
|
|
13332 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13333 | done |
|
|
13334 | else |
|
|
13335 | echo "$as_me: failed program was:" >&5 |
|
|
13336 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13337 | |
|
|
13338 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13339 | /* confdefs.h. */ |
|
|
13340 | _ACEOF |
|
|
13341 | cat confdefs.h >>conftest.$ac_ext |
|
|
13342 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13343 | /* end confdefs.h. */ |
|
|
13344 | $ac_includes_default |
|
|
13345 | int |
|
|
13346 | main () |
|
|
13347 | { |
|
|
13348 | static int test_array [1 - 2 * !(((long) (sizeof (int *))) < 0)]; |
|
|
13349 | test_array [0] = 0 |
|
|
13350 | |
|
|
13351 | ; |
|
|
13352 | return 0; |
|
|
13353 | } |
|
|
13354 | _ACEOF |
|
|
13355 | rm -f conftest.$ac_objext |
|
|
13356 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13357 | (eval $ac_compile) 2>conftest.er1 |
|
|
13358 | ac_status=$? |
|
|
13359 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13360 | rm -f conftest.er1 |
|
|
13361 | cat conftest.err >&5 |
|
|
13362 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13363 | (exit $ac_status); } && |
|
|
13364 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
13365 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13366 | (eval $ac_try) 2>&5 |
|
|
13367 | ac_status=$? |
|
|
13368 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13369 | (exit $ac_status); }; } && |
|
|
13370 | { ac_try='test -s conftest.$ac_objext' |
|
|
13371 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13372 | (eval $ac_try) 2>&5 |
|
|
13373 | ac_status=$? |
|
|
13374 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13375 | (exit $ac_status); }; }; then |
|
|
13376 | ac_hi=-1 ac_mid=-1 |
|
|
13377 | while :; do |
|
|
13378 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13379 | /* confdefs.h. */ |
|
|
13380 | _ACEOF |
|
|
13381 | cat confdefs.h >>conftest.$ac_ext |
|
|
13382 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13383 | /* end confdefs.h. */ |
|
|
13384 | $ac_includes_default |
|
|
13385 | int |
|
|
13386 | main () |
|
|
13387 | { |
|
|
13388 | static int test_array [1 - 2 * !(((long) (sizeof (int *))) >= $ac_mid)]; |
|
|
13389 | test_array [0] = 0 |
|
|
13390 | |
|
|
13391 | ; |
|
|
13392 | return 0; |
|
|
13393 | } |
|
|
13394 | _ACEOF |
|
|
13395 | rm -f conftest.$ac_objext |
|
|
13396 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13397 | (eval $ac_compile) 2>conftest.er1 |
|
|
13398 | ac_status=$? |
|
|
13399 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13400 | rm -f conftest.er1 |
|
|
13401 | cat conftest.err >&5 |
|
|
13402 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13403 | (exit $ac_status); } && |
|
|
13404 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
13405 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13406 | (eval $ac_try) 2>&5 |
|
|
13407 | ac_status=$? |
|
|
13408 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13409 | (exit $ac_status); }; } && |
|
|
13410 | { ac_try='test -s conftest.$ac_objext' |
|
|
13411 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13412 | (eval $ac_try) 2>&5 |
|
|
13413 | ac_status=$? |
|
|
13414 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13415 | (exit $ac_status); }; }; then |
|
|
13416 | ac_lo=$ac_mid; break |
|
|
13417 | else |
|
|
13418 | echo "$as_me: failed program was:" >&5 |
|
|
13419 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13420 | |
|
|
13421 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
13422 | if test $ac_mid -le $ac_hi; then |
|
|
13423 | ac_lo= ac_hi= |
|
|
13424 | break |
|
|
13425 | fi |
|
|
13426 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
13427 | fi |
|
|
13428 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13429 | done |
|
|
13430 | else |
|
|
13431 | echo "$as_me: failed program was:" >&5 |
|
|
13432 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13433 | |
|
|
13434 | ac_lo= ac_hi= |
|
|
13435 | fi |
|
|
13436 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13437 | fi |
|
|
13438 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13439 | # Binary search between lo and hi bounds. |
|
|
13440 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
13441 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
7712 | cat > conftest.$ac_ext <<EOF |
13442 | cat >conftest.$ac_ext <<_ACEOF |
7713 | #line 7714 "configure" |
13443 | /* confdefs.h. */ |
7714 | #include "confdefs.h" |
13444 | _ACEOF |
|
|
13445 | cat confdefs.h >>conftest.$ac_ext |
|
|
13446 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13447 | /* end confdefs.h. */ |
|
|
13448 | $ac_includes_default |
|
|
13449 | int |
|
|
13450 | main () |
|
|
13451 | { |
|
|
13452 | static int test_array [1 - 2 * !(((long) (sizeof (int *))) <= $ac_mid)]; |
|
|
13453 | test_array [0] = 0 |
|
|
13454 | |
|
|
13455 | ; |
|
|
13456 | return 0; |
|
|
13457 | } |
|
|
13458 | _ACEOF |
|
|
13459 | rm -f conftest.$ac_objext |
|
|
13460 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13461 | (eval $ac_compile) 2>conftest.er1 |
|
|
13462 | ac_status=$? |
|
|
13463 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13464 | rm -f conftest.er1 |
|
|
13465 | cat conftest.err >&5 |
|
|
13466 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13467 | (exit $ac_status); } && |
|
|
13468 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
13469 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13470 | (eval $ac_try) 2>&5 |
|
|
13471 | ac_status=$? |
|
|
13472 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13473 | (exit $ac_status); }; } && |
|
|
13474 | { ac_try='test -s conftest.$ac_objext' |
|
|
13475 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13476 | (eval $ac_try) 2>&5 |
|
|
13477 | ac_status=$? |
|
|
13478 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13479 | (exit $ac_status); }; }; then |
|
|
13480 | ac_hi=$ac_mid |
|
|
13481 | else |
|
|
13482 | echo "$as_me: failed program was:" >&5 |
|
|
13483 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13484 | |
|
|
13485 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
13486 | fi |
|
|
13487 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13488 | done |
|
|
13489 | case $ac_lo in |
|
|
13490 | ?*) ac_cv_sizeof_int_p=$ac_lo;; |
|
|
13491 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *), 77 |
|
|
13492 | See \`config.log' for more details." >&5 |
|
|
13493 | echo "$as_me: error: cannot compute sizeof (int *), 77 |
|
|
13494 | See \`config.log' for more details." >&2;} |
|
|
13495 | { (exit 1); exit 1; }; } ;; |
|
|
13496 | esac |
|
|
13497 | else |
|
|
13498 | if test "$cross_compiling" = yes; then |
|
|
13499 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
|
|
13500 | See \`config.log' for more details." >&5 |
|
|
13501 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
13502 | See \`config.log' for more details." >&2;} |
|
|
13503 | { (exit 1); exit 1; }; } |
|
|
13504 | else |
|
|
13505 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13506 | /* confdefs.h. */ |
|
|
13507 | _ACEOF |
|
|
13508 | cat confdefs.h >>conftest.$ac_ext |
|
|
13509 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13510 | /* end confdefs.h. */ |
|
|
13511 | $ac_includes_default |
|
|
13512 | long longval () { return (long) (sizeof (int *)); } |
|
|
13513 | unsigned long ulongval () { return (long) (sizeof (int *)); } |
7715 | #include <stdio.h> |
13514 | #include <stdio.h> |
7716 | #include <sys/types.h> |
13515 | #include <stdlib.h> |
|
|
13516 | int |
7717 | main() |
13517 | main () |
7718 | { |
13518 | { |
|
|
13519 | |
7719 | FILE *f=fopen("conftestval", "w"); |
13520 | FILE *f = fopen ("conftest.val", "w"); |
7720 | if (!f) exit(1); |
13521 | if (! f) |
7721 | fprintf(f, "%d\n", sizeof(short)); |
|
|
7722 | exit(0); |
13522 | exit (1); |
|
|
13523 | if (((long) (sizeof (int *))) < 0) |
|
|
13524 | { |
|
|
13525 | long i = longval (); |
|
|
13526 | if (i != ((long) (sizeof (int *)))) |
|
|
13527 | exit (1); |
|
|
13528 | fprintf (f, "%ld\n", i); |
|
|
13529 | } |
|
|
13530 | else |
|
|
13531 | { |
|
|
13532 | unsigned long i = ulongval (); |
|
|
13533 | if (i != ((long) (sizeof (int *)))) |
|
|
13534 | exit (1); |
|
|
13535 | fprintf (f, "%lu\n", i); |
|
|
13536 | } |
|
|
13537 | exit (ferror (f) || fclose (f) != 0); |
|
|
13538 | |
|
|
13539 | ; |
|
|
13540 | return 0; |
7723 | } |
13541 | } |
7724 | EOF |
13542 | _ACEOF |
7725 | if { (eval echo configure:7726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
13543 | rm -f conftest$ac_exeext |
7726 | then |
13544 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13545 | (eval $ac_link) 2>&5 |
|
|
13546 | ac_status=$? |
|
|
13547 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13548 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
13549 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13550 | (eval $ac_try) 2>&5 |
|
|
13551 | ac_status=$? |
|
|
13552 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13553 | (exit $ac_status); }; }; then |
7727 | ac_cv_sizeof_short=`cat conftestval` |
13554 | ac_cv_sizeof_int_p=`cat conftest.val` |
7728 | else |
13555 | else |
|
|
13556 | echo "$as_me: program exited with status $ac_status" >&5 |
7729 | echo "configure: failed program was:" >&5 |
13557 | echo "$as_me: failed program was:" >&5 |
7730 | cat conftest.$ac_ext >&5 |
13558 | sed 's/^/| /' conftest.$ac_ext >&5 |
7731 | rm -fr conftest* |
13559 | |
7732 | ac_cv_sizeof_short=0 |
13560 | ( exit $ac_status ) |
|
|
13561 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *), 77 |
|
|
13562 | See \`config.log' for more details." >&5 |
|
|
13563 | echo "$as_me: error: cannot compute sizeof (int *), 77 |
|
|
13564 | See \`config.log' for more details." >&2;} |
|
|
13565 | { (exit 1); exit 1; }; } |
7733 | fi |
13566 | fi |
|
|
13567 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
13568 | fi |
|
|
13569 | fi |
7734 | rm -fr conftest* |
13570 | rm -f conftest.val |
|
|
13571 | else |
|
|
13572 | ac_cv_sizeof_int_p=0 |
7735 | fi |
13573 | fi |
7736 | |
|
|
7737 | fi |
13574 | fi |
7738 | echo "$ac_t""$ac_cv_sizeof_short" 1>&6 |
13575 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int_p" >&5 |
|
|
13576 | echo "${ECHO_T}$ac_cv_sizeof_int_p" >&6 |
7739 | cat >> confdefs.h <<EOF |
13577 | cat >>confdefs.h <<_ACEOF |
7740 | #define SIZEOF_SHORT $ac_cv_sizeof_short |
13578 | #define SIZEOF_INT_P $ac_cv_sizeof_int_p |
7741 | EOF |
13579 | _ACEOF |
7742 | |
13580 | |
7743 | |
13581 | |
7744 | echo $ac_n "checking size of int""... $ac_c" 1>&6 |
13582 | |
7745 | echo "configure:7746: checking size of int" >&5 |
13583 | |
7746 | if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then |
13584 | echo "$as_me:$LINENO: checking for int16_t" >&5 |
|
|
13585 | echo $ECHO_N "checking for int16_t... $ECHO_C" >&6 |
|
|
13586 | if test "${rxvt_cv_int16_t+set}" = set; then |
7747 | echo $ac_n "(cached) $ac_c" 1>&6 |
13587 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7748 | else |
13588 | else |
7749 | if test "$cross_compiling" = yes; then |
|
|
7750 | ac_cv_sizeof_int=4 |
|
|
7751 | else |
|
|
7752 | cat > conftest.$ac_ext <<EOF |
13589 | cat >conftest.$ac_ext <<_ACEOF |
7753 | #line 7754 "configure" |
13590 | /* confdefs.h. */ |
7754 | #include "confdefs.h" |
13591 | _ACEOF |
|
|
13592 | cat confdefs.h >>conftest.$ac_ext |
|
|
13593 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13594 | /* end confdefs.h. */ |
7755 | #include <stdio.h> |
13595 | #include <stdint.h> |
7756 | #include <sys/types.h> |
13596 | int |
7757 | main() |
13597 | main () |
7758 | { |
13598 | { |
7759 | FILE *f=fopen("conftestval", "w"); |
13599 | int16_t dummy; |
7760 | if (!f) exit(1); |
13600 | ; |
7761 | fprintf(f, "%d\n", sizeof(int)); |
13601 | return 0; |
7762 | exit(0); |
|
|
7763 | } |
13602 | } |
7764 | EOF |
13603 | _ACEOF |
7765 | if { (eval echo configure:7766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
13604 | rm -f conftest.$ac_objext |
7766 | then |
13605 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7767 | ac_cv_sizeof_int=`cat conftestval` |
13606 | (eval $ac_compile) 2>conftest.er1 |
7768 | else |
13607 | ac_status=$? |
7769 | echo "configure: failed program was:" >&5 |
13608 | grep -v '^ *+' conftest.er1 >conftest.err |
7770 | cat conftest.$ac_ext >&5 |
|
|
7771 | rm -fr conftest* |
13609 | rm -f conftest.er1 |
7772 | ac_cv_sizeof_int=0 |
|
|
7773 | fi |
|
|
7774 | rm -fr conftest* |
|
|
7775 | fi |
|
|
7776 | |
|
|
7777 | fi |
|
|
7778 | echo "$ac_t""$ac_cv_sizeof_int" 1>&6 |
|
|
7779 | cat >> confdefs.h <<EOF |
|
|
7780 | #define SIZEOF_INT $ac_cv_sizeof_int |
|
|
7781 | EOF |
|
|
7782 | |
|
|
7783 | |
|
|
7784 | echo $ac_n "checking size of long""... $ac_c" 1>&6 |
|
|
7785 | echo "configure:7786: checking size of long" >&5 |
|
|
7786 | if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then |
|
|
7787 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
7788 | else |
|
|
7789 | if test "$cross_compiling" = yes; then |
|
|
7790 | ac_cv_sizeof_long=4 |
|
|
7791 | else |
|
|
7792 | cat > conftest.$ac_ext <<EOF |
|
|
7793 | #line 7794 "configure" |
|
|
7794 | #include "confdefs.h" |
|
|
7795 | #include <stdio.h> |
|
|
7796 | #include <sys/types.h> |
|
|
7797 | main() |
|
|
7798 | { |
|
|
7799 | FILE *f=fopen("conftestval", "w"); |
|
|
7800 | if (!f) exit(1); |
|
|
7801 | fprintf(f, "%d\n", sizeof(long)); |
|
|
7802 | exit(0); |
|
|
7803 | } |
|
|
7804 | EOF |
|
|
7805 | if { (eval echo configure:7806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
7806 | then |
|
|
7807 | ac_cv_sizeof_long=`cat conftestval` |
|
|
7808 | else |
|
|
7809 | echo "configure: failed program was:" >&5 |
|
|
7810 | cat conftest.$ac_ext >&5 |
13610 | cat conftest.err >&5 |
7811 | rm -fr conftest* |
13611 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7812 | ac_cv_sizeof_long=0 |
13612 | (exit $ac_status); } && |
7813 | fi |
13613 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7814 | rm -fr conftest* |
13614 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7815 | fi |
13615 | (eval $ac_try) 2>&5 |
7816 | |
13616 | ac_status=$? |
7817 | fi |
13617 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7818 | echo "$ac_t""$ac_cv_sizeof_long" 1>&6 |
13618 | (exit $ac_status); }; } && |
7819 | cat >> confdefs.h <<EOF |
13619 | { ac_try='test -s conftest.$ac_objext' |
7820 | #define SIZEOF_LONG $ac_cv_sizeof_long |
13620 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7821 | EOF |
13621 | (eval $ac_try) 2>&5 |
7822 | |
13622 | ac_status=$? |
7823 | |
13623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7824 | echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
13624 | (exit $ac_status); }; }; then |
7825 | echo "configure:7826: checking size of long long" >&5 |
|
|
7826 | if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then |
|
|
7827 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
7828 | else |
|
|
7829 | if test "$cross_compiling" = yes; then |
|
|
7830 | ac_cv_sizeof_long_long=8 |
|
|
7831 | else |
|
|
7832 | cat > conftest.$ac_ext <<EOF |
|
|
7833 | #line 7834 "configure" |
|
|
7834 | #include "confdefs.h" |
|
|
7835 | #include <stdio.h> |
|
|
7836 | #include <sys/types.h> |
|
|
7837 | main() |
|
|
7838 | { |
|
|
7839 | FILE *f=fopen("conftestval", "w"); |
|
|
7840 | if (!f) exit(1); |
|
|
7841 | fprintf(f, "%d\n", sizeof(long long)); |
|
|
7842 | exit(0); |
|
|
7843 | } |
|
|
7844 | EOF |
|
|
7845 | if { (eval echo configure:7846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
7846 | then |
|
|
7847 | ac_cv_sizeof_long_long=`cat conftestval` |
|
|
7848 | else |
|
|
7849 | echo "configure: failed program was:" >&5 |
|
|
7850 | cat conftest.$ac_ext >&5 |
|
|
7851 | rm -fr conftest* |
|
|
7852 | ac_cv_sizeof_long_long=0 |
|
|
7853 | fi |
|
|
7854 | rm -fr conftest* |
|
|
7855 | fi |
|
|
7856 | |
|
|
7857 | fi |
|
|
7858 | echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6 |
|
|
7859 | cat >> confdefs.h <<EOF |
|
|
7860 | #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
|
|
7861 | EOF |
|
|
7862 | |
|
|
7863 | |
|
|
7864 | echo $ac_n "checking size of int *""... $ac_c" 1>&6 |
|
|
7865 | echo "configure:7866: checking size of int *" >&5 |
|
|
7866 | if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then |
|
|
7867 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
7868 | else |
|
|
7869 | if test "$cross_compiling" = yes; then |
|
|
7870 | ac_cv_sizeof_int_p=4 |
|
|
7871 | else |
|
|
7872 | cat > conftest.$ac_ext <<EOF |
|
|
7873 | #line 7874 "configure" |
|
|
7874 | #include "confdefs.h" |
|
|
7875 | #include <stdio.h> |
|
|
7876 | #include <sys/types.h> |
|
|
7877 | main() |
|
|
7878 | { |
|
|
7879 | FILE *f=fopen("conftestval", "w"); |
|
|
7880 | if (!f) exit(1); |
|
|
7881 | fprintf(f, "%d\n", sizeof(int *)); |
|
|
7882 | exit(0); |
|
|
7883 | } |
|
|
7884 | EOF |
|
|
7885 | if { (eval echo configure:7886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
7886 | then |
|
|
7887 | ac_cv_sizeof_int_p=`cat conftestval` |
|
|
7888 | else |
|
|
7889 | echo "configure: failed program was:" >&5 |
|
|
7890 | cat conftest.$ac_ext >&5 |
|
|
7891 | rm -fr conftest* |
|
|
7892 | ac_cv_sizeof_int_p=0 |
|
|
7893 | fi |
|
|
7894 | rm -fr conftest* |
|
|
7895 | fi |
|
|
7896 | |
|
|
7897 | fi |
|
|
7898 | echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6 |
|
|
7899 | cat >> confdefs.h <<EOF |
|
|
7900 | #define SIZEOF_INT_P $ac_cv_sizeof_int_p |
|
|
7901 | EOF |
|
|
7902 | |
|
|
7903 | |
|
|
7904 | |
|
|
7905 | |
|
|
7906 | echo $ac_n "checking for int16_t""... $ac_c" 1>&6 |
|
|
7907 | echo "configure:7908: checking for int16_t" >&5 |
|
|
7908 | if eval "test \"`echo '$''{'rxvt_cv_int16_t'+set}'`\" = set"; then |
|
|
7909 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
7910 | else |
|
|
7911 | cat > conftest.$ac_ext <<EOF |
|
|
7912 | #line 7913 "configure" |
|
|
7913 | #include "confdefs.h" |
|
|
7914 | #include <stdint.h> |
|
|
7915 | int main() { |
|
|
7916 | int16_t dummy; |
|
|
7917 | ; return 0; } |
|
|
7918 | EOF |
|
|
7919 | if { (eval echo configure:7920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
7920 | rm -rf conftest* |
|
|
7921 | rxvt_cv_int16_t=yes |
13625 | rxvt_cv_int16_t=yes |
7922 | else |
13626 | else |
7923 | echo "configure: failed program was:" >&5 |
13627 | echo "$as_me: failed program was:" >&5 |
7924 | cat conftest.$ac_ext >&5 |
13628 | sed 's/^/| /' conftest.$ac_ext >&5 |
7925 | rm -rf conftest* |
13629 | |
7926 | if test $ac_cv_sizeof_char -ge 2; then |
13630 | if test $ac_cv_sizeof_char -ge 2; then |
7927 | rxvt_cv_int16_t=" char" |
13631 | rxvt_cv_int16_t=" char" |
7928 | else |
13632 | else |
7929 | if test $ac_cv_sizeof_short -ge 2; then |
13633 | if test $ac_cv_sizeof_short -ge 2; then |
7930 | rxvt_cv_int16_t=" short" |
13634 | rxvt_cv_int16_t=" short" |
7931 | else |
13635 | else |
… | |
… | |
7943 | fi |
13647 | fi |
7944 | fi |
13648 | fi |
7945 | fi |
13649 | fi |
7946 | fi |
13650 | fi |
7947 | fi |
13651 | fi |
7948 | rm -f conftest* |
13652 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7949 | fi |
13653 | fi |
7950 | |
13654 | echo "$as_me:$LINENO: result: $rxvt_cv_int16_t" >&5 |
7951 | echo "$ac_t""$rxvt_cv_int16_t" 1>&6 |
13655 | echo "${ECHO_T}$rxvt_cv_int16_t" >&6 |
7952 | if test x"$rxvt_cv_int16_t" != xyes; then |
13656 | if test x"$rxvt_cv_int16_t" != xyes; then |
7953 | rxvt_int16_typedef="typedef $rxvt_cv_int16_t int16_t;" |
13657 | rxvt_int16_typedef="typedef $rxvt_cv_int16_t int16_t;" |
7954 | else |
13658 | else |
7955 | if test x"" = x; then |
13659 | if test x"" = x; then |
7956 | rxvt_int16_typedef="/* typedef short int16_t; */" |
13660 | rxvt_int16_typedef="/* typedef short int16_t; */" |
7957 | else |
13661 | else |
7958 | rxvt_int16_typedef="/* typedef short int16_t; */" |
13662 | rxvt_int16_typedef="/* typedef short int16_t; */" |
7959 | fi |
13663 | fi |
7960 | fi |
13664 | fi |
7961 | |
13665 | |
|
|
13666 | echo "$as_me:$LINENO: checking for uint16_t" >&5 |
7962 | echo $ac_n "checking for uint16_t""... $ac_c" 1>&6 |
13667 | echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6 |
7963 | echo "configure:7964: checking for uint16_t" >&5 |
|
|
7964 | if eval "test \"`echo '$''{'rxvt_cv_uint16_t'+set}'`\" = set"; then |
13668 | if test "${rxvt_cv_uint16_t+set}" = set; then |
7965 | echo $ac_n "(cached) $ac_c" 1>&6 |
13669 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7966 | else |
13670 | else |
7967 | cat > conftest.$ac_ext <<EOF |
13671 | cat >conftest.$ac_ext <<_ACEOF |
7968 | #line 7969 "configure" |
13672 | /* confdefs.h. */ |
7969 | #include "confdefs.h" |
13673 | _ACEOF |
|
|
13674 | cat confdefs.h >>conftest.$ac_ext |
|
|
13675 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13676 | /* end confdefs.h. */ |
7970 | #include <stdint.h> |
13677 | #include <stdint.h> |
7971 | int main() { |
13678 | int |
|
|
13679 | main () |
|
|
13680 | { |
7972 | uint16_t dummy; |
13681 | uint16_t dummy; |
|
|
13682 | ; |
7973 | ; return 0; } |
13683 | return 0; |
7974 | EOF |
13684 | } |
7975 | if { (eval echo configure:7976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13685 | _ACEOF |
|
|
13686 | rm -f conftest.$ac_objext |
|
|
13687 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13688 | (eval $ac_compile) 2>conftest.er1 |
|
|
13689 | ac_status=$? |
|
|
13690 | grep -v '^ *+' conftest.er1 >conftest.err |
7976 | rm -rf conftest* |
13691 | rm -f conftest.er1 |
|
|
13692 | cat conftest.err >&5 |
|
|
13693 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13694 | (exit $ac_status); } && |
|
|
13695 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
13696 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13697 | (eval $ac_try) 2>&5 |
|
|
13698 | ac_status=$? |
|
|
13699 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13700 | (exit $ac_status); }; } && |
|
|
13701 | { ac_try='test -s conftest.$ac_objext' |
|
|
13702 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13703 | (eval $ac_try) 2>&5 |
|
|
13704 | ac_status=$? |
|
|
13705 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13706 | (exit $ac_status); }; }; then |
7977 | rxvt_cv_uint16_t=yes |
13707 | rxvt_cv_uint16_t=yes |
7978 | else |
13708 | else |
7979 | echo "configure: failed program was:" >&5 |
13709 | echo "$as_me: failed program was:" >&5 |
7980 | cat conftest.$ac_ext >&5 |
13710 | sed 's/^/| /' conftest.$ac_ext >&5 |
7981 | rm -rf conftest* |
13711 | |
7982 | if test $ac_cv_sizeof_char -ge 2; then |
13712 | if test $ac_cv_sizeof_char -ge 2; then |
7983 | rxvt_cv_uint16_t="unsigned char" |
13713 | rxvt_cv_uint16_t="unsigned char" |
7984 | else |
13714 | else |
7985 | if test $ac_cv_sizeof_short -ge 2; then |
13715 | if test $ac_cv_sizeof_short -ge 2; then |
7986 | rxvt_cv_uint16_t="unsigned short" |
13716 | rxvt_cv_uint16_t="unsigned short" |
7987 | else |
13717 | else |
… | |
… | |
7999 | fi |
13729 | fi |
8000 | fi |
13730 | fi |
8001 | fi |
13731 | fi |
8002 | fi |
13732 | fi |
8003 | fi |
13733 | fi |
8004 | rm -f conftest* |
13734 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8005 | fi |
13735 | fi |
8006 | |
13736 | echo "$as_me:$LINENO: result: $rxvt_cv_uint16_t" >&5 |
8007 | echo "$ac_t""$rxvt_cv_uint16_t" 1>&6 |
13737 | echo "${ECHO_T}$rxvt_cv_uint16_t" >&6 |
8008 | if test x"$rxvt_cv_uint16_t" != xyes; then |
13738 | if test x"$rxvt_cv_uint16_t" != xyes; then |
8009 | rxvt_uint16_typedef="typedef $rxvt_cv_uint16_t uint16_t;" |
13739 | rxvt_uint16_typedef="typedef $rxvt_cv_uint16_t uint16_t;" |
8010 | else |
13740 | else |
8011 | if test x"unsigned" = x; then |
13741 | if test x"unsigned" = x; then |
8012 | rxvt_uint16_typedef="/* typedef short uint16_t; */" |
13742 | rxvt_uint16_typedef="/* typedef short uint16_t; */" |
8013 | else |
13743 | else |
8014 | rxvt_uint16_typedef="/* typedef unsigned short uint16_t; */" |
13744 | rxvt_uint16_typedef="/* typedef unsigned short uint16_t; */" |
8015 | fi |
13745 | fi |
8016 | fi |
13746 | fi |
8017 | |
13747 | |
|
|
13748 | echo "$as_me:$LINENO: checking for int32_t" >&5 |
8018 | echo $ac_n "checking for int32_t""... $ac_c" 1>&6 |
13749 | echo $ECHO_N "checking for int32_t... $ECHO_C" >&6 |
8019 | echo "configure:8020: checking for int32_t" >&5 |
|
|
8020 | if eval "test \"`echo '$''{'rxvt_cv_int32_t'+set}'`\" = set"; then |
13750 | if test "${rxvt_cv_int32_t+set}" = set; then |
8021 | echo $ac_n "(cached) $ac_c" 1>&6 |
13751 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8022 | else |
13752 | else |
8023 | cat > conftest.$ac_ext <<EOF |
13753 | cat >conftest.$ac_ext <<_ACEOF |
8024 | #line 8025 "configure" |
13754 | /* confdefs.h. */ |
8025 | #include "confdefs.h" |
13755 | _ACEOF |
|
|
13756 | cat confdefs.h >>conftest.$ac_ext |
|
|
13757 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13758 | /* end confdefs.h. */ |
8026 | #include <stdint.h> |
13759 | #include <stdint.h> |
8027 | int main() { |
13760 | int |
|
|
13761 | main () |
|
|
13762 | { |
8028 | int32_t dummy; |
13763 | int32_t dummy; |
|
|
13764 | ; |
8029 | ; return 0; } |
13765 | return 0; |
8030 | EOF |
13766 | } |
8031 | if { (eval echo configure:8032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13767 | _ACEOF |
|
|
13768 | rm -f conftest.$ac_objext |
|
|
13769 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13770 | (eval $ac_compile) 2>conftest.er1 |
|
|
13771 | ac_status=$? |
|
|
13772 | grep -v '^ *+' conftest.er1 >conftest.err |
8032 | rm -rf conftest* |
13773 | rm -f conftest.er1 |
|
|
13774 | cat conftest.err >&5 |
|
|
13775 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13776 | (exit $ac_status); } && |
|
|
13777 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
13778 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13779 | (eval $ac_try) 2>&5 |
|
|
13780 | ac_status=$? |
|
|
13781 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13782 | (exit $ac_status); }; } && |
|
|
13783 | { ac_try='test -s conftest.$ac_objext' |
|
|
13784 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13785 | (eval $ac_try) 2>&5 |
|
|
13786 | ac_status=$? |
|
|
13787 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13788 | (exit $ac_status); }; }; then |
8033 | rxvt_cv_int32_t=yes |
13789 | rxvt_cv_int32_t=yes |
8034 | else |
13790 | else |
8035 | echo "configure: failed program was:" >&5 |
13791 | echo "$as_me: failed program was:" >&5 |
8036 | cat conftest.$ac_ext >&5 |
13792 | sed 's/^/| /' conftest.$ac_ext >&5 |
8037 | rm -rf conftest* |
13793 | |
8038 | if test $ac_cv_sizeof_char -ge 4; then |
13794 | if test $ac_cv_sizeof_char -ge 4; then |
8039 | rxvt_cv_int32_t=" char" |
13795 | rxvt_cv_int32_t=" char" |
8040 | else |
13796 | else |
8041 | if test $ac_cv_sizeof_short -ge 4; then |
13797 | if test $ac_cv_sizeof_short -ge 4; then |
8042 | rxvt_cv_int32_t=" short" |
13798 | rxvt_cv_int32_t=" short" |
8043 | else |
13799 | else |
… | |
… | |
8055 | fi |
13811 | fi |
8056 | fi |
13812 | fi |
8057 | fi |
13813 | fi |
8058 | fi |
13814 | fi |
8059 | fi |
13815 | fi |
8060 | rm -f conftest* |
13816 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8061 | fi |
13817 | fi |
8062 | |
13818 | echo "$as_me:$LINENO: result: $rxvt_cv_int32_t" >&5 |
8063 | echo "$ac_t""$rxvt_cv_int32_t" 1>&6 |
13819 | echo "${ECHO_T}$rxvt_cv_int32_t" >&6 |
8064 | if test x"$rxvt_cv_int32_t" != xyes; then |
13820 | if test x"$rxvt_cv_int32_t" != xyes; then |
8065 | rxvt_int32_typedef="typedef $rxvt_cv_int32_t int32_t;" |
13821 | rxvt_int32_typedef="typedef $rxvt_cv_int32_t int32_t;" |
8066 | else |
13822 | else |
8067 | if test x"" = x; then |
13823 | if test x"" = x; then |
8068 | rxvt_int32_typedef="/* typedef int int32_t; */" |
13824 | rxvt_int32_typedef="/* typedef int int32_t; */" |
8069 | else |
13825 | else |
8070 | rxvt_int32_typedef="/* typedef int int32_t; */" |
13826 | rxvt_int32_typedef="/* typedef int int32_t; */" |
8071 | fi |
13827 | fi |
8072 | fi |
13828 | fi |
8073 | |
13829 | |
|
|
13830 | echo "$as_me:$LINENO: checking for uint32_t" >&5 |
8074 | echo $ac_n "checking for uint32_t""... $ac_c" 1>&6 |
13831 | echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6 |
8075 | echo "configure:8076: checking for uint32_t" >&5 |
|
|
8076 | if eval "test \"`echo '$''{'rxvt_cv_uint32_t'+set}'`\" = set"; then |
13832 | if test "${rxvt_cv_uint32_t+set}" = set; then |
8077 | echo $ac_n "(cached) $ac_c" 1>&6 |
13833 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8078 | else |
13834 | else |
8079 | cat > conftest.$ac_ext <<EOF |
13835 | cat >conftest.$ac_ext <<_ACEOF |
8080 | #line 8081 "configure" |
13836 | /* confdefs.h. */ |
8081 | #include "confdefs.h" |
13837 | _ACEOF |
|
|
13838 | cat confdefs.h >>conftest.$ac_ext |
|
|
13839 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13840 | /* end confdefs.h. */ |
8082 | #include <stdint.h> |
13841 | #include <stdint.h> |
8083 | int main() { |
13842 | int |
|
|
13843 | main () |
|
|
13844 | { |
8084 | uint32_t dummy; |
13845 | uint32_t dummy; |
|
|
13846 | ; |
8085 | ; return 0; } |
13847 | return 0; |
8086 | EOF |
13848 | } |
8087 | if { (eval echo configure:8088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13849 | _ACEOF |
|
|
13850 | rm -f conftest.$ac_objext |
|
|
13851 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13852 | (eval $ac_compile) 2>conftest.er1 |
|
|
13853 | ac_status=$? |
|
|
13854 | grep -v '^ *+' conftest.er1 >conftest.err |
8088 | rm -rf conftest* |
13855 | rm -f conftest.er1 |
|
|
13856 | cat conftest.err >&5 |
|
|
13857 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13858 | (exit $ac_status); } && |
|
|
13859 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
13860 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13861 | (eval $ac_try) 2>&5 |
|
|
13862 | ac_status=$? |
|
|
13863 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13864 | (exit $ac_status); }; } && |
|
|
13865 | { ac_try='test -s conftest.$ac_objext' |
|
|
13866 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13867 | (eval $ac_try) 2>&5 |
|
|
13868 | ac_status=$? |
|
|
13869 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13870 | (exit $ac_status); }; }; then |
8089 | rxvt_cv_uint32_t=yes |
13871 | rxvt_cv_uint32_t=yes |
8090 | else |
13872 | else |
8091 | echo "configure: failed program was:" >&5 |
13873 | echo "$as_me: failed program was:" >&5 |
8092 | cat conftest.$ac_ext >&5 |
13874 | sed 's/^/| /' conftest.$ac_ext >&5 |
8093 | rm -rf conftest* |
13875 | |
8094 | if test $ac_cv_sizeof_char -ge 4; then |
13876 | if test $ac_cv_sizeof_char -ge 4; then |
8095 | rxvt_cv_uint32_t="unsigned char" |
13877 | rxvt_cv_uint32_t="unsigned char" |
8096 | else |
13878 | else |
8097 | if test $ac_cv_sizeof_short -ge 4; then |
13879 | if test $ac_cv_sizeof_short -ge 4; then |
8098 | rxvt_cv_uint32_t="unsigned short" |
13880 | rxvt_cv_uint32_t="unsigned short" |
8099 | else |
13881 | else |
… | |
… | |
8111 | fi |
13893 | fi |
8112 | fi |
13894 | fi |
8113 | fi |
13895 | fi |
8114 | fi |
13896 | fi |
8115 | fi |
13897 | fi |
8116 | rm -f conftest* |
13898 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8117 | fi |
13899 | fi |
8118 | |
13900 | echo "$as_me:$LINENO: result: $rxvt_cv_uint32_t" >&5 |
8119 | echo "$ac_t""$rxvt_cv_uint32_t" 1>&6 |
13901 | echo "${ECHO_T}$rxvt_cv_uint32_t" >&6 |
8120 | if test x"$rxvt_cv_uint32_t" != xyes; then |
13902 | if test x"$rxvt_cv_uint32_t" != xyes; then |
8121 | rxvt_uint32_typedef="typedef $rxvt_cv_uint32_t uint32_t;" |
13903 | rxvt_uint32_typedef="typedef $rxvt_cv_uint32_t uint32_t;" |
8122 | else |
13904 | else |
8123 | if test x"unsigned" = x; then |
13905 | if test x"unsigned" = x; then |
8124 | rxvt_uint32_typedef="/* typedef int uint32_t; */" |
13906 | rxvt_uint32_typedef="/* typedef int uint32_t; */" |
8125 | else |
13907 | else |
8126 | rxvt_uint32_typedef="/* typedef unsigned int uint32_t; */" |
13908 | rxvt_uint32_typedef="/* typedef unsigned int uint32_t; */" |
8127 | fi |
13909 | fi |
8128 | fi |
13910 | fi |
8129 | |
13911 | |
8130 | if test $ac_cv_sizeof_int_p -eq 8; then |
13912 | if test $ac_cv_sizeof_int_p -eq 8; then |
8131 | rxvt_intp_define="#define intp_t int64_t" |
13913 | rxvt_intp_define="#define intp_t int64_t" |
8132 | rxvt_u_intp_define="#define u_intp_t u_int64_t" |
13914 | rxvt_u_intp_define="#define u_intp_t u_int64_t" |
8133 | else |
13915 | else |
… | |
… | |
8145 | fi |
13927 | fi |
8146 | fi |
13928 | fi |
8147 | |
13929 | |
8148 | |
13930 | |
8149 | |
13931 | |
|
|
13932 | echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
8150 | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
13933 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 |
8151 | echo "configure:8152: checking return type of signal handlers" >&5 |
|
|
8152 | if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
13934 | if test "${ac_cv_type_signal+set}" = set; then |
8153 | echo $ac_n "(cached) $ac_c" 1>&6 |
13935 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8154 | else |
13936 | else |
8155 | cat > conftest.$ac_ext <<EOF |
13937 | cat >conftest.$ac_ext <<_ACEOF |
8156 | #line 8157 "configure" |
13938 | /* confdefs.h. */ |
8157 | #include "confdefs.h" |
13939 | _ACEOF |
|
|
13940 | cat confdefs.h >>conftest.$ac_ext |
|
|
13941 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13942 | /* end confdefs.h. */ |
8158 | #include <sys/types.h> |
13943 | #include <sys/types.h> |
8159 | #include <signal.h> |
13944 | #include <signal.h> |
8160 | #ifdef signal |
13945 | #ifdef signal |
8161 | #undef signal |
13946 | # undef signal |
8162 | #endif |
13947 | #endif |
8163 | #ifdef __cplusplus |
13948 | #ifdef __cplusplus |
8164 | extern "C" void (*signal (int, void (*)(int)))(int); |
13949 | extern "C" void (*signal (int, void (*)(int)))(int); |
8165 | #else |
13950 | #else |
8166 | void (*signal ()) (); |
13951 | void (*signal ()) (); |
8167 | #endif |
13952 | #endif |
8168 | |
13953 | |
8169 | int main() { |
13954 | int |
|
|
13955 | main () |
|
|
13956 | { |
8170 | int i; |
13957 | int i; |
|
|
13958 | ; |
8171 | ; return 0; } |
13959 | return 0; |
8172 | EOF |
13960 | } |
8173 | if { (eval echo configure:8174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13961 | _ACEOF |
|
|
13962 | rm -f conftest.$ac_objext |
|
|
13963 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13964 | (eval $ac_compile) 2>conftest.er1 |
|
|
13965 | ac_status=$? |
|
|
13966 | grep -v '^ *+' conftest.er1 >conftest.err |
8174 | rm -rf conftest* |
13967 | rm -f conftest.er1 |
|
|
13968 | cat conftest.err >&5 |
|
|
13969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13970 | (exit $ac_status); } && |
|
|
13971 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
13972 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13973 | (eval $ac_try) 2>&5 |
|
|
13974 | ac_status=$? |
|
|
13975 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13976 | (exit $ac_status); }; } && |
|
|
13977 | { ac_try='test -s conftest.$ac_objext' |
|
|
13978 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13979 | (eval $ac_try) 2>&5 |
|
|
13980 | ac_status=$? |
|
|
13981 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13982 | (exit $ac_status); }; }; then |
8175 | ac_cv_type_signal=void |
13983 | ac_cv_type_signal=void |
8176 | else |
13984 | else |
8177 | echo "configure: failed program was:" >&5 |
13985 | echo "$as_me: failed program was:" >&5 |
8178 | cat conftest.$ac_ext >&5 |
13986 | sed 's/^/| /' conftest.$ac_ext >&5 |
8179 | rm -rf conftest* |
13987 | |
8180 | ac_cv_type_signal=int |
13988 | ac_cv_type_signal=int |
8181 | fi |
13989 | fi |
8182 | rm -f conftest* |
13990 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8183 | fi |
13991 | fi |
8184 | |
13992 | echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
8185 | echo "$ac_t""$ac_cv_type_signal" 1>&6 |
13993 | echo "${ECHO_T}$ac_cv_type_signal" >&6 |
|
|
13994 | |
8186 | cat >> confdefs.h <<EOF |
13995 | cat >>confdefs.h <<_ACEOF |
8187 | #define RETSIGTYPE $ac_cv_type_signal |
13996 | #define RETSIGTYPE $ac_cv_type_signal |
8188 | EOF |
13997 | _ACEOF |
8189 | |
13998 | |
8190 | |
13999 | |
8191 | |
14000 | |
8192 | case "$host_alias" in |
14001 | case "$host_alias" in |
8193 | *ultrix) ac_cv_func_setsid='no' ;; |
14002 | *ultrix) ac_cv_func_setsid='no' ;; |
8194 | *) break;; |
14003 | *) break;; |
8195 | esac |
14004 | esac |
|
|
14005 | |
|
|
14006 | |
|
|
14007 | |
|
|
14008 | |
|
|
14009 | |
|
|
14010 | |
|
|
14011 | |
|
|
14012 | |
|
|
14013 | |
|
|
14014 | |
|
|
14015 | |
|
|
14016 | |
|
|
14017 | |
|
|
14018 | |
|
|
14019 | |
|
|
14020 | |
|
|
14021 | |
|
|
14022 | |
8196 | |
14023 | |
8197 | for ac_func in \ |
14024 | for ac_func in \ |
8198 | atexit \ |
14025 | atexit \ |
8199 | revoke \ |
14026 | revoke \ |
8200 | unsetenv \ |
14027 | unsetenv \ |
… | |
… | |
8213 | nanosleep \ |
14040 | nanosleep \ |
8214 | updwtmp \ |
14041 | updwtmp \ |
8215 | ttyslot \ |
14042 | ttyslot \ |
8216 | |
14043 | |
8217 | do |
14044 | do |
|
|
14045 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
14046 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
8218 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
14047 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8219 | echo "configure:8220: checking for $ac_func" >&5 |
14048 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
8220 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|
|
8221 | echo $ac_n "(cached) $ac_c" 1>&6 |
14049 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8222 | else |
14050 | else |
8223 | cat > conftest.$ac_ext <<EOF |
14051 | cat >conftest.$ac_ext <<_ACEOF |
8224 | #line 8225 "configure" |
14052 | /* confdefs.h. */ |
8225 | #include "confdefs.h" |
14053 | _ACEOF |
|
|
14054 | cat confdefs.h >>conftest.$ac_ext |
|
|
14055 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
14056 | /* end confdefs.h. */ |
|
|
14057 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
14058 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
14059 | #define $ac_func innocuous_$ac_func |
|
|
14060 | |
8226 | /* System header to define __stub macros and hopefully few prototypes, |
14061 | /* System header to define __stub macros and hopefully few prototypes, |
8227 | which can conflict with char $ac_func(); below. */ |
14062 | which can conflict with char $ac_func (); below. |
|
|
14063 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
14064 | <limits.h> exists even on freestanding compilers. */ |
|
|
14065 | |
|
|
14066 | #ifdef __STDC__ |
|
|
14067 | # include <limits.h> |
|
|
14068 | #else |
8228 | #include <assert.h> |
14069 | # include <assert.h> |
|
|
14070 | #endif |
|
|
14071 | |
|
|
14072 | #undef $ac_func |
|
|
14073 | |
8229 | /* Override any gcc2 internal prototype to avoid an error. */ |
14074 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
14075 | #ifdef __cplusplus |
|
|
14076 | extern "C" |
|
|
14077 | { |
|
|
14078 | #endif |
8230 | /* We use char because int might match the return type of a gcc2 |
14079 | /* We use char because int might match the return type of a gcc2 |
8231 | builtin and then its argument prototype would still apply. */ |
14080 | builtin and then its argument prototype would still apply. */ |
8232 | char $ac_func(); |
14081 | char $ac_func (); |
8233 | |
|
|
8234 | int main() { |
|
|
8235 | |
|
|
8236 | /* The GNU C library defines this for functions which it implements |
14082 | /* The GNU C library defines this for functions which it implements |
8237 | to always fail with ENOSYS. Some functions are actually named |
14083 | to always fail with ENOSYS. Some functions are actually named |
8238 | something starting with __ and the normal name is an alias. */ |
14084 | something starting with __ and the normal name is an alias. */ |
8239 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
14085 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
8240 | choke me |
14086 | choke me |
8241 | #else |
14087 | #else |
8242 | $ac_func(); |
14088 | char (*f) () = $ac_func; |
8243 | #endif |
14089 | #endif |
|
|
14090 | #ifdef __cplusplus |
|
|
14091 | } |
|
|
14092 | #endif |
8244 | |
14093 | |
|
|
14094 | int |
|
|
14095 | main () |
|
|
14096 | { |
|
|
14097 | return f != $ac_func; |
|
|
14098 | ; |
8245 | ; return 0; } |
14099 | return 0; |
8246 | EOF |
14100 | } |
8247 | if { (eval echo configure:8248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14101 | _ACEOF |
|
|
14102 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
14103 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
14104 | (eval $ac_link) 2>conftest.er1 |
|
|
14105 | ac_status=$? |
|
|
14106 | grep -v '^ *+' conftest.er1 >conftest.err |
8248 | rm -rf conftest* |
14107 | rm -f conftest.er1 |
8249 | eval "ac_cv_func_$ac_func=yes" |
14108 | cat conftest.err >&5 |
|
|
14109 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14110 | (exit $ac_status); } && |
|
|
14111 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
14112 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14113 | (eval $ac_try) 2>&5 |
|
|
14114 | ac_status=$? |
|
|
14115 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14116 | (exit $ac_status); }; } && |
|
|
14117 | { ac_try='test -s conftest$ac_exeext' |
|
|
14118 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14119 | (eval $ac_try) 2>&5 |
|
|
14120 | ac_status=$? |
|
|
14121 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14122 | (exit $ac_status); }; }; then |
|
|
14123 | eval "$as_ac_var=yes" |
8250 | else |
14124 | else |
8251 | echo "configure: failed program was:" >&5 |
14125 | echo "$as_me: failed program was:" >&5 |
8252 | cat conftest.$ac_ext >&5 |
14126 | sed 's/^/| /' conftest.$ac_ext >&5 |
8253 | rm -rf conftest* |
|
|
8254 | eval "ac_cv_func_$ac_func=no" |
|
|
8255 | fi |
|
|
8256 | rm -f conftest* |
|
|
8257 | fi |
|
|
8258 | |
14127 | |
8259 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
14128 | eval "$as_ac_var=no" |
8260 | echo "$ac_t""yes" 1>&6 |
14129 | fi |
8261 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
14130 | rm -f conftest.err conftest.$ac_objext \ |
|
|
14131 | conftest$ac_exeext conftest.$ac_ext |
|
|
14132 | fi |
|
|
14133 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
14134 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
14135 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8262 | cat >> confdefs.h <<EOF |
14136 | cat >>confdefs.h <<_ACEOF |
8263 | #define $ac_tr_func 1 |
14137 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8264 | EOF |
14138 | _ACEOF |
8265 | |
14139 | |
8266 | else |
|
|
8267 | echo "$ac_t""no" 1>&6 |
|
|
8268 | fi |
14140 | fi |
8269 | done |
14141 | done |
8270 | |
14142 | |
8271 | |
14143 | |
8272 | |
14144 | |
8273 | ac_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
14145 | if test "${ac_cv_header_utmp_h+set}" = set; then |
|
|
14146 | echo "$as_me:$LINENO: checking for utmp.h" >&5 |
8274 | echo $ac_n "checking for utmp.h""... $ac_c" 1>&6 |
14147 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6 |
8275 | echo "configure:8276: checking for utmp.h" >&5 |
14148 | if test "${ac_cv_header_utmp_h+set}" = set; then |
8276 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|
|
8277 | echo $ac_n "(cached) $ac_c" 1>&6 |
14149 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
14150 | fi |
|
|
14151 | echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
|
|
14152 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6 |
8278 | else |
14153 | else |
|
|
14154 | # Is the header compilable? |
|
|
14155 | echo "$as_me:$LINENO: checking utmp.h usability" >&5 |
|
|
14156 | echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6 |
8279 | cat > conftest.$ac_ext <<EOF |
14157 | cat >conftest.$ac_ext <<_ACEOF |
8280 | #line 8281 "configure" |
14158 | /* confdefs.h. */ |
8281 | #include "confdefs.h" |
14159 | _ACEOF |
|
|
14160 | cat confdefs.h >>conftest.$ac_ext |
|
|
14161 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
14162 | /* end confdefs.h. */ |
|
|
14163 | $ac_includes_default |
8282 | #include <utmp.h> |
14164 | #include <utmp.h> |
8283 | EOF |
14165 | _ACEOF |
8284 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14166 | rm -f conftest.$ac_objext |
8285 | { (eval echo configure:8286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14167 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8286 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14168 | (eval $ac_compile) 2>conftest.er1 |
|
|
14169 | ac_status=$? |
|
|
14170 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
14171 | rm -f conftest.er1 |
|
|
14172 | cat conftest.err >&5 |
|
|
14173 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14174 | (exit $ac_status); } && |
|
|
14175 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
14176 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14177 | (eval $ac_try) 2>&5 |
|
|
14178 | ac_status=$? |
|
|
14179 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14180 | (exit $ac_status); }; } && |
|
|
14181 | { ac_try='test -s conftest.$ac_objext' |
|
|
14182 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14183 | (eval $ac_try) 2>&5 |
|
|
14184 | ac_status=$? |
|
|
14185 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14186 | (exit $ac_status); }; }; then |
|
|
14187 | ac_header_compiler=yes |
|
|
14188 | else |
|
|
14189 | echo "$as_me: failed program was:" >&5 |
|
|
14190 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
14191 | |
|
|
14192 | ac_header_compiler=no |
|
|
14193 | fi |
|
|
14194 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
14195 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
14196 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
14197 | |
|
|
14198 | # Is the header present? |
|
|
14199 | echo "$as_me:$LINENO: checking utmp.h presence" >&5 |
|
|
14200 | echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6 |
|
|
14201 | cat >conftest.$ac_ext <<_ACEOF |
|
|
14202 | /* confdefs.h. */ |
|
|
14203 | _ACEOF |
|
|
14204 | cat confdefs.h >>conftest.$ac_ext |
|
|
14205 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
14206 | /* end confdefs.h. */ |
|
|
14207 | #include <utmp.h> |
|
|
14208 | _ACEOF |
|
|
14209 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
14210 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
14211 | ac_status=$? |
|
|
14212 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
14213 | rm -f conftest.er1 |
|
|
14214 | cat conftest.err >&5 |
|
|
14215 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14216 | (exit $ac_status); } >/dev/null; then |
|
|
14217 | if test -s conftest.err; then |
|
|
14218 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
14219 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
14220 | else |
|
|
14221 | ac_cpp_err= |
|
|
14222 | fi |
|
|
14223 | else |
|
|
14224 | ac_cpp_err=yes |
|
|
14225 | fi |
8287 | if test -z "$ac_err"; then |
14226 | if test -z "$ac_cpp_err"; then |
8288 | rm -rf conftest* |
14227 | ac_header_preproc=yes |
8289 | eval "ac_cv_header_$ac_safe=yes" |
|
|
8290 | else |
14228 | else |
8291 | echo "$ac_err" >&5 |
|
|
8292 | echo "configure: failed program was:" >&5 |
14229 | echo "$as_me: failed program was:" >&5 |
8293 | cat conftest.$ac_ext >&5 |
14230 | sed 's/^/| /' conftest.$ac_ext >&5 |
8294 | rm -rf conftest* |
14231 | |
8295 | eval "ac_cv_header_$ac_safe=no" |
14232 | ac_header_preproc=no |
8296 | fi |
14233 | fi |
8297 | rm -f conftest* |
14234 | rm -f conftest.err conftest.$ac_ext |
|
|
14235 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
14236 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
14237 | |
|
|
14238 | # So? What about this header? |
|
|
14239 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
|
14240 | yes:no: ) |
|
|
14241 | { echo "$as_me:$LINENO: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
14242 | echo "$as_me: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
14243 | { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the compiler's result" >&5 |
|
|
14244 | echo "$as_me: WARNING: utmp.h: proceeding with the compiler's result" >&2;} |
|
|
14245 | ac_header_preproc=yes |
|
|
14246 | ;; |
|
|
14247 | no:yes:* ) |
|
|
14248 | { echo "$as_me:$LINENO: WARNING: utmp.h: present but cannot be compiled" >&5 |
|
|
14249 | echo "$as_me: WARNING: utmp.h: present but cannot be compiled" >&2;} |
|
|
14250 | { echo "$as_me:$LINENO: WARNING: utmp.h: check for missing prerequisite headers?" >&5 |
|
|
14251 | echo "$as_me: WARNING: utmp.h: check for missing prerequisite headers?" >&2;} |
|
|
14252 | { echo "$as_me:$LINENO: WARNING: utmp.h: see the Autoconf documentation" >&5 |
|
|
14253 | echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;} |
|
|
14254 | { echo "$as_me:$LINENO: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
14255 | echo "$as_me: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
14256 | { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the preprocessor's result" >&5 |
|
|
14257 | echo "$as_me: WARNING: utmp.h: proceeding with the preprocessor's result" >&2;} |
|
|
14258 | { echo "$as_me:$LINENO: WARNING: utmp.h: in the future, the compiler will take precedence" >&5 |
|
|
14259 | echo "$as_me: WARNING: utmp.h: in the future, the compiler will take precedence" >&2;} |
|
|
14260 | ( |
|
|
14261 | cat <<\_ASBOX |
|
|
14262 | ## ------------------------------------------ ## |
|
|
14263 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
14264 | ## ------------------------------------------ ## |
|
|
14265 | _ASBOX |
|
|
14266 | ) | |
|
|
14267 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
14268 | ;; |
|
|
14269 | esac |
|
|
14270 | echo "$as_me:$LINENO: checking for utmp.h" >&5 |
|
|
14271 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6 |
|
|
14272 | if test "${ac_cv_header_utmp_h+set}" = set; then |
|
|
14273 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
14274 | else |
|
|
14275 | ac_cv_header_utmp_h=$ac_header_preproc |
8298 | fi |
14276 | fi |
8299 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14277 | echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
8300 | echo "$ac_t""yes" 1>&6 |
14278 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6 |
|
|
14279 | |
|
|
14280 | fi |
|
|
14281 | if test $ac_cv_header_utmp_h = yes; then |
|
|
14282 | echo "$as_me:$LINENO: checking for struct utmp" >&5 |
8301 | echo $ac_n "checking for struct utmp""... $ac_c" 1>&6 |
14283 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 |
8302 | echo "configure:8303: checking for struct utmp" >&5 |
|
|
8303 | if eval "test \"`echo '$''{'rxvt_cv_struct_utmp'+set}'`\" = set"; then |
14284 | if test "${rxvt_cv_struct_utmp+set}" = set; then |
8304 | echo $ac_n "(cached) $ac_c" 1>&6 |
14285 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8305 | else |
14286 | else |
8306 | cat > conftest.$ac_ext <<EOF |
14287 | cat >conftest.$ac_ext <<_ACEOF |
8307 | #line 8308 "configure" |
14288 | /* confdefs.h. */ |
8308 | #include "confdefs.h" |
14289 | _ACEOF |
|
|
14290 | cat confdefs.h >>conftest.$ac_ext |
|
|
14291 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
14292 | /* end confdefs.h. */ |
8309 | #include <sys/types.h> |
14293 | #include <sys/types.h> |
8310 | #include <stdint.h> |
14294 | #include <stdint.h> |
8311 | #include <utmp.h> |
14295 | #include <utmp.h> |
8312 | int main() { |
14296 | int |
|
|
14297 | main () |
|
|
14298 | { |
8313 | struct utmp ut; |
14299 | struct utmp ut; |
|
|
14300 | ; |
8314 | ; return 0; } |
14301 | return 0; |
8315 | EOF |
14302 | } |
8316 | if { (eval echo configure:8317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14303 | _ACEOF |
|
|
14304 | rm -f conftest.$ac_objext |
|
|
14305 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
14306 | (eval $ac_compile) 2>conftest.er1 |
|
|
14307 | ac_status=$? |
|
|
14308 | grep -v '^ *+' conftest.er1 >conftest.err |
8317 | rm -rf conftest* |
14309 | rm -f conftest.er1 |
|
|
14310 | cat conftest.err >&5 |
|
|
14311 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14312 | (exit $ac_status); } && |
|
|
14313 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
14314 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14315 | (eval $ac_try) 2>&5 |
|
|
14316 | ac_status=$? |
|
|
14317 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14318 | (exit $ac_status); }; } && |
|
|
14319 | { ac_try='test -s conftest.$ac_objext' |
|
|
14320 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14321 | (eval $ac_try) 2>&5 |
|
|
14322 | ac_status=$? |
|
|
14323 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14324 | (exit $ac_status); }; }; then |
8318 | rxvt_cv_struct_utmp=yes |
14325 | rxvt_cv_struct_utmp=yes |
8319 | else |
14326 | else |
8320 | echo "configure: failed program was:" >&5 |
14327 | echo "$as_me: failed program was:" >&5 |
8321 | cat conftest.$ac_ext >&5 |
14328 | sed 's/^/| /' conftest.$ac_ext >&5 |
8322 | rm -rf conftest* |
14329 | |
8323 | rxvt_cv_struct_utmp=no |
14330 | rxvt_cv_struct_utmp=no |
8324 | fi |
14331 | fi |
8325 | rm -f conftest* |
14332 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8326 | fi |
14333 | fi |
8327 | |
14334 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 |
8328 | echo "$ac_t""$rxvt_cv_struct_utmp" 1>&6 |
14335 | echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 |
8329 | if test x$rxvt_cv_struct_utmp = xyes; then |
14336 | if test x$rxvt_cv_struct_utmp = xyes; then |
|
|
14337 | |
8330 | cat >> confdefs.h <<\EOF |
14338 | cat >>confdefs.h <<\_ACEOF |
8331 | #define HAVE_STRUCT_UTMP 1 |
14339 | #define HAVE_STRUCT_UTMP 1 |
8332 | EOF |
14340 | _ACEOF |
8333 | |
14341 | |
8334 | fi |
14342 | fi |
8335 | |
14343 | |
8336 | |
14344 | |
|
|
14345 | echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 |
8337 | echo $ac_n "checking for ut_host in utmp struct""... $ac_c" 1>&6 |
14346 | echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 |
8338 | echo "configure:8339: checking for ut_host in utmp struct" >&5 |
|
|
8339 | if eval "test \"`echo '$''{'rxvt_cv_struct_utmp_host'+set}'`\" = set"; then |
14347 | if test "${rxvt_cv_struct_utmp_host+set}" = set; then |
8340 | echo $ac_n "(cached) $ac_c" 1>&6 |
14348 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8341 | else |
14349 | else |
8342 | cat > conftest.$ac_ext <<EOF |
14350 | cat >conftest.$ac_ext <<_ACEOF |
8343 | #line 8344 "configure" |
14351 | /* confdefs.h. */ |
8344 | #include "confdefs.h" |
14352 | _ACEOF |
|
|
14353 | cat confdefs.h >>conftest.$ac_ext |
|
|
14354 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
14355 | /* end confdefs.h. */ |
8345 | #include <sys/types.h> |
14356 | #include <sys/types.h> |
8346 | #include <utmp.h> |
14357 | #include <utmp.h> |
8347 | int main() { |
14358 | int |
|
|
14359 | main () |
|
|
14360 | { |
8348 | struct utmp ut; ut.ut_host; |
14361 | struct utmp ut; ut.ut_host; |
|
|
14362 | ; |
8349 | ; return 0; } |
14363 | return 0; |
8350 | EOF |
14364 | } |
8351 | if { (eval echo configure:8352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14365 | _ACEOF |
|
|
14366 | rm -f conftest.$ac_objext |
|
|
14367 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
14368 | (eval $ac_compile) 2>conftest.er1 |
|
|
14369 | ac_status=$? |
|
|
14370 | grep -v '^ *+' conftest.er1 >conftest.err |
8352 | rm -rf conftest* |
14371 | rm -f conftest.er1 |
|
|
14372 | cat conftest.err >&5 |
|
|
14373 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14374 | (exit $ac_status); } && |
|
|
14375 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
14376 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14377 | (eval $ac_try) 2>&5 |
|
|
14378 | ac_status=$? |
|
|
14379 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14380 | (exit $ac_status); }; } && |
|
|
14381 | { ac_try='test -s conftest.$ac_objext' |
|
|
14382 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14383 | (eval $ac_try) 2>&5 |
|
|
14384 | ac_status=$? |
|
|
14385 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14386 | (exit $ac_status); }; }; then |
8353 | rxvt_cv_struct_utmp_host=yes |
14387 | rxvt_cv_struct_utmp_host=yes |
8354 | else |
14388 | else |
8355 | echo "configure: failed program was:" >&5 |
14389 | echo "$as_me: failed program was:" >&5 |
8356 | cat conftest.$ac_ext >&5 |
14390 | sed 's/^/| /' conftest.$ac_ext >&5 |
8357 | rm -rf conftest* |
14391 | |
8358 | rxvt_cv_struct_utmp_host=no |
14392 | rxvt_cv_struct_utmp_host=no |
8359 | fi |
14393 | fi |
8360 | rm -f conftest* |
14394 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8361 | fi |
14395 | fi |
8362 | |
14396 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 |
8363 | echo "$ac_t""$rxvt_cv_struct_utmp_host" 1>&6 |
14397 | echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 |
8364 | if test x$rxvt_cv_struct_utmp_host = xyes; then |
14398 | if test x$rxvt_cv_struct_utmp_host = xyes; then |
|
|
14399 | |
8365 | cat >> confdefs.h <<\EOF |
14400 | cat >>confdefs.h <<\_ACEOF |
8366 | #define HAVE_UTMP_HOST 1 |
14401 | #define HAVE_UTMP_HOST 1 |
8367 | EOF |
14402 | _ACEOF |
8368 | |
14403 | |
8369 | fi |
14404 | fi |
8370 | |
14405 | |
|
|
14406 | echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 |
8371 | echo $ac_n "checking for ut_pid in utmp struct""... $ac_c" 1>&6 |
14407 | echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 |
8372 | echo "configure:8373: checking for ut_pid in utmp struct" >&5 |
|
|
8373 | if eval "test \"`echo '$''{'rxvt_cv_struct_utmp_pid'+set}'`\" = set"; then |
14408 | if test "${rxvt_cv_struct_utmp_pid+set}" = set; then |
8374 | echo $ac_n "(cached) $ac_c" 1>&6 |
14409 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8375 | else |
14410 | else |
8376 | cat > conftest.$ac_ext <<EOF |
14411 | cat >conftest.$ac_ext <<_ACEOF |
8377 | #line 8378 "configure" |
14412 | /* confdefs.h. */ |
8378 | #include "confdefs.h" |
14413 | _ACEOF |
|
|
14414 | cat confdefs.h >>conftest.$ac_ext |
|
|
14415 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
14416 | /* end confdefs.h. */ |
8379 | #include <sys/types.h> |
14417 | #include <sys/types.h> |
8380 | #include <utmp.h> |
14418 | #include <utmp.h> |
8381 | int main() { |
14419 | int |
|
|
14420 | main () |
|
|
14421 | { |
8382 | struct utmp ut; ut.ut_pid; |
14422 | struct utmp ut; ut.ut_pid; |
|
|
14423 | ; |
8383 | ; return 0; } |
14424 | return 0; |
8384 | EOF |
14425 | } |
8385 | if { (eval echo configure:8386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14426 | _ACEOF |
|
|
14427 | rm -f conftest.$ac_objext |
|
|
14428 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
14429 | (eval $ac_compile) 2>conftest.er1 |
|
|
14430 | ac_status=$? |
|
|
14431 | grep -v '^ *+' conftest.er1 >conftest.err |
8386 | rm -rf conftest* |
14432 | rm -f conftest.er1 |
|
|
14433 | cat conftest.err >&5 |
|
|
14434 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14435 | (exit $ac_status); } && |
|
|
14436 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
14437 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14438 | (eval $ac_try) 2>&5 |
|
|
14439 | ac_status=$? |
|
|
14440 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14441 | (exit $ac_status); }; } && |
|
|
14442 | { ac_try='test -s conftest.$ac_objext' |
|
|
14443 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14444 | (eval $ac_try) 2>&5 |
|
|
14445 | ac_status=$? |
|
|
14446 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14447 | (exit $ac_status); }; }; then |
8387 | rxvt_cv_struct_utmp_pid=yes |
14448 | rxvt_cv_struct_utmp_pid=yes |
8388 | else |
14449 | else |
8389 | echo "configure: failed program was:" >&5 |
14450 | echo "$as_me: failed program was:" >&5 |
8390 | cat conftest.$ac_ext >&5 |
14451 | sed 's/^/| /' conftest.$ac_ext >&5 |
8391 | rm -rf conftest* |
14452 | |
8392 | rxvt_cv_struct_utmp_pid=no |
14453 | rxvt_cv_struct_utmp_pid=no |
8393 | fi |
14454 | fi |
8394 | rm -f conftest* |
14455 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8395 | fi |
14456 | fi |
8396 | |
14457 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 |
8397 | echo "$ac_t""$rxvt_cv_struct_utmp_pid" 1>&6 |
14458 | echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 |
8398 | if test x$rxvt_cv_struct_utmp_pid = xyes; then |
14459 | if test x$rxvt_cv_struct_utmp_pid = xyes; then |
|
|
14460 | |
8399 | cat >> confdefs.h <<\EOF |
14461 | cat >>confdefs.h <<\_ACEOF |
8400 | #define HAVE_UTMP_PID 1 |
14462 | #define HAVE_UTMP_PID 1 |
8401 | EOF |
14463 | _ACEOF |
8402 | |
14464 | |
8403 | fi |
14465 | fi |
8404 | |
14466 | |
8405 | else |
|
|
8406 | echo "$ac_t""no" 1>&6 |
|
|
8407 | fi |
14467 | fi |
8408 | |
|
|
8409 | |
14468 | |
8410 | ac_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
14469 | |
|
|
14470 | |
|
|
14471 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
|
|
14472 | echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
8411 | echo $ac_n "checking for utmpx.h""... $ac_c" 1>&6 |
14473 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6 |
8412 | echo "configure:8413: checking for utmpx.h" >&5 |
14474 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
8413 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|
|
8414 | echo $ac_n "(cached) $ac_c" 1>&6 |
14475 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
14476 | fi |
|
|
14477 | echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
|
|
14478 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6 |
8415 | else |
14479 | else |
|
|
14480 | # Is the header compilable? |
|
|
14481 | echo "$as_me:$LINENO: checking utmpx.h usability" >&5 |
|
|
14482 | echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6 |
8416 | cat > conftest.$ac_ext <<EOF |
14483 | cat >conftest.$ac_ext <<_ACEOF |
8417 | #line 8418 "configure" |
14484 | /* confdefs.h. */ |
8418 | #include "confdefs.h" |
14485 | _ACEOF |
|
|
14486 | cat confdefs.h >>conftest.$ac_ext |
|
|
14487 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
14488 | /* end confdefs.h. */ |
|
|
14489 | $ac_includes_default |
8419 | #include <utmpx.h> |
14490 | #include <utmpx.h> |
8420 | EOF |
14491 | _ACEOF |
8421 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14492 | rm -f conftest.$ac_objext |
8422 | { (eval echo configure:8423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14493 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8423 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14494 | (eval $ac_compile) 2>conftest.er1 |
|
|
14495 | ac_status=$? |
|
|
14496 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
14497 | rm -f conftest.er1 |
|
|
14498 | cat conftest.err >&5 |
|
|
14499 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14500 | (exit $ac_status); } && |
|
|
14501 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
14502 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14503 | (eval $ac_try) 2>&5 |
|
|
14504 | ac_status=$? |
|
|
14505 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14506 | (exit $ac_status); }; } && |
|
|
14507 | { ac_try='test -s conftest.$ac_objext' |
|
|
14508 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14509 | (eval $ac_try) 2>&5 |
|
|
14510 | ac_status=$? |
|
|
14511 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14512 | (exit $ac_status); }; }; then |
|
|
14513 | ac_header_compiler=yes |
|
|
14514 | else |
|
|
14515 | echo "$as_me: failed program was:" >&5 |
|
|
14516 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
14517 | |
|
|
14518 | ac_header_compiler=no |
|
|
14519 | fi |
|
|
14520 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
14521 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
14522 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
14523 | |
|
|
14524 | # Is the header present? |
|
|
14525 | echo "$as_me:$LINENO: checking utmpx.h presence" >&5 |
|
|
14526 | echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6 |
|
|
14527 | cat >conftest.$ac_ext <<_ACEOF |
|
|
14528 | /* confdefs.h. */ |
|
|
14529 | _ACEOF |
|
|
14530 | cat confdefs.h >>conftest.$ac_ext |
|
|
14531 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
14532 | /* end confdefs.h. */ |
|
|
14533 | #include <utmpx.h> |
|
|
14534 | _ACEOF |
|
|
14535 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
14536 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
14537 | ac_status=$? |
|
|
14538 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
14539 | rm -f conftest.er1 |
|
|
14540 | cat conftest.err >&5 |
|
|
14541 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14542 | (exit $ac_status); } >/dev/null; then |
|
|
14543 | if test -s conftest.err; then |
|
|
14544 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
14545 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
14546 | else |
|
|
14547 | ac_cpp_err= |
|
|
14548 | fi |
|
|
14549 | else |
|
|
14550 | ac_cpp_err=yes |
|
|
14551 | fi |
8424 | if test -z "$ac_err"; then |
14552 | if test -z "$ac_cpp_err"; then |
8425 | rm -rf conftest* |
14553 | ac_header_preproc=yes |
8426 | eval "ac_cv_header_$ac_safe=yes" |
|
|
8427 | else |
14554 | else |
8428 | echo "$ac_err" >&5 |
|
|
8429 | echo "configure: failed program was:" >&5 |
14555 | echo "$as_me: failed program was:" >&5 |
8430 | cat conftest.$ac_ext >&5 |
14556 | sed 's/^/| /' conftest.$ac_ext >&5 |
8431 | rm -rf conftest* |
14557 | |
8432 | eval "ac_cv_header_$ac_safe=no" |
14558 | ac_header_preproc=no |
8433 | fi |
14559 | fi |
8434 | rm -f conftest* |
14560 | rm -f conftest.err conftest.$ac_ext |
|
|
14561 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
14562 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
14563 | |
|
|
14564 | # So? What about this header? |
|
|
14565 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
|
14566 | yes:no: ) |
|
|
14567 | { echo "$as_me:$LINENO: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
14568 | echo "$as_me: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
14569 | { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the compiler's result" >&5 |
|
|
14570 | echo "$as_me: WARNING: utmpx.h: proceeding with the compiler's result" >&2;} |
|
|
14571 | ac_header_preproc=yes |
|
|
14572 | ;; |
|
|
14573 | no:yes:* ) |
|
|
14574 | { echo "$as_me:$LINENO: WARNING: utmpx.h: present but cannot be compiled" >&5 |
|
|
14575 | echo "$as_me: WARNING: utmpx.h: present but cannot be compiled" >&2;} |
|
|
14576 | { echo "$as_me:$LINENO: WARNING: utmpx.h: check for missing prerequisite headers?" >&5 |
|
|
14577 | echo "$as_me: WARNING: utmpx.h: check for missing prerequisite headers?" >&2;} |
|
|
14578 | { echo "$as_me:$LINENO: WARNING: utmpx.h: see the Autoconf documentation" >&5 |
|
|
14579 | echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;} |
|
|
14580 | { echo "$as_me:$LINENO: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
14581 | echo "$as_me: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
14582 | { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the preprocessor's result" >&5 |
|
|
14583 | echo "$as_me: WARNING: utmpx.h: proceeding with the preprocessor's result" >&2;} |
|
|
14584 | { echo "$as_me:$LINENO: WARNING: utmpx.h: in the future, the compiler will take precedence" >&5 |
|
|
14585 | echo "$as_me: WARNING: utmpx.h: in the future, the compiler will take precedence" >&2;} |
|
|
14586 | ( |
|
|
14587 | cat <<\_ASBOX |
|
|
14588 | ## ------------------------------------------ ## |
|
|
14589 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
14590 | ## ------------------------------------------ ## |
|
|
14591 | _ASBOX |
|
|
14592 | ) | |
|
|
14593 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
14594 | ;; |
|
|
14595 | esac |
|
|
14596 | echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
|
|
14597 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6 |
|
|
14598 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
|
|
14599 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
14600 | else |
|
|
14601 | ac_cv_header_utmpx_h=$ac_header_preproc |
8435 | fi |
14602 | fi |
8436 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14603 | echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
8437 | echo "$ac_t""yes" 1>&6 |
14604 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6 |
|
|
14605 | |
|
|
14606 | fi |
|
|
14607 | if test $ac_cv_header_utmpx_h = yes; then |
|
|
14608 | echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
8438 | echo $ac_n "checking for struct utmpx""... $ac_c" 1>&6 |
14609 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 |
8439 | echo "configure:8440: checking for struct utmpx" >&5 |
|
|
8440 | if eval "test \"`echo '$''{'rxvt_cv_struct_utmpx'+set}'`\" = set"; then |
14610 | if test "${rxvt_cv_struct_utmpx+set}" = set; then |
8441 | echo $ac_n "(cached) $ac_c" 1>&6 |
14611 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8442 | else |
14612 | else |
8443 | cat > conftest.$ac_ext <<EOF |
14613 | cat >conftest.$ac_ext <<_ACEOF |
8444 | #line 8445 "configure" |
14614 | /* confdefs.h. */ |
8445 | #include "confdefs.h" |
14615 | _ACEOF |
|
|
14616 | cat confdefs.h >>conftest.$ac_ext |
|
|
14617 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
14618 | /* end confdefs.h. */ |
8446 | #include <sys/types.h> |
14619 | #include <sys/types.h> |
8447 | #include <utmpx.h> |
14620 | #include <utmpx.h> |
8448 | int main() { |
14621 | int |
|
|
14622 | main () |
|
|
14623 | { |
8449 | struct utmpx ut; |
14624 | struct utmpx ut; |
|
|
14625 | ; |
8450 | ; return 0; } |
14626 | return 0; |
8451 | EOF |
14627 | } |
8452 | if { (eval echo configure:8453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14628 | _ACEOF |
|
|
14629 | rm -f conftest.$ac_objext |
|
|
14630 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
14631 | (eval $ac_compile) 2>conftest.er1 |
|
|
14632 | ac_status=$? |
|
|
14633 | grep -v '^ *+' conftest.er1 >conftest.err |
8453 | rm -rf conftest* |
14634 | rm -f conftest.er1 |
|
|
14635 | cat conftest.err >&5 |
|
|
14636 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14637 | (exit $ac_status); } && |
|
|
14638 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
14639 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14640 | (eval $ac_try) 2>&5 |
|
|
14641 | ac_status=$? |
|
|
14642 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14643 | (exit $ac_status); }; } && |
|
|
14644 | { ac_try='test -s conftest.$ac_objext' |
|
|
14645 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14646 | (eval $ac_try) 2>&5 |
|
|
14647 | ac_status=$? |
|
|
14648 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14649 | (exit $ac_status); }; }; then |
8454 | rxvt_cv_struct_utmpx=yes |
14650 | rxvt_cv_struct_utmpx=yes |
8455 | else |
14651 | else |
8456 | echo "configure: failed program was:" >&5 |
14652 | echo "$as_me: failed program was:" >&5 |
8457 | cat conftest.$ac_ext >&5 |
14653 | sed 's/^/| /' conftest.$ac_ext >&5 |
8458 | rm -rf conftest* |
14654 | |
8459 | rxvt_cv_struct_utmpx=no |
14655 | rxvt_cv_struct_utmpx=no |
8460 | fi |
14656 | fi |
8461 | rm -f conftest* |
14657 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8462 | fi |
14658 | fi |
8463 | |
14659 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 |
8464 | echo "$ac_t""$rxvt_cv_struct_utmpx" 1>&6 |
14660 | echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 |
8465 | if test x$rxvt_cv_struct_utmpx = xyes; then |
14661 | if test x$rxvt_cv_struct_utmpx = xyes; then |
|
|
14662 | |
8466 | cat >> confdefs.h <<\EOF |
14663 | cat >>confdefs.h <<\_ACEOF |
8467 | #define HAVE_STRUCT_UTMPX 1 |
14664 | #define HAVE_STRUCT_UTMPX 1 |
8468 | EOF |
14665 | _ACEOF |
8469 | |
14666 | |
8470 | fi |
14667 | fi |
8471 | |
14668 | |
8472 | |
14669 | |
|
|
14670 | echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 |
8473 | echo $ac_n "checking for host in utmpx struct""... $ac_c" 1>&6 |
14671 | echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 |
8474 | echo "configure:8475: checking for host in utmpx struct" >&5 |
|
|
8475 | if eval "test \"`echo '$''{'rxvt_cv_struct_utmpx_host'+set}'`\" = set"; then |
14672 | if test "${rxvt_cv_struct_utmpx_host+set}" = set; then |
8476 | echo $ac_n "(cached) $ac_c" 1>&6 |
14673 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8477 | else |
14674 | else |
8478 | cat > conftest.$ac_ext <<EOF |
14675 | cat >conftest.$ac_ext <<_ACEOF |
8479 | #line 8480 "configure" |
14676 | /* confdefs.h. */ |
8480 | #include "confdefs.h" |
14677 | _ACEOF |
|
|
14678 | cat confdefs.h >>conftest.$ac_ext |
|
|
14679 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
14680 | /* end confdefs.h. */ |
8481 | #include <sys/types.h> |
14681 | #include <sys/types.h> |
8482 | #include <utmpx.h> |
14682 | #include <utmpx.h> |
8483 | int main() { |
14683 | int |
|
|
14684 | main () |
|
|
14685 | { |
8484 | struct utmpx utx; utx.ut_host; |
14686 | struct utmpx utx; utx.ut_host; |
|
|
14687 | ; |
8485 | ; return 0; } |
14688 | return 0; |
8486 | EOF |
14689 | } |
8487 | if { (eval echo configure:8488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14690 | _ACEOF |
|
|
14691 | rm -f conftest.$ac_objext |
|
|
14692 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
14693 | (eval $ac_compile) 2>conftest.er1 |
|
|
14694 | ac_status=$? |
|
|
14695 | grep -v '^ *+' conftest.er1 >conftest.err |
8488 | rm -rf conftest* |
14696 | rm -f conftest.er1 |
|
|
14697 | cat conftest.err >&5 |
|
|
14698 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14699 | (exit $ac_status); } && |
|
|
14700 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
14701 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14702 | (eval $ac_try) 2>&5 |
|
|
14703 | ac_status=$? |
|
|
14704 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14705 | (exit $ac_status); }; } && |
|
|
14706 | { ac_try='test -s conftest.$ac_objext' |
|
|
14707 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14708 | (eval $ac_try) 2>&5 |
|
|
14709 | ac_status=$? |
|
|
14710 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14711 | (exit $ac_status); }; }; then |
8489 | rxvt_cv_struct_utmpx_host=yes |
14712 | rxvt_cv_struct_utmpx_host=yes |
8490 | else |
14713 | else |
8491 | echo "configure: failed program was:" >&5 |
14714 | echo "$as_me: failed program was:" >&5 |
8492 | cat conftest.$ac_ext >&5 |
14715 | sed 's/^/| /' conftest.$ac_ext >&5 |
8493 | rm -rf conftest* |
14716 | |
8494 | rxvt_cv_struct_utmpx_host=no |
14717 | rxvt_cv_struct_utmpx_host=no |
8495 | fi |
14718 | fi |
8496 | rm -f conftest* |
14719 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8497 | fi |
14720 | fi |
8498 | |
14721 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 |
8499 | echo "$ac_t""$rxvt_cv_struct_utmpx_host" 1>&6 |
14722 | echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 |
8500 | if test x$rxvt_cv_struct_utmpx_host = xyes; then |
14723 | if test x$rxvt_cv_struct_utmpx_host = xyes; then |
|
|
14724 | |
8501 | cat >> confdefs.h <<\EOF |
14725 | cat >>confdefs.h <<\_ACEOF |
8502 | #define HAVE_UTMPX_HOST 1 |
14726 | #define HAVE_UTMPX_HOST 1 |
8503 | EOF |
14727 | _ACEOF |
8504 | |
14728 | |
8505 | fi |
14729 | fi |
8506 | |
14730 | |
8507 | else |
|
|
8508 | echo "$ac_t""no" 1>&6 |
|
|
8509 | fi |
14731 | fi |
8510 | |
|
|
8511 | |
14732 | |
|
|
14733 | |
|
|
14734 | |
|
|
14735 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
8512 | echo $ac_n "checking for struct lastlog""... $ac_c" 1>&6 |
14736 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
8513 | echo "configure:8514: checking for struct lastlog" >&5 |
|
|
8514 | if eval "test \"`echo '$''{'rxvt_cv_struct_lastlog'+set}'`\" = set"; then |
14737 | if test "${rxvt_cv_struct_lastlog+set}" = set; then |
8515 | echo $ac_n "(cached) $ac_c" 1>&6 |
14738 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8516 | else |
14739 | else |
8517 | cat > conftest.$ac_ext <<EOF |
14740 | cat >conftest.$ac_ext <<_ACEOF |
8518 | #line 8519 "configure" |
14741 | /* confdefs.h. */ |
8519 | #include "confdefs.h" |
14742 | _ACEOF |
|
|
14743 | cat confdefs.h >>conftest.$ac_ext |
|
|
14744 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
14745 | /* end confdefs.h. */ |
8520 | #include <sys/types.h> |
14746 | #include <sys/types.h> |
8521 | #include <utmp.h> |
14747 | #include <utmp.h> |
8522 | #ifdef HAVE_LASTLOG_H |
14748 | #ifdef HAVE_LASTLOG_H |
8523 | #include <lastlog.h> |
14749 | #include <lastlog.h> |
8524 | #endif |
14750 | #endif |
8525 | |
14751 | |
8526 | int main() { |
14752 | int |
|
|
14753 | main () |
|
|
14754 | { |
8527 | struct lastlog ll; |
14755 | struct lastlog ll; |
|
|
14756 | ; |
8528 | ; return 0; } |
14757 | return 0; |
8529 | EOF |
14758 | } |
8530 | if { (eval echo configure:8531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14759 | _ACEOF |
|
|
14760 | rm -f conftest.$ac_objext |
|
|
14761 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
14762 | (eval $ac_compile) 2>conftest.er1 |
|
|
14763 | ac_status=$? |
|
|
14764 | grep -v '^ *+' conftest.er1 >conftest.err |
8531 | rm -rf conftest* |
14765 | rm -f conftest.er1 |
|
|
14766 | cat conftest.err >&5 |
|
|
14767 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14768 | (exit $ac_status); } && |
|
|
14769 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
14770 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14771 | (eval $ac_try) 2>&5 |
|
|
14772 | ac_status=$? |
|
|
14773 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14774 | (exit $ac_status); }; } && |
|
|
14775 | { ac_try='test -s conftest.$ac_objext' |
|
|
14776 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14777 | (eval $ac_try) 2>&5 |
|
|
14778 | ac_status=$? |
|
|
14779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14780 | (exit $ac_status); }; }; then |
8532 | rxvt_cv_struct_lastlog=yes |
14781 | rxvt_cv_struct_lastlog=yes |
8533 | else |
14782 | else |
8534 | echo "configure: failed program was:" >&5 |
14783 | echo "$as_me: failed program was:" >&5 |
8535 | cat conftest.$ac_ext >&5 |
14784 | sed 's/^/| /' conftest.$ac_ext >&5 |
8536 | rm -rf conftest* |
14785 | |
8537 | rxvt_cv_struct_lastlog=no |
14786 | rxvt_cv_struct_lastlog=no |
8538 | fi |
14787 | fi |
8539 | rm -f conftest* |
14788 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8540 | fi |
14789 | fi |
8541 | |
14790 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 |
8542 | echo "$ac_t""$rxvt_cv_struct_lastlog" 1>&6 |
14791 | echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 |
8543 | if test x$rxvt_cv_struct_lastlog = xyes; then |
14792 | if test x$rxvt_cv_struct_lastlog = xyes; then |
|
|
14793 | |
8544 | cat >> confdefs.h <<\EOF |
14794 | cat >>confdefs.h <<\_ACEOF |
8545 | #define HAVE_STRUCT_LASTLOG 1 |
14795 | #define HAVE_STRUCT_LASTLOG 1 |
8546 | EOF |
14796 | _ACEOF |
8547 | |
14797 | |
8548 | fi |
14798 | fi |
8549 | |
14799 | |
|
|
14800 | echo "$as_me:$LINENO: checking for struct lastlogx" >&5 |
8550 | echo $ac_n "checking for struct lastlogx""... $ac_c" 1>&6 |
14801 | echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 |
8551 | echo "configure:8552: checking for struct lastlogx" >&5 |
|
|
8552 | if eval "test \"`echo '$''{'rxvt_cv_struct_lastlogx'+set}'`\" = set"; then |
14802 | if test "${rxvt_cv_struct_lastlogx+set}" = set; then |
8553 | echo $ac_n "(cached) $ac_c" 1>&6 |
14803 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8554 | else |
14804 | else |
8555 | cat > conftest.$ac_ext <<EOF |
14805 | cat >conftest.$ac_ext <<_ACEOF |
8556 | #line 8557 "configure" |
14806 | /* confdefs.h. */ |
8557 | #include "confdefs.h" |
14807 | _ACEOF |
|
|
14808 | cat confdefs.h >>conftest.$ac_ext |
|
|
14809 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
14810 | /* end confdefs.h. */ |
8558 | #include <sys/types.h> |
14811 | #include <sys/types.h> |
8559 | #include <utmpx.h> |
14812 | #include <utmpx.h> |
8560 | #ifdef HAVE_LASTLOG_H |
14813 | #ifdef HAVE_LASTLOG_H |
8561 | #include <lastlog.h> |
14814 | #include <lastlog.h> |
8562 | #endif |
14815 | #endif |
8563 | |
14816 | |
8564 | int main() { |
14817 | int |
|
|
14818 | main () |
|
|
14819 | { |
8565 | struct lastlogx ll; |
14820 | struct lastlogx ll; |
|
|
14821 | ; |
8566 | ; return 0; } |
14822 | return 0; |
8567 | EOF |
14823 | } |
8568 | if { (eval echo configure:8569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14824 | _ACEOF |
|
|
14825 | rm -f conftest.$ac_objext |
|
|
14826 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
14827 | (eval $ac_compile) 2>conftest.er1 |
|
|
14828 | ac_status=$? |
|
|
14829 | grep -v '^ *+' conftest.er1 >conftest.err |
8569 | rm -rf conftest* |
14830 | rm -f conftest.er1 |
|
|
14831 | cat conftest.err >&5 |
|
|
14832 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14833 | (exit $ac_status); } && |
|
|
14834 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
14835 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14836 | (eval $ac_try) 2>&5 |
|
|
14837 | ac_status=$? |
|
|
14838 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14839 | (exit $ac_status); }; } && |
|
|
14840 | { ac_try='test -s conftest.$ac_objext' |
|
|
14841 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14842 | (eval $ac_try) 2>&5 |
|
|
14843 | ac_status=$? |
|
|
14844 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14845 | (exit $ac_status); }; }; then |
8570 | rxvt_cv_struct_lastlogx=yes |
14846 | rxvt_cv_struct_lastlogx=yes |
8571 | else |
14847 | else |
8572 | echo "configure: failed program was:" >&5 |
14848 | echo "$as_me: failed program was:" >&5 |
8573 | cat conftest.$ac_ext >&5 |
14849 | sed 's/^/| /' conftest.$ac_ext >&5 |
8574 | rm -rf conftest* |
14850 | |
8575 | rxvt_cv_struct_lastlogx=no |
14851 | rxvt_cv_struct_lastlogx=no |
8576 | fi |
14852 | fi |
8577 | rm -f conftest* |
14853 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8578 | fi |
14854 | fi |
8579 | |
14855 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 |
8580 | echo "$ac_t""$rxvt_cv_struct_lastlogx" 1>&6 |
14856 | echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 |
8581 | if test x$rxvt_cv_struct_lastlogx = xyes; then |
14857 | if test x$rxvt_cv_struct_lastlogx = xyes; then |
|
|
14858 | |
8582 | cat >> confdefs.h <<\EOF |
14859 | cat >>confdefs.h <<\_ACEOF |
8583 | #define HAVE_STRUCT_LASTLOGX 1 |
14860 | #define HAVE_STRUCT_LASTLOGX 1 |
8584 | EOF |
14861 | _ACEOF |
8585 | |
14862 | |
8586 | fi |
14863 | fi |
8587 | |
14864 | |
8588 | |
14865 | |
|
|
14866 | echo "$as_me:$LINENO: checking where utmp is located" >&5 |
8589 | echo $ac_n "checking where utmp is located""... $ac_c" 1>&6 |
14867 | echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 |
8590 | echo "configure:8591: checking where utmp is located" >&5 |
|
|
8591 | if eval "test \"`echo '$''{'rxvt_cv_path_utmp'+set}'`\" = set"; then |
14868 | if test "${rxvt_cv_path_utmp+set}" = set; then |
8592 | echo $ac_n "(cached) $ac_c" 1>&6 |
14869 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8593 | else |
14870 | else |
8594 | if test "$cross_compiling" = yes; then |
14871 | if test "$cross_compiling" = yes; then |
|
|
14872 | { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&5 |
8595 | echo "configure: warning: Define RXVT_UTMP_FILE in config.h manually" 1>&2 |
14873 | echo "$as_me: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&2;} |
8596 | else |
14874 | else |
8597 | cat > conftest.$ac_ext <<EOF |
14875 | cat >conftest.$ac_ext <<_ACEOF |
8598 | #line 8599 "configure" |
14876 | /* confdefs.h. */ |
8599 | #include "confdefs.h" |
14877 | _ACEOF |
|
|
14878 | cat confdefs.h >>conftest.$ac_ext |
|
|
14879 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
14880 | /* end confdefs.h. */ |
8600 | #include <stdio.h> |
14881 | #include <stdio.h> |
8601 | #include <sys/types.h> |
14882 | #include <sys/types.h> |
8602 | #include <utmp.h> |
14883 | #include <utmp.h> |
8603 | #include <errno.h> |
14884 | #include <errno.h> |
8604 | main() |
14885 | main() |
… | |
… | |
8621 | exit(0); |
14902 | exit(0); |
8622 | } |
14903 | } |
8623 | } |
14904 | } |
8624 | exit(0); |
14905 | exit(0); |
8625 | } |
14906 | } |
8626 | EOF |
14907 | _ACEOF |
8627 | if { (eval echo configure:8628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
14908 | rm -f conftest$ac_exeext |
8628 | then |
14909 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
14910 | (eval $ac_link) 2>&5 |
|
|
14911 | ac_status=$? |
|
|
14912 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14913 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
14914 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
14915 | (eval $ac_try) 2>&5 |
|
|
14916 | ac_status=$? |
|
|
14917 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14918 | (exit $ac_status); }; }; then |
8629 | rxvt_cv_path_utmp=`cat conftestval` |
14919 | rxvt_cv_path_utmp=`cat conftestval` |
8630 | else |
14920 | else |
|
|
14921 | echo "$as_me: program exited with status $ac_status" >&5 |
8631 | echo "configure: failed program was:" >&5 |
14922 | echo "$as_me: failed program was:" >&5 |
8632 | cat conftest.$ac_ext >&5 |
14923 | sed 's/^/| /' conftest.$ac_ext >&5 |
8633 | rm -fr conftest* |
14924 | |
|
|
14925 | ( exit $ac_status ) |
8634 | rxvt_cv_path_utmp= |
14926 | rxvt_cv_path_utmp= |
8635 | fi |
14927 | fi |
8636 | rm -fr conftest* |
14928 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8637 | fi |
14929 | fi |
8638 | |
|
|
8639 | fi |
14930 | fi |
8640 | |
14931 | echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 |
8641 | echo "$ac_t""$rxvt_cv_path_utmp" 1>&6 |
14932 | echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 |
8642 | if test x$rxvt_cv_path_utmp != x; then |
14933 | if test x$rxvt_cv_path_utmp != x; then |
|
|
14934 | |
8643 | cat >> confdefs.h <<EOF |
14935 | cat >>confdefs.h <<_ACEOF |
8644 | #define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" |
14936 | #define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" |
8645 | EOF |
14937 | _ACEOF |
8646 | |
14938 | |
8647 | fi |
14939 | fi |
8648 | |
14940 | |
8649 | |
14941 | |
|
|
14942 | echo "$as_me:$LINENO: checking where utmpx is located" >&5 |
8650 | echo $ac_n "checking where utmpx is located""... $ac_c" 1>&6 |
14943 | echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 |
8651 | echo "configure:8652: checking where utmpx is located" >&5 |
|
|
8652 | if eval "test \"`echo '$''{'rxvt_cv_path_utmpx'+set}'`\" = set"; then |
14944 | if test "${rxvt_cv_path_utmpx+set}" = set; then |
8653 | echo $ac_n "(cached) $ac_c" 1>&6 |
14945 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8654 | else |
14946 | else |
8655 | if test "$cross_compiling" = yes; then |
14947 | if test "$cross_compiling" = yes; then |
|
|
14948 | { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&5 |
8656 | echo "configure: warning: Define RXVT_UTMPX_FILE in config.h manually" 1>&2 |
14949 | echo "$as_me: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&2;} |
8657 | else |
14950 | else |
8658 | cat > conftest.$ac_ext <<EOF |
14951 | cat >conftest.$ac_ext <<_ACEOF |
8659 | #line 8660 "configure" |
14952 | /* confdefs.h. */ |
8660 | #include "confdefs.h" |
14953 | _ACEOF |
|
|
14954 | cat confdefs.h >>conftest.$ac_ext |
|
|
14955 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
14956 | /* end confdefs.h. */ |
8661 | #include <stdio.h> |
14957 | #include <stdio.h> |
8662 | #include <sys/types.h> |
14958 | #include <sys/types.h> |
8663 | #include <utmpx.h> |
14959 | #include <utmpx.h> |
8664 | #include <errno.h> |
14960 | #include <errno.h> |
8665 | #include <sys/stat.h> |
14961 | #include <sys/stat.h> |
… | |
… | |
8692 | exit(0); |
14988 | exit(0); |
8693 | } |
14989 | } |
8694 | } |
14990 | } |
8695 | exit(0); |
14991 | exit(0); |
8696 | } |
14992 | } |
8697 | EOF |
14993 | _ACEOF |
8698 | if { (eval echo configure:8699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
14994 | rm -f conftest$ac_exeext |
8699 | then |
14995 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
14996 | (eval $ac_link) 2>&5 |
|
|
14997 | ac_status=$? |
|
|
14998 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
14999 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
15000 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15001 | (eval $ac_try) 2>&5 |
|
|
15002 | ac_status=$? |
|
|
15003 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15004 | (exit $ac_status); }; }; then |
8700 | rxvt_cv_path_utmpx=`cat conftestval` |
15005 | rxvt_cv_path_utmpx=`cat conftestval` |
8701 | else |
15006 | else |
|
|
15007 | echo "$as_me: program exited with status $ac_status" >&5 |
8702 | echo "configure: failed program was:" >&5 |
15008 | echo "$as_me: failed program was:" >&5 |
8703 | cat conftest.$ac_ext >&5 |
15009 | sed 's/^/| /' conftest.$ac_ext >&5 |
8704 | rm -fr conftest* |
15010 | |
|
|
15011 | ( exit $ac_status ) |
8705 | rxvt_cv_path_utmpx= |
15012 | rxvt_cv_path_utmpx= |
8706 | fi |
15013 | fi |
8707 | rm -fr conftest* |
15014 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8708 | fi |
15015 | fi |
8709 | |
|
|
8710 | fi |
15016 | fi |
8711 | |
15017 | echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 |
8712 | echo "$ac_t""$rxvt_cv_path_utmpx" 1>&6 |
15018 | echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 |
8713 | if test x$rxvt_cv_path_utmpx != x; then |
15019 | if test x$rxvt_cv_path_utmpx != x; then |
|
|
15020 | |
8714 | cat >> confdefs.h <<EOF |
15021 | cat >>confdefs.h <<_ACEOF |
8715 | #define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" |
15022 | #define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" |
8716 | EOF |
15023 | _ACEOF |
8717 | |
15024 | |
8718 | fi |
15025 | fi |
8719 | |
15026 | |
8720 | |
15027 | |
|
|
15028 | echo "$as_me:$LINENO: checking where wtmp is located" >&5 |
8721 | echo $ac_n "checking where wtmp is located""... $ac_c" 1>&6 |
15029 | echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 |
8722 | echo "configure:8723: checking where wtmp is located" >&5 |
|
|
8723 | if eval "test \"`echo '$''{'rxvt_cv_path_wtmp'+set}'`\" = set"; then |
15030 | if test "${rxvt_cv_path_wtmp+set}" = set; then |
8724 | echo $ac_n "(cached) $ac_c" 1>&6 |
15031 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8725 | else |
15032 | else |
8726 | if test "$cross_compiling" = yes; then |
15033 | if test "$cross_compiling" = yes; then |
|
|
15034 | { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&5 |
8727 | echo "configure: warning: Define RXVT_WTMP_FILE in config.h manually" 1>&2 |
15035 | echo "$as_me: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&2;} |
8728 | else |
15036 | else |
8729 | cat > conftest.$ac_ext <<EOF |
15037 | cat >conftest.$ac_ext <<_ACEOF |
8730 | #line 8731 "configure" |
15038 | /* confdefs.h. */ |
8731 | #include "confdefs.h" |
15039 | _ACEOF |
|
|
15040 | cat confdefs.h >>conftest.$ac_ext |
|
|
15041 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
15042 | /* end confdefs.h. */ |
8732 | #include <stdio.h> |
15043 | #include <stdio.h> |
8733 | #include <sys/types.h> |
15044 | #include <sys/types.h> |
8734 | #ifdef HAVE_UTMP_H |
15045 | #ifdef HAVE_UTMP_H |
8735 | #include <utmp.h> |
15046 | #include <utmp.h> |
8736 | #endif |
15047 | #endif |
8737 | #include <errno.h> |
15048 | #include <errno.h> |
8738 | main() |
15049 | main() |
8739 | { |
15050 | { |
8740 | char **w, *wtmplist[] = { |
15051 | char **w, *wtmplist[] = { |
8741 | "/var/log/wtmp", "/var/adm/wtmp", "/etc/wtmp", "/usr/etc/wtmp", "/usr/adm/wtmp", NULL }; |
15052 | "/var/log/wtmp", "/var/adm/wtmp", "/etc/wtmp", "/usr/etc/wtmp", "/usr/adm/wtmp", NULL }; |
8742 | FILE *a, *f=fopen("conftestval", "w"); |
15053 | FILE *a, *f=fopen("conftestval", "w"); |
8743 | if (!f) exit(1); |
15054 | if (!f) exit(1); |
8744 | #ifdef WTMP_FILE |
15055 | #ifdef WTMP_FILE |
8745 | fprintf(f, "%s\n", WTMP_FILE); |
15056 | fprintf(f, "%s\n", WTMP_FILE); |
8746 | exit(0); |
15057 | exit(0); |
… | |
… | |
8755 | exit(0); |
15066 | exit(0); |
8756 | } |
15067 | } |
8757 | } |
15068 | } |
8758 | exit(0); |
15069 | exit(0); |
8759 | } |
15070 | } |
8760 | EOF |
15071 | _ACEOF |
8761 | if { (eval echo configure:8762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
15072 | rm -f conftest$ac_exeext |
8762 | then |
15073 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15074 | (eval $ac_link) 2>&5 |
|
|
15075 | ac_status=$? |
|
|
15076 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15077 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
15078 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15079 | (eval $ac_try) 2>&5 |
|
|
15080 | ac_status=$? |
|
|
15081 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15082 | (exit $ac_status); }; }; then |
8763 | rxvt_cv_path_wtmp=`cat conftestval` |
15083 | rxvt_cv_path_wtmp=`cat conftestval` |
8764 | else |
15084 | else |
|
|
15085 | echo "$as_me: program exited with status $ac_status" >&5 |
8765 | echo "configure: failed program was:" >&5 |
15086 | echo "$as_me: failed program was:" >&5 |
8766 | cat conftest.$ac_ext >&5 |
15087 | sed 's/^/| /' conftest.$ac_ext >&5 |
8767 | rm -fr conftest* |
15088 | |
|
|
15089 | ( exit $ac_status ) |
8768 | rxvt_cv_path_wtmp= |
15090 | rxvt_cv_path_wtmp= |
8769 | fi |
15091 | fi |
8770 | rm -fr conftest* |
15092 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8771 | fi |
15093 | fi |
8772 | |
|
|
8773 | fi |
15094 | fi |
8774 | |
15095 | echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 |
8775 | echo "$ac_t""$rxvt_cv_path_wtmp" 1>&6 |
15096 | echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 |
8776 | if test x$rxvt_cv_path_wtmp != x; then |
15097 | if test x$rxvt_cv_path_wtmp != x; then |
|
|
15098 | |
8777 | cat >> confdefs.h <<EOF |
15099 | cat >>confdefs.h <<_ACEOF |
8778 | #define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" |
15100 | #define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" |
8779 | EOF |
15101 | _ACEOF |
8780 | |
15102 | |
8781 | fi |
15103 | fi |
8782 | |
15104 | |
|
|
15105 | echo "$as_me:$LINENO: checking where wtmpx is located" >&5 |
8783 | echo $ac_n "checking where wtmpx is located""... $ac_c" 1>&6 |
15106 | echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 |
8784 | echo "configure:8785: checking where wtmpx is located" >&5 |
|
|
8785 | if eval "test \"`echo '$''{'rxvt_cv_path_wtmpx'+set}'`\" = set"; then |
15107 | if test "${rxvt_cv_path_wtmpx+set}" = set; then |
8786 | echo $ac_n "(cached) $ac_c" 1>&6 |
15108 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8787 | else |
15109 | else |
8788 | if test "$cross_compiling" = yes; then |
15110 | if test "$cross_compiling" = yes; then |
|
|
15111 | { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&5 |
8789 | echo "configure: warning: Define RXVT_WTMPX_FILE in config.h manually" 1>&2 |
15112 | echo "$as_me: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&2;} |
8790 | else |
15113 | else |
8791 | cat > conftest.$ac_ext <<EOF |
15114 | cat >conftest.$ac_ext <<_ACEOF |
8792 | #line 8793 "configure" |
15115 | /* confdefs.h. */ |
8793 | #include "confdefs.h" |
15116 | _ACEOF |
|
|
15117 | cat confdefs.h >>conftest.$ac_ext |
|
|
15118 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
15119 | /* end confdefs.h. */ |
8794 | #include <stdio.h> |
15120 | #include <stdio.h> |
8795 | #ifdef HAVE_UTMPX_H |
15121 | #ifdef HAVE_UTMPX_H |
8796 | #include <utmpx.h> |
15122 | #include <utmpx.h> |
8797 | #endif |
15123 | #endif |
8798 | #include <errno.h> |
15124 | #include <errno.h> |
8799 | main() |
15125 | main() |
8800 | { |
15126 | { |
8801 | char **w, *wtmplist[] = { |
15127 | char **w, *wtmplist[] = { |
8802 | "/var/log/wtmpx", "/var/adm/wtmpx", NULL }; |
15128 | "/var/log/wtmpx", "/var/adm/wtmpx", NULL }; |
8803 | FILE *a, *f=fopen("conftestval", "w"); |
15129 | FILE *a, *f=fopen("conftestval", "w"); |
8804 | if (!f) exit(1); |
15130 | if (!f) exit(1); |
8805 | #ifdef WTMPX_FILE |
15131 | #ifdef WTMPX_FILE |
8806 | fprintf(f, "%s\n", WTMPX_FILE); |
15132 | fprintf(f, "%s\n", WTMPX_FILE); |
8807 | exit(0); |
15133 | exit(0); |
… | |
… | |
8816 | exit(0); |
15142 | exit(0); |
8817 | } |
15143 | } |
8818 | } |
15144 | } |
8819 | exit(0); |
15145 | exit(0); |
8820 | } |
15146 | } |
8821 | EOF |
15147 | _ACEOF |
8822 | if { (eval echo configure:8823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
15148 | rm -f conftest$ac_exeext |
8823 | then |
15149 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15150 | (eval $ac_link) 2>&5 |
|
|
15151 | ac_status=$? |
|
|
15152 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15153 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
15154 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15155 | (eval $ac_try) 2>&5 |
|
|
15156 | ac_status=$? |
|
|
15157 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15158 | (exit $ac_status); }; }; then |
8824 | rxvt_cv_path_wtmpx=`cat conftestval` |
15159 | rxvt_cv_path_wtmpx=`cat conftestval` |
8825 | else |
15160 | else |
|
|
15161 | echo "$as_me: program exited with status $ac_status" >&5 |
8826 | echo "configure: failed program was:" >&5 |
15162 | echo "$as_me: failed program was:" >&5 |
8827 | cat conftest.$ac_ext >&5 |
15163 | sed 's/^/| /' conftest.$ac_ext >&5 |
8828 | rm -fr conftest* |
15164 | |
|
|
15165 | ( exit $ac_status ) |
8829 | rxvt_cv_path_wtmpx= |
15166 | rxvt_cv_path_wtmpx= |
8830 | fi |
15167 | fi |
8831 | rm -fr conftest* |
15168 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8832 | fi |
15169 | fi |
8833 | |
|
|
8834 | fi |
15170 | fi |
8835 | |
15171 | echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 |
8836 | echo "$ac_t""$rxvt_cv_path_wtmpx" 1>&6 |
15172 | echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 |
8837 | if test x$rxvt_cv_path_wtmpx != x; then |
15173 | if test x$rxvt_cv_path_wtmpx != x; then |
|
|
15174 | |
8838 | cat >> confdefs.h <<EOF |
15175 | cat >>confdefs.h <<_ACEOF |
8839 | #define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" |
15176 | #define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" |
8840 | EOF |
15177 | _ACEOF |
8841 | |
15178 | |
8842 | fi |
15179 | fi |
8843 | |
15180 | |
|
|
15181 | echo "$as_me:$LINENO: checking where lastlog is located" >&5 |
8844 | echo $ac_n "checking where lastlog is located""... $ac_c" 1>&6 |
15182 | echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 |
8845 | echo "configure:8846: checking where lastlog is located" >&5 |
|
|
8846 | if eval "test \"`echo '$''{'rxvt_cv_path_lastlog'+set}'`\" = set"; then |
15183 | if test "${rxvt_cv_path_lastlog+set}" = set; then |
8847 | echo $ac_n "(cached) $ac_c" 1>&6 |
15184 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8848 | else |
15185 | else |
8849 | if test "$cross_compiling" = yes; then |
15186 | if test "$cross_compiling" = yes; then |
|
|
15187 | { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&5 |
8850 | echo "configure: warning: Define RXVT_LASTLOG_FILE in config.h manually" 1>&2 |
15188 | echo "$as_me: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&2;} |
8851 | else |
15189 | else |
8852 | cat > conftest.$ac_ext <<EOF |
15190 | cat >conftest.$ac_ext <<_ACEOF |
8853 | #line 8854 "configure" |
15191 | /* confdefs.h. */ |
8854 | #include "confdefs.h" |
15192 | _ACEOF |
|
|
15193 | cat confdefs.h >>conftest.$ac_ext |
|
|
15194 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
15195 | /* end confdefs.h. */ |
8855 | #include <stdio.h> |
15196 | #include <stdio.h> |
8856 | #include <sys/types.h> |
15197 | #include <sys/types.h> |
8857 | #ifdef HAVE_UTMPX_H |
15198 | #ifdef HAVE_UTMPX_H |
8858 | #include <utmpx.h> |
15199 | #include <utmpx.h> |
8859 | #elif defined(HAVE_UTMP_H) |
15200 | #elif defined(HAVE_UTMP_H) |
… | |
… | |
8882 | exit(0); |
15223 | exit(0); |
8883 | } |
15224 | } |
8884 | } |
15225 | } |
8885 | exit(0); |
15226 | exit(0); |
8886 | } |
15227 | } |
8887 | EOF |
15228 | _ACEOF |
8888 | if { (eval echo configure:8889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
15229 | rm -f conftest$ac_exeext |
8889 | then |
15230 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15231 | (eval $ac_link) 2>&5 |
|
|
15232 | ac_status=$? |
|
|
15233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15234 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
15235 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15236 | (eval $ac_try) 2>&5 |
|
|
15237 | ac_status=$? |
|
|
15238 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15239 | (exit $ac_status); }; }; then |
8890 | rxvt_cv_path_lastlog=`cat conftestval` |
15240 | rxvt_cv_path_lastlog=`cat conftestval` |
8891 | else |
15241 | else |
|
|
15242 | echo "$as_me: program exited with status $ac_status" >&5 |
8892 | echo "configure: failed program was:" >&5 |
15243 | echo "$as_me: failed program was:" >&5 |
8893 | cat conftest.$ac_ext >&5 |
15244 | sed 's/^/| /' conftest.$ac_ext >&5 |
8894 | rm -fr conftest* |
15245 | |
|
|
15246 | ( exit $ac_status ) |
8895 | rxvt_cv_path_lastlog= |
15247 | rxvt_cv_path_lastlog= |
8896 | fi |
15248 | fi |
8897 | rm -fr conftest* |
15249 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8898 | fi |
15250 | fi |
8899 | |
|
|
8900 | fi |
15251 | fi |
8901 | |
15252 | echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 |
8902 | echo "$ac_t""$rxvt_cv_path_lastlog" 1>&6 |
15253 | echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 |
8903 | if test x$rxvt_cv_path_lastlog != x; then |
15254 | if test x$rxvt_cv_path_lastlog != x; then |
|
|
15255 | |
8904 | cat >> confdefs.h <<EOF |
15256 | cat >>confdefs.h <<_ACEOF |
8905 | #define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" |
15257 | #define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" |
8906 | EOF |
15258 | _ACEOF |
8907 | |
15259 | |
8908 | if test -d "$rxvt_cv_path_lastlog"; then |
15260 | if test -d "$rxvt_cv_path_lastlog"; then |
|
|
15261 | |
8909 | cat >> confdefs.h <<\EOF |
15262 | cat >>confdefs.h <<\_ACEOF |
8910 | #define LASTLOG_IS_DIR 1 |
15263 | #define LASTLOG_IS_DIR 1 |
8911 | EOF |
15264 | _ACEOF |
8912 | |
15265 | |
8913 | fi |
15266 | fi |
8914 | fi |
15267 | fi |
8915 | |
15268 | |
|
|
15269 | echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
8916 | echo $ac_n "checking where lastlogx is located""... $ac_c" 1>&6 |
15270 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 |
8917 | echo "configure:8918: checking where lastlogx is located" >&5 |
|
|
8918 | if eval "test \"`echo '$''{'rxvt_cv_path_lastlogx'+set}'`\" = set"; then |
15271 | if test "${rxvt_cv_path_lastlogx+set}" = set; then |
8919 | echo $ac_n "(cached) $ac_c" 1>&6 |
15272 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8920 | else |
15273 | else |
8921 | if test "$cross_compiling" = yes; then |
15274 | if test "$cross_compiling" = yes; then |
|
|
15275 | { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&5 |
8922 | echo "configure: warning: Define RXVT_LASTLOGX_FILE in config.h manually" 1>&2 |
15276 | echo "$as_me: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&2;} |
8923 | else |
15277 | else |
8924 | cat > conftest.$ac_ext <<EOF |
15278 | cat >conftest.$ac_ext <<_ACEOF |
8925 | #line 8926 "configure" |
15279 | /* confdefs.h. */ |
8926 | #include "confdefs.h" |
15280 | _ACEOF |
|
|
15281 | cat confdefs.h >>conftest.$ac_ext |
|
|
15282 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
15283 | /* end confdefs.h. */ |
8927 | #include <stdio.h> |
15284 | #include <stdio.h> |
8928 | #ifdef HAVE_UTMPX_H |
15285 | #ifdef HAVE_UTMPX_H |
8929 | #include <utmpx.h> |
15286 | #include <utmpx.h> |
8930 | #endif |
15287 | #endif |
8931 | #include <errno.h> |
15288 | #include <errno.h> |
… | |
… | |
8948 | exit(0); |
15305 | exit(0); |
8949 | } |
15306 | } |
8950 | } |
15307 | } |
8951 | exit(0); |
15308 | exit(0); |
8952 | } |
15309 | } |
8953 | EOF |
15310 | _ACEOF |
8954 | if { (eval echo configure:8955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
15311 | rm -f conftest$ac_exeext |
8955 | then |
15312 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15313 | (eval $ac_link) 2>&5 |
|
|
15314 | ac_status=$? |
|
|
15315 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15316 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
15317 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15318 | (eval $ac_try) 2>&5 |
|
|
15319 | ac_status=$? |
|
|
15320 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15321 | (exit $ac_status); }; }; then |
8956 | rxvt_cv_path_lastlogx=`cat conftestval` |
15322 | rxvt_cv_path_lastlogx=`cat conftestval` |
8957 | else |
15323 | else |
|
|
15324 | echo "$as_me: program exited with status $ac_status" >&5 |
8958 | echo "configure: failed program was:" >&5 |
15325 | echo "$as_me: failed program was:" >&5 |
8959 | cat conftest.$ac_ext >&5 |
15326 | sed 's/^/| /' conftest.$ac_ext >&5 |
8960 | rm -fr conftest* |
15327 | |
|
|
15328 | ( exit $ac_status ) |
8961 | rxvt_cv_path_lastlogx= |
15329 | rxvt_cv_path_lastlogx= |
8962 | fi |
15330 | fi |
8963 | rm -fr conftest* |
15331 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8964 | fi |
15332 | fi |
8965 | |
|
|
8966 | fi |
15333 | fi |
8967 | |
15334 | echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 |
8968 | echo "$ac_t""$rxvt_cv_path_lastlogx" 1>&6 |
15335 | echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 |
8969 | if test x$rxvt_cv_path_lastlogx != x; then |
15336 | if test x$rxvt_cv_path_lastlogx != x; then |
|
|
15337 | |
8970 | cat >> confdefs.h <<EOF |
15338 | cat >>confdefs.h <<_ACEOF |
8971 | #define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" |
15339 | #define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" |
8972 | EOF |
15340 | _ACEOF |
8973 | |
15341 | |
8974 | fi |
15342 | fi |
8975 | |
15343 | |
8976 | |
15344 | |
|
|
15345 | echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
8977 | echo $ac_n "checking where ttys/ttytab is located""... $ac_c" 1>&6 |
15346 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 |
8978 | echo "configure:8979: checking where ttys/ttytab is located" >&5 |
|
|
8979 | if eval "test \"`echo '$''{'rxvt_cv_path_ttytab'+set}'`\" = set"; then |
15347 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
8980 | echo $ac_n "(cached) $ac_c" 1>&6 |
15348 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8981 | else |
15349 | else |
8982 | for ttys_file in /etc/ttys /etc/ttytab; |
15350 | for ttys_file in /etc/ttys /etc/ttytab; |
8983 | do |
15351 | do |
8984 | if test -f "$ttys_file" ; then |
15352 | if test -f "$ttys_file" ; then |
8985 | rxvt_cv_path_ttytab=$ttys_file |
15353 | rxvt_cv_path_ttytab=$ttys_file |
8986 | break |
15354 | break |
8987 | fi |
15355 | fi |
8988 | done |
15356 | done |
8989 | |
15357 | |
8990 | fi |
15358 | fi |
8991 | |
15359 | echo "$as_me:$LINENO: result: $rxvt_cv_path_ttytab" >&5 |
8992 | echo "$ac_t""$rxvt_cv_path_ttytab" 1>&6 |
15360 | echo "${ECHO_T}$rxvt_cv_path_ttytab" >&6 |
8993 | if test x$rxvt_cv_path_ttytab != x; then |
15361 | if test x$rxvt_cv_path_ttytab != x; then |
|
|
15362 | |
8994 | cat >> confdefs.h <<EOF |
15363 | cat >>confdefs.h <<_ACEOF |
8995 | #define TTYTAB_FILENAME "$rxvt_cv_path_ttytab" |
15364 | #define TTYTAB_FILENAME "$rxvt_cv_path_ttytab" |
8996 | EOF |
15365 | _ACEOF |
8997 | |
15366 | |
8998 | fi |
15367 | fi |
8999 | |
15368 | |
9000 | |
15369 | |
9001 | ac_save_LIBS=$LIBS |
15370 | ac_save_LIBS=$LIBS |
… | |
… | |
9003 | CFLAGS="$CFLAGS $X_CFLAGS" |
15372 | CFLAGS="$CFLAGS $X_CFLAGS" |
9004 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
15373 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
9005 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
15374 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
9006 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
15375 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
9007 | fi |
15376 | fi |
|
|
15377 | echo "$as_me:$LINENO: checking for working Xlocale" >&5 |
9008 | echo $ac_n "checking for working Xlocale""... $ac_c" 1>&6 |
15378 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6 |
9009 | echo "configure:9010: checking for working Xlocale" >&5 |
|
|
9010 | if eval "test \"`echo '$''{'rxvt_cv_func_xlocale'+set}'`\" = set"; then |
15379 | if test "${rxvt_cv_func_xlocale+set}" = set; then |
9011 | echo $ac_n "(cached) $ac_c" 1>&6 |
15380 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9012 | else |
15381 | else |
9013 | if test "$cross_compiling" = yes; then |
15382 | if test "$cross_compiling" = yes; then |
|
|
15383 | { echo "$as_me:$LINENO: WARNING: Define NO_XLOCALE in config.h manually" >&5 |
9014 | echo "configure: warning: Define NO_XLOCALE in config.h manually" 1>&2 |
15384 | echo "$as_me: WARNING: Define NO_XLOCALE in config.h manually" >&2;} |
9015 | else |
15385 | else |
9016 | cat > conftest.$ac_ext <<EOF |
15386 | cat >conftest.$ac_ext <<_ACEOF |
9017 | #line 9018 "configure" |
15387 | /* confdefs.h. */ |
9018 | #include "confdefs.h" |
15388 | _ACEOF |
|
|
15389 | cat confdefs.h >>conftest.$ac_ext |
|
|
15390 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
15391 | /* end confdefs.h. */ |
9019 | #include <X11/Xlib.h> |
15392 | #include <X11/Xlib.h> |
9020 | main() { |
15393 | main() { |
9021 | char *p; |
15394 | char *p; |
9022 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
15395 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
9023 | exit (XSupportsLocale() ? 0 : 1); |
15396 | exit (XSupportsLocale() ? 0 : 1); |
9024 | else |
15397 | else |
9025 | exit (1);} |
15398 | exit (1);} |
9026 | EOF |
15399 | _ACEOF |
9027 | if { (eval echo configure:9028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
15400 | rm -f conftest$ac_exeext |
9028 | then |
15401 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15402 | (eval $ac_link) 2>&5 |
|
|
15403 | ac_status=$? |
|
|
15404 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15405 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
15406 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15407 | (eval $ac_try) 2>&5 |
|
|
15408 | ac_status=$? |
|
|
15409 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15410 | (exit $ac_status); }; }; then |
9029 | rxvt_cv_func_xlocale=yes |
15411 | rxvt_cv_func_xlocale=yes |
9030 | else |
15412 | else |
|
|
15413 | echo "$as_me: program exited with status $ac_status" >&5 |
9031 | echo "configure: failed program was:" >&5 |
15414 | echo "$as_me: failed program was:" >&5 |
9032 | cat conftest.$ac_ext >&5 |
15415 | sed 's/^/| /' conftest.$ac_ext >&5 |
9033 | rm -fr conftest* |
15416 | |
|
|
15417 | ( exit $ac_status ) |
9034 | rxvt_cv_func_xlocale=no |
15418 | rxvt_cv_func_xlocale=no |
9035 | fi |
15419 | fi |
9036 | rm -fr conftest* |
15420 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9037 | fi |
15421 | fi |
9038 | |
|
|
9039 | fi |
15422 | fi |
9040 | |
15423 | echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 |
9041 | echo "$ac_t""$rxvt_cv_func_xlocale" 1>&6 |
15424 | echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6 |
9042 | if test x$rxvt_cv_func_xlocale = xyes; then |
15425 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
15426 | |
9043 | cat >> confdefs.h <<\EOF |
15427 | cat >>confdefs.h <<\_ACEOF |
9044 | #define HAVE_XLOCALE 1 |
15428 | #define HAVE_XLOCALE 1 |
9045 | EOF |
15429 | _ACEOF |
9046 | |
15430 | |
9047 | fi |
15431 | fi |
9048 | |
15432 | |
|
|
15433 | echo "$as_me:$LINENO: checking for working X setlocale" >&5 |
9049 | echo $ac_n "checking for working X setlocale""... $ac_c" 1>&6 |
15434 | echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6 |
9050 | echo "configure:9051: checking for working X setlocale" >&5 |
|
|
9051 | if eval "test \"`echo '$''{'rxvt_cv_func_xsetlocale'+set}'`\" = set"; then |
15435 | if test "${rxvt_cv_func_xsetlocale+set}" = set; then |
9052 | echo $ac_n "(cached) $ac_c" 1>&6 |
15436 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9053 | else |
15437 | else |
9054 | cat > conftest.$ac_ext <<EOF |
15438 | cat >conftest.$ac_ext <<_ACEOF |
9055 | #line 9056 "configure" |
15439 | /* confdefs.h. */ |
9056 | #include "confdefs.h" |
15440 | _ACEOF |
|
|
15441 | cat confdefs.h >>conftest.$ac_ext |
|
|
15442 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
15443 | /* end confdefs.h. */ |
9057 | #define X_LOCALE 1 |
15444 | #define X_LOCALE 1 |
9058 | #include <X11/Xlocale.h> |
15445 | #include <X11/Xlocale.h> |
9059 | int main() { |
15446 | int |
|
|
15447 | main () |
|
|
15448 | { |
9060 | setlocale(LC_CTYPE, ""); |
15449 | setlocale(LC_CTYPE, ""); |
|
|
15450 | ; |
9061 | ; return 0; } |
15451 | return 0; |
9062 | EOF |
15452 | } |
9063 | if { (eval echo configure:9064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15453 | _ACEOF |
|
|
15454 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
15455 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15456 | (eval $ac_link) 2>conftest.er1 |
|
|
15457 | ac_status=$? |
|
|
15458 | grep -v '^ *+' conftest.er1 >conftest.err |
9064 | rm -rf conftest* |
15459 | rm -f conftest.er1 |
|
|
15460 | cat conftest.err >&5 |
|
|
15461 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15462 | (exit $ac_status); } && |
|
|
15463 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
15464 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15465 | (eval $ac_try) 2>&5 |
|
|
15466 | ac_status=$? |
|
|
15467 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15468 | (exit $ac_status); }; } && |
|
|
15469 | { ac_try='test -s conftest$ac_exeext' |
|
|
15470 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15471 | (eval $ac_try) 2>&5 |
|
|
15472 | ac_status=$? |
|
|
15473 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15474 | (exit $ac_status); }; }; then |
9065 | rxvt_cv_func_xsetlocale=yes |
15475 | rxvt_cv_func_xsetlocale=yes |
9066 | else |
15476 | else |
9067 | echo "configure: failed program was:" >&5 |
15477 | echo "$as_me: failed program was:" >&5 |
9068 | cat conftest.$ac_ext >&5 |
15478 | sed 's/^/| /' conftest.$ac_ext >&5 |
9069 | rm -rf conftest* |
15479 | |
9070 | rxvt_cv_func_xsetlocale=no |
15480 | rxvt_cv_func_xsetlocale=no |
9071 | fi |
15481 | fi |
9072 | rm -f conftest* |
15482 | rm -f conftest.err conftest.$ac_objext \ |
|
|
15483 | conftest$ac_exeext conftest.$ac_ext |
9073 | fi |
15484 | fi |
9074 | |
15485 | echo "$as_me:$LINENO: result: $rxvt_cv_func_xsetlocale" >&5 |
9075 | echo "$ac_t""$rxvt_cv_func_xsetlocale" 1>&6 |
15486 | echo "${ECHO_T}$rxvt_cv_func_xsetlocale" >&6 |
9076 | if test x$rxvt_cv_func_xsetlocale = xyes; then |
15487 | if test x$rxvt_cv_func_xsetlocale = xyes; then |
|
|
15488 | |
9077 | cat >> confdefs.h <<\EOF |
15489 | cat >>confdefs.h <<\_ACEOF |
9078 | #define HAVE_XSETLOCALE 1 |
15490 | #define HAVE_XSETLOCALE 1 |
9079 | EOF |
15491 | _ACEOF |
9080 | |
15492 | |
9081 | fi |
15493 | fi |
9082 | LIBS=$ac_save_LIBS |
15494 | LIBS=$ac_save_LIBS |
9083 | CFLAGS=$ac_save_CFLAGS |
15495 | CFLAGS=$ac_save_CFLAGS |
9084 | |
15496 | |
|
|
15497 | echo "$as_me:$LINENO: checking for working plain setlocale" >&5 |
9085 | echo $ac_n "checking for working plain setlocale""... $ac_c" 1>&6 |
15498 | echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6 |
9086 | echo "configure:9087: checking for working plain setlocale" >&5 |
|
|
9087 | if eval "test \"`echo '$''{'rxvt_cv_func_setlocale'+set}'`\" = set"; then |
15499 | if test "${rxvt_cv_func_setlocale+set}" = set; then |
9088 | echo $ac_n "(cached) $ac_c" 1>&6 |
15500 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9089 | else |
15501 | else |
9090 | cat > conftest.$ac_ext <<EOF |
15502 | cat >conftest.$ac_ext <<_ACEOF |
9091 | #line 9092 "configure" |
15503 | /* confdefs.h. */ |
9092 | #include "confdefs.h" |
15504 | _ACEOF |
|
|
15505 | cat confdefs.h >>conftest.$ac_ext |
|
|
15506 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
15507 | /* end confdefs.h. */ |
9093 | #include <locale.h> |
15508 | #include <locale.h> |
9094 | int main() { |
15509 | int |
|
|
15510 | main () |
|
|
15511 | { |
9095 | setlocale(LC_CTYPE, ""); |
15512 | setlocale(LC_CTYPE, ""); |
|
|
15513 | ; |
9096 | ; return 0; } |
15514 | return 0; |
9097 | EOF |
15515 | } |
9098 | if { (eval echo configure:9099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15516 | _ACEOF |
|
|
15517 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
15518 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15519 | (eval $ac_link) 2>conftest.er1 |
|
|
15520 | ac_status=$? |
|
|
15521 | grep -v '^ *+' conftest.er1 >conftest.err |
9099 | rm -rf conftest* |
15522 | rm -f conftest.er1 |
|
|
15523 | cat conftest.err >&5 |
|
|
15524 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15525 | (exit $ac_status); } && |
|
|
15526 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
15527 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15528 | (eval $ac_try) 2>&5 |
|
|
15529 | ac_status=$? |
|
|
15530 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15531 | (exit $ac_status); }; } && |
|
|
15532 | { ac_try='test -s conftest$ac_exeext' |
|
|
15533 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15534 | (eval $ac_try) 2>&5 |
|
|
15535 | ac_status=$? |
|
|
15536 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15537 | (exit $ac_status); }; }; then |
9100 | rxvt_cv_func_setlocale=yes |
15538 | rxvt_cv_func_setlocale=yes |
9101 | else |
15539 | else |
9102 | echo "configure: failed program was:" >&5 |
15540 | echo "$as_me: failed program was:" >&5 |
9103 | cat conftest.$ac_ext >&5 |
15541 | sed 's/^/| /' conftest.$ac_ext >&5 |
9104 | rm -rf conftest* |
15542 | |
9105 | rxvt_cv_func_setlocale=no |
15543 | rxvt_cv_func_setlocale=no |
9106 | fi |
15544 | fi |
9107 | rm -f conftest* |
15545 | rm -f conftest.err conftest.$ac_objext \ |
|
|
15546 | conftest$ac_exeext conftest.$ac_ext |
9108 | fi |
15547 | fi |
9109 | |
15548 | echo "$as_me:$LINENO: result: $rxvt_cv_func_setlocale" >&5 |
9110 | echo "$ac_t""$rxvt_cv_func_setlocale" 1>&6 |
15549 | echo "${ECHO_T}$rxvt_cv_func_setlocale" >&6 |
9111 | if test x$rxvt_cv_func_setlocale = xyes; then |
15550 | if test x$rxvt_cv_func_setlocale = xyes; then |
|
|
15551 | |
9112 | cat >> confdefs.h <<\EOF |
15552 | cat >>confdefs.h <<\_ACEOF |
9113 | #define HAVE_SETLOCALE 1 |
15553 | #define HAVE_SETLOCALE 1 |
9114 | EOF |
15554 | _ACEOF |
9115 | |
15555 | |
9116 | fi |
15556 | fi |
9117 | |
15557 | |
|
|
15558 | echo "$as_me:$LINENO: checking for working nl_langinfo" >&5 |
9118 | echo $ac_n "checking for working nl_langinfo""... $ac_c" 1>&6 |
15559 | echo $ECHO_N "checking for working nl_langinfo... $ECHO_C" >&6 |
9119 | echo "configure:9120: checking for working nl_langinfo" >&5 |
|
|
9120 | if eval "test \"`echo '$''{'rxvt_cv_func_nl_langinfo'+set}'`\" = set"; then |
15560 | if test "${rxvt_cv_func_nl_langinfo+set}" = set; then |
9121 | echo $ac_n "(cached) $ac_c" 1>&6 |
15561 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9122 | else |
15562 | else |
9123 | cat > conftest.$ac_ext <<EOF |
15563 | cat >conftest.$ac_ext <<_ACEOF |
9124 | #line 9125 "configure" |
15564 | /* confdefs.h. */ |
9125 | #include "confdefs.h" |
15565 | _ACEOF |
|
|
15566 | cat confdefs.h >>conftest.$ac_ext |
|
|
15567 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
15568 | /* end confdefs.h. */ |
9126 | #include <langinfo.h> |
15569 | #include <langinfo.h> |
9127 | int main() { |
15570 | int |
|
|
15571 | main () |
|
|
15572 | { |
9128 | nl_langinfo(CODESET); |
15573 | nl_langinfo(CODESET); |
|
|
15574 | ; |
9129 | ; return 0; } |
15575 | return 0; |
9130 | EOF |
15576 | } |
9131 | if { (eval echo configure:9132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15577 | _ACEOF |
|
|
15578 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
15579 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15580 | (eval $ac_link) 2>conftest.er1 |
|
|
15581 | ac_status=$? |
|
|
15582 | grep -v '^ *+' conftest.er1 >conftest.err |
9132 | rm -rf conftest* |
15583 | rm -f conftest.er1 |
|
|
15584 | cat conftest.err >&5 |
|
|
15585 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15586 | (exit $ac_status); } && |
|
|
15587 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
15588 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15589 | (eval $ac_try) 2>&5 |
|
|
15590 | ac_status=$? |
|
|
15591 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15592 | (exit $ac_status); }; } && |
|
|
15593 | { ac_try='test -s conftest$ac_exeext' |
|
|
15594 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15595 | (eval $ac_try) 2>&5 |
|
|
15596 | ac_status=$? |
|
|
15597 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15598 | (exit $ac_status); }; }; then |
9133 | rxvt_cv_func_nl_langinfo=yes |
15599 | rxvt_cv_func_nl_langinfo=yes |
9134 | else |
15600 | else |
9135 | echo "configure: failed program was:" >&5 |
15601 | echo "$as_me: failed program was:" >&5 |
9136 | cat conftest.$ac_ext >&5 |
15602 | sed 's/^/| /' conftest.$ac_ext >&5 |
9137 | rm -rf conftest* |
15603 | |
9138 | rxvt_cv_func_nl_langinfo=no |
15604 | rxvt_cv_func_nl_langinfo=no |
9139 | fi |
15605 | fi |
9140 | rm -f conftest* |
15606 | rm -f conftest.err conftest.$ac_objext \ |
|
|
15607 | conftest$ac_exeext conftest.$ac_ext |
9141 | fi |
15608 | fi |
9142 | |
15609 | echo "$as_me:$LINENO: result: $rxvt_cv_func_nl_langinfo" >&5 |
9143 | echo "$ac_t""$rxvt_cv_func_nl_langinfo" 1>&6 |
15610 | echo "${ECHO_T}$rxvt_cv_func_nl_langinfo" >&6 |
9144 | if test x$rxvt_cv_func_nl_langinfo = xyes; then |
15611 | if test x$rxvt_cv_func_nl_langinfo = xyes; then |
|
|
15612 | |
9145 | cat >> confdefs.h <<\EOF |
15613 | cat >>confdefs.h <<\_ACEOF |
9146 | #define HAVE_NL_LANGINFO 1 |
15614 | #define HAVE_NL_LANGINFO 1 |
9147 | EOF |
15615 | _ACEOF |
9148 | |
15616 | |
9149 | fi |
15617 | fi |
9150 | |
15618 | |
|
|
15619 | echo "$as_me:$LINENO: checking for getpt" >&5 |
9151 | echo $ac_n "checking for getpt""... $ac_c" 1>&6 |
15620 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
9152 | echo "configure:9153: checking for getpt" >&5 |
|
|
9153 | if eval "test \"`echo '$''{'rxvt_cv_func_getpt'+set}'`\" = set"; then |
15621 | if test "${rxvt_cv_func_getpt+set}" = set; then |
9154 | echo $ac_n "(cached) $ac_c" 1>&6 |
15622 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9155 | else |
15623 | else |
9156 | cat > conftest.$ac_ext <<EOF |
15624 | cat >conftest.$ac_ext <<_ACEOF |
9157 | #line 9158 "configure" |
15625 | /* confdefs.h. */ |
9158 | #include "confdefs.h" |
15626 | _ACEOF |
|
|
15627 | cat confdefs.h >>conftest.$ac_ext |
|
|
15628 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
15629 | /* end confdefs.h. */ |
9159 | #define _GNU_SOURCE |
15630 | #define _GNU_SOURCE |
9160 | #ifdef HAVE_STDLIB_H |
15631 | #ifdef HAVE_STDLIB_H |
9161 | # include <stdlib.h> |
15632 | # include <stdlib.h> |
9162 | #endif |
15633 | #endif |
9163 | int main() { |
15634 | int |
|
|
15635 | main () |
|
|
15636 | { |
9164 | (void)getpt(); |
15637 | (void)getpt(); |
|
|
15638 | ; |
9165 | ; return 0; } |
15639 | return 0; |
9166 | EOF |
15640 | } |
9167 | if { (eval echo configure:9168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15641 | _ACEOF |
|
|
15642 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
15643 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15644 | (eval $ac_link) 2>conftest.er1 |
|
|
15645 | ac_status=$? |
|
|
15646 | grep -v '^ *+' conftest.er1 >conftest.err |
9168 | rm -rf conftest* |
15647 | rm -f conftest.er1 |
|
|
15648 | cat conftest.err >&5 |
|
|
15649 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15650 | (exit $ac_status); } && |
|
|
15651 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
15652 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15653 | (eval $ac_try) 2>&5 |
|
|
15654 | ac_status=$? |
|
|
15655 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15656 | (exit $ac_status); }; } && |
|
|
15657 | { ac_try='test -s conftest$ac_exeext' |
|
|
15658 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15659 | (eval $ac_try) 2>&5 |
|
|
15660 | ac_status=$? |
|
|
15661 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15662 | (exit $ac_status); }; }; then |
9169 | rxvt_cv_func_getpt=yes |
15663 | rxvt_cv_func_getpt=yes |
9170 | else |
15664 | else |
9171 | echo "configure: failed program was:" >&5 |
15665 | echo "$as_me: failed program was:" >&5 |
9172 | cat conftest.$ac_ext >&5 |
15666 | sed 's/^/| /' conftest.$ac_ext >&5 |
9173 | rm -rf conftest* |
15667 | |
9174 | rxvt_cv_func_getpt=no |
15668 | rxvt_cv_func_getpt=no |
9175 | fi |
15669 | fi |
9176 | rm -f conftest* |
15670 | rm -f conftest.err conftest.$ac_objext \ |
|
|
15671 | conftest$ac_exeext conftest.$ac_ext |
9177 | fi |
15672 | fi |
9178 | |
15673 | echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 |
9179 | echo "$ac_t""$rxvt_cv_func_getpt" 1>&6 |
15674 | echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 |
9180 | if test x$rxvt_cv_func_getpt = xyes; then |
15675 | if test x$rxvt_cv_func_getpt = xyes; then |
|
|
15676 | |
9181 | cat >> confdefs.h <<\EOF |
15677 | cat >>confdefs.h <<\_ACEOF |
9182 | #define HAVE_GETPT 1 |
15678 | #define HAVE_GETPT 1 |
9183 | EOF |
15679 | _ACEOF |
9184 | |
15680 | |
9185 | fi |
15681 | fi |
9186 | |
15682 | |
|
|
15683 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
9187 | echo $ac_n "checking for pty/tty type""... $ac_c" 1>&6 |
15684 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
9188 | echo "configure:9189: checking for pty/tty type" >&5 |
|
|
9189 | if eval "test \"`echo '$''{'rxvt_cv_ptys'+set}'`\" = set"; then |
15685 | if test "${rxvt_cv_ptys+set}" = set; then |
9190 | echo $ac_n "(cached) $ac_c" 1>&6 |
15686 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9191 | else |
15687 | else |
9192 | if test x$ac_cv_func_openpty = xyes; then |
15688 | if test x$ac_cv_func_openpty = xyes; then |
9193 | rxvt_cv_ptys=OPENPTY |
15689 | rxvt_cv_ptys=OPENPTY |
9194 | else if test x$ac_cv_func__getpty = xyes; then |
15690 | else if test x$ac_cv_func__getpty = xyes; then |
9195 | rxvt_cv_ptys=SGI4 |
15691 | rxvt_cv_ptys=SGI4 |
… | |
… | |
9218 | fi |
15714 | fi |
9219 | fi |
15715 | fi |
9220 | fi |
15716 | fi |
9221 | |
15717 | |
9222 | fi |
15718 | fi |
9223 | |
15719 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
9224 | echo "$ac_t""$rxvt_cv_ptys" 1>&6 |
15720 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
9225 | |
15721 | |
9226 | if test x$rxvt_cv_ptys = xOPENPTY; then |
15722 | if test x$rxvt_cv_ptys = xOPENPTY; then |
|
|
15723 | |
9227 | cat >> confdefs.h <<\EOF |
15724 | cat >>confdefs.h <<\_ACEOF |
9228 | #define PTYS_ARE_OPENPTY 1 |
15725 | #define PTYS_ARE_OPENPTY 1 |
9229 | EOF |
15726 | _ACEOF |
9230 | |
15727 | |
9231 | fi |
15728 | fi |
9232 | if test x$rxvt_cv_ptys = xSCO; then |
15729 | if test x$rxvt_cv_ptys = xSCO; then |
|
|
15730 | |
9233 | cat >> confdefs.h <<\EOF |
15731 | cat >>confdefs.h <<\_ACEOF |
9234 | #define PTYS_ARE_NUMERIC 1 |
15732 | #define PTYS_ARE_NUMERIC 1 |
9235 | EOF |
15733 | _ACEOF |
9236 | |
15734 | |
9237 | fi |
15735 | fi |
9238 | if test x$rxvt_cv_ptys = xSTREAMS; then |
15736 | if test x$rxvt_cv_ptys = xSTREAMS; then |
|
|
15737 | |
9239 | cat >> confdefs.h <<\EOF |
15738 | cat >>confdefs.h <<\_ACEOF |
9240 | #define PTYS_ARE_PTMX 1 |
15739 | #define PTYS_ARE_PTMX 1 |
9241 | EOF |
15740 | _ACEOF |
9242 | |
15741 | |
9243 | fi |
15742 | fi |
9244 | if test x$rxvt_cv_ptys = xPTC; then |
15743 | if test x$rxvt_cv_ptys = xPTC; then |
|
|
15744 | |
9245 | cat >> confdefs.h <<\EOF |
15745 | cat >>confdefs.h <<\_ACEOF |
9246 | #define PTYS_ARE_PTC 1 |
15746 | #define PTYS_ARE_PTC 1 |
9247 | EOF |
15747 | _ACEOF |
9248 | |
15748 | |
9249 | fi |
15749 | fi |
9250 | if test x$rxvt_cv_ptys = xSGI4; then |
15750 | if test x$rxvt_cv_ptys = xSGI4; then |
|
|
15751 | |
9251 | cat >> confdefs.h <<\EOF |
15752 | cat >>confdefs.h <<\_ACEOF |
9252 | #define PTYS_ARE__GETPTY 1 |
15753 | #define PTYS_ARE__GETPTY 1 |
9253 | EOF |
15754 | _ACEOF |
9254 | |
15755 | |
9255 | fi |
15756 | fi |
9256 | if test x$rxvt_cv_ptys = xCONVEX; then |
15757 | if test x$rxvt_cv_ptys = xCONVEX; then |
|
|
15758 | |
9257 | cat >> confdefs.h <<\EOF |
15759 | cat >>confdefs.h <<\_ACEOF |
9258 | #define PTYS_ARE_GETPTY 1 |
15760 | #define PTYS_ARE_GETPTY 1 |
9259 | EOF |
15761 | _ACEOF |
9260 | |
15762 | |
9261 | fi |
15763 | fi |
9262 | if test x$rxvt_cv_ptys = xGLIBC; then |
15764 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
15765 | |
9263 | cat >> confdefs.h <<\EOF |
15766 | cat >>confdefs.h <<\_ACEOF |
9264 | #define PTYS_ARE_GETPT 1 |
15767 | #define PTYS_ARE_GETPT 1 |
9265 | EOF |
15768 | _ACEOF |
9266 | |
15769 | |
9267 | fi |
15770 | fi |
9268 | if test x$rxvt_cv_ptys = xHPUX; then |
15771 | if test x$rxvt_cv_ptys = xHPUX; then |
|
|
15772 | |
9269 | cat >> confdefs.h <<\EOF |
15773 | cat >>confdefs.h <<\_ACEOF |
9270 | #define PTYS_ARE_CLONE 1 |
15774 | #define PTYS_ARE_CLONE 1 |
9271 | EOF |
15775 | _ACEOF |
9272 | |
15776 | |
9273 | fi |
15777 | fi |
9274 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then |
15778 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then |
|
|
15779 | |
9275 | cat >> confdefs.h <<\EOF |
15780 | cat >>confdefs.h <<\_ACEOF |
9276 | #define PTYS_ARE_SEARCHED 1 |
15781 | #define PTYS_ARE_SEARCHED 1 |
9277 | EOF |
15782 | _ACEOF |
9278 | |
15783 | |
9279 | fi |
15784 | fi |
9280 | |
15785 | |
9281 | |
15786 | |
|
|
15787 | { echo "$as_me:$LINENO: checking for pty ranges..." >&5 |
9282 | echo "checking for pty ranges" 1>&6 |
15788 | echo "$as_me: checking for pty ranges..." >&6;} |
9283 | echo "configure:9284: checking for pty ranges" >&5 |
|
|
9284 | ptys=`echo /dev/pty??` |
15789 | ptys=`echo /dev/pty??` |
9285 | pch1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'` |
15790 | pch1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'` |
9286 | pch2=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'` |
15791 | pch2=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'` |
9287 | if test x$pch1 != x; then |
15792 | if test x$pch1 != x; then |
|
|
15793 | |
9288 | cat >> confdefs.h <<EOF |
15794 | cat >>confdefs.h <<_ACEOF |
9289 | #define PTYCHAR1 "$pch1" |
15795 | #define PTYCHAR1 "$pch1" |
9290 | EOF |
15796 | _ACEOF |
9291 | |
15797 | |
9292 | fi |
15798 | fi |
9293 | if test x$pch2 != x; then |
15799 | if test x$pch2 != x; then |
|
|
15800 | |
9294 | cat >> confdefs.h <<EOF |
15801 | cat >>confdefs.h <<_ACEOF |
9295 | #define PTYCHAR2 "$pch2" |
15802 | #define PTYCHAR2 "$pch2" |
9296 | EOF |
15803 | _ACEOF |
9297 | |
15804 | |
9298 | fi |
15805 | fi |
9299 | |
15806 | |
|
|
15807 | echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 |
9300 | echo $ac_n "checking for setlocale in -lxpg4""... $ac_c" 1>&6 |
15808 | echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 |
9301 | echo "configure:9302: checking for setlocale in -lxpg4" >&5 |
15809 | if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then |
9302 | ac_lib_var=`echo xpg4'_'setlocale | sed 'y%./+-%__p_%'` |
|
|
9303 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
9304 | echo $ac_n "(cached) $ac_c" 1>&6 |
15810 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9305 | else |
15811 | else |
9306 | ac_save_LIBS="$LIBS" |
15812 | ac_check_lib_save_LIBS=$LIBS |
9307 | LIBS="-lxpg4 $LIBS" |
15813 | LIBS="-lxpg4 $LIBS" |
9308 | cat > conftest.$ac_ext <<EOF |
15814 | cat >conftest.$ac_ext <<_ACEOF |
9309 | #line 9310 "configure" |
15815 | /* confdefs.h. */ |
9310 | #include "confdefs.h" |
15816 | _ACEOF |
|
|
15817 | cat confdefs.h >>conftest.$ac_ext |
|
|
15818 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
15819 | /* end confdefs.h. */ |
|
|
15820 | |
9311 | /* Override any gcc2 internal prototype to avoid an error. */ |
15821 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
15822 | #ifdef __cplusplus |
|
|
15823 | extern "C" |
|
|
15824 | #endif |
9312 | /* We use char because int might match the return type of a gcc2 |
15825 | /* We use char because int might match the return type of a gcc2 |
9313 | builtin and then its argument prototype would still apply. */ |
15826 | builtin and then its argument prototype would still apply. */ |
9314 | char setlocale(); |
15827 | char setlocale (); |
9315 | |
15828 | int |
9316 | int main() { |
15829 | main () |
|
|
15830 | { |
9317 | setlocale() |
15831 | setlocale (); |
|
|
15832 | ; |
9318 | ; return 0; } |
15833 | return 0; |
9319 | EOF |
15834 | } |
9320 | if { (eval echo configure:9321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15835 | _ACEOF |
|
|
15836 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
15837 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15838 | (eval $ac_link) 2>conftest.er1 |
|
|
15839 | ac_status=$? |
|
|
15840 | grep -v '^ *+' conftest.er1 >conftest.err |
9321 | rm -rf conftest* |
15841 | rm -f conftest.er1 |
9322 | eval "ac_cv_lib_$ac_lib_var=yes" |
15842 | cat conftest.err >&5 |
|
|
15843 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15844 | (exit $ac_status); } && |
|
|
15845 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
15846 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15847 | (eval $ac_try) 2>&5 |
|
|
15848 | ac_status=$? |
|
|
15849 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15850 | (exit $ac_status); }; } && |
|
|
15851 | { ac_try='test -s conftest$ac_exeext' |
|
|
15852 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15853 | (eval $ac_try) 2>&5 |
|
|
15854 | ac_status=$? |
|
|
15855 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15856 | (exit $ac_status); }; }; then |
|
|
15857 | ac_cv_lib_xpg4_setlocale=yes |
9323 | else |
15858 | else |
9324 | echo "configure: failed program was:" >&5 |
15859 | echo "$as_me: failed program was:" >&5 |
9325 | cat conftest.$ac_ext >&5 |
15860 | sed 's/^/| /' conftest.$ac_ext >&5 |
9326 | rm -rf conftest* |
15861 | |
9327 | eval "ac_cv_lib_$ac_lib_var=no" |
15862 | ac_cv_lib_xpg4_setlocale=no |
9328 | fi |
15863 | fi |
9329 | rm -f conftest* |
15864 | rm -f conftest.err conftest.$ac_objext \ |
|
|
15865 | conftest$ac_exeext conftest.$ac_ext |
9330 | LIBS="$ac_save_LIBS" |
15866 | LIBS=$ac_check_lib_save_LIBS |
9331 | |
|
|
9332 | fi |
15867 | fi |
9333 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
15868 | echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5 |
9334 | echo "$ac_t""yes" 1>&6 |
15869 | echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 |
|
|
15870 | if test $ac_cv_lib_xpg4_setlocale = yes; then |
9335 | LIBS="$LIBS -lxpg4" |
15871 | LIBS="$LIBS -lxpg4" |
9336 | else |
|
|
9337 | echo "$ac_t""no" 1>&6 |
|
|
9338 | fi |
15872 | fi |
9339 | |
15873 | |
9340 | |
15874 | |
9341 | if test x$support_graphics = xyes; then |
|
|
9342 | cat >> confdefs.h <<\EOF |
|
|
9343 | #define RXVT_GRAPHICS 1 |
|
|
9344 | EOF |
|
|
9345 | |
|
|
9346 | fi |
|
|
9347 | if test x$support_inheritpixmap = xyes; then |
15875 | if test x$support_inheritpixmap = xyes; then |
|
|
15876 | |
9348 | cat >> confdefs.h <<\EOF |
15877 | cat >>confdefs.h <<\_ACEOF |
9349 | #define TRANSPARENT 1 |
15878 | #define TRANSPARENT 1 |
9350 | EOF |
15879 | _ACEOF |
9351 | |
15880 | |
9352 | fi |
15881 | fi |
9353 | if test x$support_keepscrolling = xno; then |
15882 | if test x$support_keepscrolling = xno; then |
|
|
15883 | |
9354 | cat >> confdefs.h <<\EOF |
15884 | cat >>confdefs.h <<\_ACEOF |
9355 | #define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1 |
15885 | #define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1 |
9356 | EOF |
15886 | _ACEOF |
9357 | |
15887 | |
9358 | fi |
15888 | fi |
9359 | if test x$support_selectionscrolling = xyes; then |
15889 | if test x$support_selectionscrolling = xyes; then |
|
|
15890 | |
9360 | cat >> confdefs.h <<\EOF |
15891 | cat >>confdefs.h <<\_ACEOF |
9361 | #define SELECTION_SCROLLING 1 |
15892 | #define SELECTION_SCROLLING 1 |
9362 | EOF |
15893 | _ACEOF |
9363 | |
15894 | |
9364 | fi |
15895 | fi |
9365 | if test x$support_menubar = xyes; then |
15896 | if test x$support_menubar = xyes; then |
|
|
15897 | |
9366 | cat >> confdefs.h <<\EOF |
15898 | cat >>confdefs.h <<\_ACEOF |
9367 | #define MENUBAR 1 |
15899 | #define MENUBAR 1 |
9368 | EOF |
15900 | _ACEOF |
9369 | |
15901 | |
9370 | fi |
15902 | fi |
9371 | if test x$support_frills = xno; then |
15903 | if test x$support_frills = xno; then |
|
|
15904 | |
9372 | cat >> confdefs.h <<\EOF |
15905 | cat >>confdefs.h <<\_ACEOF |
9373 | #define NO_FRILLS 1 |
15906 | #define NO_FRILLS 1 |
9374 | EOF |
15907 | _ACEOF |
9375 | |
15908 | |
9376 | fi |
15909 | fi |
9377 | if test x$support_linespace = xno; then |
15910 | if test x$support_linespace = xno; then |
|
|
15911 | |
9378 | cat >> confdefs.h <<\EOF |
15912 | cat >>confdefs.h <<\_ACEOF |
9379 | #define NO_LINESPACE 1 |
15913 | #define NO_LINESPACE 1 |
9380 | EOF |
15914 | _ACEOF |
9381 | |
15915 | |
9382 | fi |
15916 | fi |
9383 | if test x$support_24bit = xyes; then |
15917 | if test x$support_24bit = xyes; then |
|
|
15918 | |
9384 | cat >> confdefs.h <<\EOF |
15919 | cat >>confdefs.h <<\_ACEOF |
9385 | #define PREFER_24BIT 1 |
15920 | #define PREFER_24BIT 1 |
9386 | EOF |
15921 | _ACEOF |
9387 | |
15922 | |
9388 | fi |
15923 | fi |
9389 | if test x$support_mousewheel = xyes; then |
15924 | if test x$support_mousewheel = xyes; then |
|
|
15925 | |
9390 | cat >> confdefs.h <<\EOF |
15926 | cat >>confdefs.h <<\_ACEOF |
9391 | #define MOUSE_WHEEL 1 |
15927 | #define MOUSE_WHEEL 1 |
9392 | EOF |
15928 | _ACEOF |
9393 | |
15929 | |
9394 | fi |
15930 | fi |
9395 | if test x$support_mouseslipwheel = xyes; then |
15931 | if test x$support_mouseslipwheel = xyes; then |
|
|
15932 | |
9396 | cat >> confdefs.h <<\EOF |
15933 | cat >>confdefs.h <<\_ACEOF |
9397 | #define MOUSE_SLIP_WHEELING 1 |
15934 | #define MOUSE_SLIP_WHEELING 1 |
9398 | EOF |
15935 | _ACEOF |
9399 | |
15936 | |
9400 | fi |
15937 | fi |
9401 | if test x$support_oldselection = xno; then |
15938 | if test x$support_oldselection = xno; then |
|
|
15939 | |
9402 | cat >> confdefs.h <<\EOF |
15940 | cat >>confdefs.h <<\_ACEOF |
9403 | #define NO_OLD_SELECTION 1 |
15941 | #define NO_OLD_SELECTION 1 |
9404 | EOF |
15942 | _ACEOF |
9405 | |
15943 | |
9406 | fi |
15944 | fi |
9407 | if test x$support_utmp = xyes; then |
15945 | if test x$support_utmp = xyes; then |
|
|
15946 | |
9408 | cat >> confdefs.h <<\EOF |
15947 | cat >>confdefs.h <<\_ACEOF |
9409 | #define UTMP_SUPPORT 1 |
15948 | #define UTMP_SUPPORT 1 |
9410 | EOF |
15949 | _ACEOF |
9411 | |
15950 | |
9412 | fi |
15951 | fi |
9413 | if test x$support_wtmp = xyes; then |
15952 | if test x$support_wtmp = xyes; then |
|
|
15953 | |
9414 | cat >> confdefs.h <<\EOF |
15954 | cat >>confdefs.h <<\_ACEOF |
9415 | #define WTMP_SUPPORT 1 |
15955 | #define WTMP_SUPPORT 1 |
9416 | EOF |
15956 | _ACEOF |
9417 | |
15957 | |
9418 | fi |
15958 | fi |
9419 | if test x$support_lastlog = xyes; then |
15959 | if test x$support_lastlog = xyes; then |
|
|
15960 | |
9420 | cat >> confdefs.h <<\EOF |
15961 | cat >>confdefs.h <<\_ACEOF |
9421 | #define LASTLOG_SUPPORT 1 |
15962 | #define LASTLOG_SUPPORT 1 |
9422 | EOF |
15963 | _ACEOF |
9423 | |
15964 | |
9424 | fi |
15965 | fi |
9425 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
15966 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
9426 | if test x$rxvt_cv_func_xlocale = xyes; then |
15967 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
15968 | |
9427 | cat >> confdefs.h <<\EOF |
15969 | cat >>confdefs.h <<\_ACEOF |
9428 | #define USE_XIM 1 |
15970 | #define USE_XIM 1 |
9429 | EOF |
15971 | _ACEOF |
9430 | |
15972 | |
9431 | fi |
15973 | fi |
9432 | fi |
15974 | fi |
9433 | if test x$support_xpm = xyes; then |
15975 | if test x$support_xpm = xyes; then |
|
|
15976 | |
9434 | cat >> confdefs.h <<\EOF |
15977 | cat >>confdefs.h <<\_ACEOF |
9435 | #define XPM_BACKGROUND 1 |
15978 | #define XPM_BACKGROUND 1 |
9436 | EOF |
15979 | _ACEOF |
9437 | |
15980 | |
9438 | fi |
15981 | fi |
9439 | if test x$support_scroll_rxvt = xyes; then |
15982 | if test x$support_scroll_rxvt = xyes; then |
|
|
15983 | |
9440 | cat >> confdefs.h <<\EOF |
15984 | cat >>confdefs.h <<\_ACEOF |
9441 | #define RXVT_SCROLLBAR 1 |
15985 | #define RXVT_SCROLLBAR 1 |
9442 | EOF |
15986 | _ACEOF |
9443 | |
15987 | |
9444 | scrolltypes="rxvt" |
15988 | scrolltypes="rxvt" |
9445 | fi |
15989 | fi |
9446 | if test x$support_scroll_next = xyes; then |
15990 | if test x$support_scroll_next = xyes; then |
|
|
15991 | |
9447 | cat >> confdefs.h <<\EOF |
15992 | cat >>confdefs.h <<\_ACEOF |
9448 | #define NEXT_SCROLLBAR 1 |
15993 | #define NEXT_SCROLLBAR 1 |
9449 | EOF |
15994 | _ACEOF |
9450 | |
15995 | |
9451 | scrolltypes="$scrolltypes next" |
15996 | scrolltypes="$scrolltypes next" |
9452 | fi |
15997 | fi |
9453 | if test x$support_scroll_xterm = xyes; then |
15998 | if test x$support_scroll_xterm = xyes; then |
|
|
15999 | |
9454 | cat >> confdefs.h <<\EOF |
16000 | cat >>confdefs.h <<\_ACEOF |
9455 | #define XTERM_SCROLLBAR 1 |
16001 | #define XTERM_SCROLLBAR 1 |
9456 | EOF |
16002 | _ACEOF |
9457 | |
16003 | |
9458 | scrolltypes="$scrolltypes xterm" |
16004 | scrolltypes="$scrolltypes xterm" |
9459 | fi |
16005 | fi |
|
|
16006 | if test x$support_scroll_plain = xyes; then |
|
|
16007 | |
|
|
16008 | cat >>confdefs.h <<\_ACEOF |
|
|
16009 | #define PLAIN_SCROLLBAR 1 |
|
|
16010 | _ACEOF |
|
|
16011 | |
|
|
16012 | scrolltypes="$scrolltypes plain" |
|
|
16013 | fi |
9460 | if test x$support_pointer_blank = xyes; then |
16014 | if test x$support_pointer_blank = xyes; then |
|
|
16015 | |
9461 | cat >> confdefs.h <<\EOF |
16016 | cat >>confdefs.h <<\_ACEOF |
9462 | #define POINTER_BLANK 1 |
16017 | #define POINTER_BLANK 1 |
9463 | EOF |
16018 | _ACEOF |
9464 | |
16019 | |
9465 | fi |
16020 | fi |
9466 | if test x$support_cursor_blink = xyes; then |
16021 | if test x$support_cursor_blink = xyes; then |
|
|
16022 | |
9467 | cat >> confdefs.h <<\EOF |
16023 | cat >>confdefs.h <<\_ACEOF |
9468 | #define CURSOR_BLINK 1 |
16024 | #define CURSOR_BLINK 1 |
9469 | EOF |
16025 | _ACEOF |
|
|
16026 | |
|
|
16027 | fi |
|
|
16028 | if test x$support_text_blink = xyes; then |
|
|
16029 | |
|
|
16030 | cat >>confdefs.h <<\_ACEOF |
|
|
16031 | #define TEXT_BLINK 1 |
|
|
16032 | _ACEOF |
9470 | |
16033 | |
9471 | fi |
16034 | fi |
9472 | if test x$support_unicode3 = xyes; then |
16035 | if test x$support_unicode3 = xyes; then |
|
|
16036 | |
9473 | cat >> confdefs.h <<\EOF |
16037 | cat >>confdefs.h <<\_ACEOF |
9474 | #define UNICODE_3 1 |
16038 | #define UNICODE_3 1 |
9475 | EOF |
16039 | _ACEOF |
9476 | |
16040 | |
9477 | fi |
16041 | fi |
9478 | if test x$codesets = xall; then |
16042 | if test x$codesets = xall; then |
9479 | codesets=jp,jp-ext,kr,cn,cn-ext,vn |
16043 | codesets=jp,jp-ext,kr,cn,cn-ext,vn |
9480 | fi |
16044 | fi |
9481 | for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do |
16045 | for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do |
|
|
16046 | |
9482 | cat >> confdefs.h <<\EOF |
16047 | cat >>confdefs.h <<\_ACEOF |
9483 | #define ENCODING_EU 1 |
16048 | #define ENCODING_EU 1 |
9484 | EOF |
16049 | _ACEOF |
9485 | |
16050 | |
9486 | case "$codeset" in |
16051 | case "$codeset" in |
9487 | VN ) cat >> confdefs.h <<\EOF |
16052 | VN ) |
|
|
16053 | cat >>confdefs.h <<\_ACEOF |
9488 | #define ENCODING_VN 1 |
16054 | #define ENCODING_VN 1 |
9489 | EOF |
16055 | _ACEOF |
9490 | ;; |
16056 | ;; |
9491 | JP ) cat >> confdefs.h <<\EOF |
16057 | JP ) |
|
|
16058 | cat >>confdefs.h <<\_ACEOF |
9492 | #define ENCODING_JP 1 |
16059 | #define ENCODING_JP 1 |
9493 | EOF |
16060 | _ACEOF |
9494 | ;; |
16061 | ;; |
9495 | JP_EXT ) cat >> confdefs.h <<\EOF |
16062 | JP_EXT ) |
|
|
16063 | cat >>confdefs.h <<\_ACEOF |
9496 | #define ENCODING_JP_EXT 1 |
16064 | #define ENCODING_JP_EXT 1 |
9497 | EOF |
16065 | _ACEOF |
9498 | ;; |
16066 | ;; |
9499 | KR ) cat >> confdefs.h <<\EOF |
16067 | KR ) |
|
|
16068 | cat >>confdefs.h <<\_ACEOF |
9500 | #define ENCODING_KR 1 |
16069 | #define ENCODING_KR 1 |
9501 | EOF |
16070 | _ACEOF |
9502 | ;; |
16071 | ;; |
9503 | CN ) cat >> confdefs.h <<\EOF |
16072 | CN ) |
|
|
16073 | cat >>confdefs.h <<\_ACEOF |
9504 | #define ENCODING_CN 1 |
16074 | #define ENCODING_CN 1 |
9505 | EOF |
16075 | _ACEOF |
9506 | ;; |
16076 | ;; |
9507 | CN_EXT ) cat >> confdefs.h <<\EOF |
16077 | CN_EXT ) |
|
|
16078 | cat >>confdefs.h <<\_ACEOF |
9508 | #define ENCODING_CN_EXT 1 |
16079 | #define ENCODING_CN_EXT 1 |
9509 | EOF |
16080 | _ACEOF |
9510 | ;; |
16081 | ;; |
9511 | esac |
16082 | esac |
9512 | done |
16083 | done |
9513 | |
16084 | |
9514 | |
16085 | |
… | |
… | |
9534 | |
16105 | |
9535 | |
16106 | |
9536 | |
16107 | |
9537 | |
16108 | |
9538 | if test x$support_addstrings = xno; then |
16109 | if test x$support_addstrings = xno; then |
|
|
16110 | |
9539 | cat >> confdefs.h <<\EOF |
16111 | cat >>confdefs.h <<\_ACEOF |
9540 | #define NO_STRINGS 1 |
16112 | #define NO_STRINGS 1 |
9541 | EOF |
16113 | _ACEOF |
9542 | |
16114 | |
9543 | fi |
16115 | fi |
9544 | |
16116 | |
9545 | MCOMMON=./autoconf/Make.common |
16117 | MCOMMON=./autoconf/Make.common |
9546 | |
16118 | |
9547 | |
16119 | |
9548 | if test "$program_transform_name" = s,x,x,; then |
|
|
9549 | program_transform_name= |
|
|
9550 | else |
|
|
9551 | # Double any \ or $. echo might interpret backslashes. |
|
|
9552 | cat <<\EOF_SED > conftestsed |
|
|
9553 | s,\\,\\\\,g; s,\$,$$,g |
|
|
9554 | EOF_SED |
|
|
9555 | program_transform_name="`echo $program_transform_name|sed -f conftestsed`" |
|
|
9556 | rm -f conftestsed |
|
|
9557 | fi |
|
|
9558 | test "$program_prefix" != NONE && |
16120 | test "$program_prefix" != NONE && |
9559 | program_transform_name="s,^,${program_prefix},; $program_transform_name" |
16121 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
9560 | # Use a double $ so make ignores it. |
16122 | # Use a double $ so make ignores it. |
9561 | test "$program_suffix" != NONE && |
16123 | test "$program_suffix" != NONE && |
9562 | program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" |
16124 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
9563 | |
16125 | # Double any \ or $. echo might interpret backslashes. |
9564 | # sed with no file args requires a program. |
16126 | # By default was `s,x,x', remove it if useless. |
9565 | test "$program_transform_name" = "" && program_transform_name="s,x,x," |
16127 | cat <<\_ACEOF >conftest.sed |
|
|
16128 | s/[\\$]/&&/g;s/;s,x,x,$// |
|
|
16129 | _ACEOF |
|
|
16130 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|
|
16131 | rm conftest.sed |
9566 | |
16132 | |
9567 | |
16133 | |
9568 | RXVTNAME=`echo rxvt|sed "$program_transform_name"` |
16134 | RXVTNAME=`echo rxvt|sed "$program_transform_name"` |
9569 | |
16135 | |
9570 | |
16136 | |
… | |
… | |
9573 | |
16139 | |
9574 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
16140 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
9575 | include_stdint_h="#include <stdint.h>" |
16141 | include_stdint_h="#include <stdint.h>" |
9576 | else |
16142 | else |
9577 | include_stdint_h="/* #include <stdint.h> */" |
16143 | include_stdint_h="/* #include <stdint.h> */" |
9578 | fi |
16144 | fi |
9579 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
16145 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
9580 | include_stdarg_h="#include <stdarg.h>" |
16146 | include_stdarg_h="#include <stdarg.h>" |
9581 | else |
16147 | else |
9582 | include_stdarg_h="/* #include <stdarg.h> */" |
16148 | include_stdarg_h="/* #include <stdarg.h> */" |
9583 | fi |
16149 | fi |
9584 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
16150 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
9585 | include_stdlib_h="#include <stdlib.h>" |
16151 | include_stdlib_h="#include <stdlib.h>" |
9586 | else |
16152 | else |
9587 | include_stdlib_h="/* #include <stdlib.h> */" |
16153 | include_stdlib_h="/* #include <stdlib.h> */" |
9588 | fi |
16154 | fi |
9589 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
16155 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
9590 | include_unistd_h="#include <unistd.h>" |
16156 | include_unistd_h="#include <unistd.h>" |
9591 | else |
16157 | else |
9592 | include_unistd_h="/* #include <unistd.h> */" |
16158 | include_unistd_h="/* #include <unistd.h> */" |
9593 | fi |
16159 | fi |
9594 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
16160 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
9595 | include_string_h="#include <string.h>" |
16161 | include_string_h="#include <string.h>" |
9596 | else |
16162 | else |
9597 | include_string_h="/* #include <string.h> */" |
16163 | include_string_h="/* #include <string.h> */" |
9598 | fi |
16164 | fi |
9599 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
16165 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
9600 | include_fcntl_h="#include <fcntl.h>" |
16166 | include_fcntl_h="#include <fcntl.h>" |
9601 | else |
16167 | else |
9602 | include_fcntl_h="/* #include <fcntl.h> */" |
16168 | include_fcntl_h="/* #include <fcntl.h> */" |
9603 | fi |
16169 | fi |
9604 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
16170 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
9605 | include_util_h="#include <util.h>" |
16171 | include_util_h="#include <util.h>" |
9606 | else |
16172 | else |
9607 | include_util_h="/* #include <util.h> */" |
16173 | include_util_h="/* #include <util.h> */" |
9608 | fi |
16174 | fi |
9609 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
16175 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
9610 | include_assert_h="#include <assert.h>" |
16176 | include_assert_h="#include <assert.h>" |
9611 | else |
16177 | else |
9612 | include_assert_h="/* #include <assert.h> */" |
16178 | include_assert_h="/* #include <assert.h> */" |
9613 | fi |
16179 | fi |
9614 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
16180 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
9615 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
16181 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
9616 | else |
16182 | else |
9617 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
16183 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
9618 | fi |
16184 | fi |
9619 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
16185 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
9620 | include_sys_select_h="#include <sys/select.h>" |
16186 | include_sys_select_h="#include <sys/select.h>" |
9621 | else |
16187 | else |
9622 | include_sys_select_h="/* #include <sys/select.h> */" |
16188 | include_sys_select_h="/* #include <sys/select.h> */" |
9623 | fi |
16189 | fi |
9624 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
16190 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
9625 | include_sys_strredir_h="#include <sys/strredir.h>" |
16191 | include_sys_strredir_h="#include <sys/strredir.h>" |
9626 | else |
16192 | else |
9627 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
16193 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
9628 | fi |
16194 | fi |
9629 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
16195 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
9630 | include_sys_time_h="#include <sys/time.h>" |
16196 | include_sys_time_h="#include <sys/time.h>" |
9631 | else |
16197 | else |
9632 | include_sys_time_h="/* #include <sys/time.h> */" |
16198 | include_sys_time_h="/* #include <sys/time.h> */" |
9633 | fi |
16199 | fi |
9634 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
16200 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
9635 | include_time_h="#include <time.h>" |
16201 | include_time_h="#include <time.h>" |
9636 | else |
16202 | else |
9637 | include_time_h="/* #include <time.h> */" |
16203 | include_time_h="/* #include <time.h> */" |
9638 | fi |
16204 | fi |
9639 | |
16205 | |
9640 | if test x$support_xft = xyes; then |
16206 | if test x$support_xft = xyes; then |
9641 | LIBS="$LIBS `pkg-config xft --libs`" |
16207 | LIBS="$LIBS `pkg-config xft --libs`" |
9642 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
16208 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
9643 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
16209 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
9644 | |
16210 | |
|
|
16211 | |
9645 | for ac_hdr in X11/Xft/Xft.h |
16212 | for ac_header in X11/Xft/Xft.h |
9646 | do |
16213 | do |
9647 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
16214 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
16215 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
16216 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9648 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
16217 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
9649 | echo "configure:9650: checking for $ac_hdr" >&5 |
16218 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
9650 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|
|
9651 | echo $ac_n "(cached) $ac_c" 1>&6 |
16219 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
16220 | fi |
|
|
16221 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
16222 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
9652 | else |
16223 | else |
|
|
16224 | # Is the header compilable? |
|
|
16225 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
16226 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
9653 | cat > conftest.$ac_ext <<EOF |
16227 | cat >conftest.$ac_ext <<_ACEOF |
9654 | #line 9655 "configure" |
16228 | /* confdefs.h. */ |
9655 | #include "confdefs.h" |
16229 | _ACEOF |
|
|
16230 | cat confdefs.h >>conftest.$ac_ext |
|
|
16231 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
16232 | /* end confdefs.h. */ |
|
|
16233 | $ac_includes_default |
9656 | #include <$ac_hdr> |
16234 | #include <$ac_header> |
9657 | EOF |
16235 | _ACEOF |
9658 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
16236 | rm -f conftest.$ac_objext |
9659 | { (eval echo configure:9660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
16237 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9660 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
16238 | (eval $ac_compile) 2>conftest.er1 |
|
|
16239 | ac_status=$? |
|
|
16240 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
16241 | rm -f conftest.er1 |
|
|
16242 | cat conftest.err >&5 |
|
|
16243 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16244 | (exit $ac_status); } && |
|
|
16245 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
16246 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16247 | (eval $ac_try) 2>&5 |
|
|
16248 | ac_status=$? |
|
|
16249 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16250 | (exit $ac_status); }; } && |
|
|
16251 | { ac_try='test -s conftest.$ac_objext' |
|
|
16252 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16253 | (eval $ac_try) 2>&5 |
|
|
16254 | ac_status=$? |
|
|
16255 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16256 | (exit $ac_status); }; }; then |
|
|
16257 | ac_header_compiler=yes |
|
|
16258 | else |
|
|
16259 | echo "$as_me: failed program was:" >&5 |
|
|
16260 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
16261 | |
|
|
16262 | ac_header_compiler=no |
|
|
16263 | fi |
|
|
16264 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
16265 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
16266 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
16267 | |
|
|
16268 | # Is the header present? |
|
|
16269 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
16270 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
|
16271 | cat >conftest.$ac_ext <<_ACEOF |
|
|
16272 | /* confdefs.h. */ |
|
|
16273 | _ACEOF |
|
|
16274 | cat confdefs.h >>conftest.$ac_ext |
|
|
16275 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
16276 | /* end confdefs.h. */ |
|
|
16277 | #include <$ac_header> |
|
|
16278 | _ACEOF |
|
|
16279 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
16280 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
16281 | ac_status=$? |
|
|
16282 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
16283 | rm -f conftest.er1 |
|
|
16284 | cat conftest.err >&5 |
|
|
16285 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16286 | (exit $ac_status); } >/dev/null; then |
|
|
16287 | if test -s conftest.err; then |
|
|
16288 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
16289 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
16290 | else |
|
|
16291 | ac_cpp_err= |
|
|
16292 | fi |
|
|
16293 | else |
|
|
16294 | ac_cpp_err=yes |
|
|
16295 | fi |
9661 | if test -z "$ac_err"; then |
16296 | if test -z "$ac_cpp_err"; then |
9662 | rm -rf conftest* |
16297 | ac_header_preproc=yes |
9663 | eval "ac_cv_header_$ac_safe=yes" |
|
|
9664 | else |
16298 | else |
9665 | echo "$ac_err" >&5 |
|
|
9666 | echo "configure: failed program was:" >&5 |
16299 | echo "$as_me: failed program was:" >&5 |
9667 | cat conftest.$ac_ext >&5 |
16300 | sed 's/^/| /' conftest.$ac_ext >&5 |
9668 | rm -rf conftest* |
16301 | |
9669 | eval "ac_cv_header_$ac_safe=no" |
16302 | ac_header_preproc=no |
9670 | fi |
16303 | fi |
9671 | rm -f conftest* |
16304 | rm -f conftest.err conftest.$ac_ext |
|
|
16305 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
16306 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
16307 | |
|
|
16308 | # So? What about this header? |
|
|
16309 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
|
16310 | yes:no: ) |
|
|
16311 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
16312 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
16313 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
16314 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
16315 | ac_header_preproc=yes |
|
|
16316 | ;; |
|
|
16317 | no:yes:* ) |
|
|
16318 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
16319 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
16320 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
16321 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
16322 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
16323 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
16324 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
16325 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
16326 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
16327 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
16328 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
16329 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
16330 | ( |
|
|
16331 | cat <<\_ASBOX |
|
|
16332 | ## ------------------------------------------ ## |
|
|
16333 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
16334 | ## ------------------------------------------ ## |
|
|
16335 | _ASBOX |
|
|
16336 | ) | |
|
|
16337 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
16338 | ;; |
|
|
16339 | esac |
|
|
16340 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
16341 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
16342 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
16343 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
16344 | else |
|
|
16345 | eval "$as_ac_Header=\$ac_header_preproc" |
9672 | fi |
16346 | fi |
9673 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
16347 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
9674 | echo "$ac_t""yes" 1>&6 |
16348 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
9675 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
16349 | |
|
|
16350 | fi |
|
|
16351 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
9676 | cat >> confdefs.h <<EOF |
16352 | cat >>confdefs.h <<_ACEOF |
9677 | #define $ac_tr_hdr 1 |
16353 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
9678 | EOF |
16354 | _ACEOF |
9679 | |
16355 | |
9680 | else |
16356 | else |
9681 | echo "$ac_t""no" 1>&6 |
|
|
9682 | support_xft=no |
16357 | support_xft=no |
9683 | fi |
16358 | fi |
|
|
16359 | |
9684 | done |
16360 | done |
9685 | |
16361 | |
|
|
16362 | |
|
|
16363 | echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 |
9686 | echo $ac_n "checking for XftDrawString32 in -lXft""... $ac_c" 1>&6 |
16364 | echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6 |
9687 | echo "configure:9688: checking for XftDrawString32 in -lXft" >&5 |
16365 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then |
9688 | ac_lib_var=`echo Xft'_'XftDrawString32 | sed 'y%./+-%__p_%'` |
|
|
9689 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
9690 | echo $ac_n "(cached) $ac_c" 1>&6 |
16366 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9691 | else |
16367 | else |
9692 | ac_save_LIBS="$LIBS" |
16368 | ac_check_lib_save_LIBS=$LIBS |
9693 | LIBS="-lXft $LIBS" |
16369 | LIBS="-lXft $LIBS" |
9694 | cat > conftest.$ac_ext <<EOF |
16370 | cat >conftest.$ac_ext <<_ACEOF |
9695 | #line 9696 "configure" |
16371 | /* confdefs.h. */ |
9696 | #include "confdefs.h" |
16372 | _ACEOF |
|
|
16373 | cat confdefs.h >>conftest.$ac_ext |
|
|
16374 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
16375 | /* end confdefs.h. */ |
|
|
16376 | |
9697 | /* Override any gcc2 internal prototype to avoid an error. */ |
16377 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
16378 | #ifdef __cplusplus |
|
|
16379 | extern "C" |
|
|
16380 | #endif |
9698 | /* We use char because int might match the return type of a gcc2 |
16381 | /* We use char because int might match the return type of a gcc2 |
9699 | builtin and then its argument prototype would still apply. */ |
16382 | builtin and then its argument prototype would still apply. */ |
9700 | char XftDrawString32(); |
16383 | char XftDrawString32 (); |
9701 | |
16384 | int |
9702 | int main() { |
16385 | main () |
|
|
16386 | { |
9703 | XftDrawString32() |
16387 | XftDrawString32 (); |
|
|
16388 | ; |
9704 | ; return 0; } |
16389 | return 0; |
9705 | EOF |
16390 | } |
9706 | if { (eval echo configure:9707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
16391 | _ACEOF |
|
|
16392 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
16393 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
16394 | (eval $ac_link) 2>conftest.er1 |
|
|
16395 | ac_status=$? |
|
|
16396 | grep -v '^ *+' conftest.er1 >conftest.err |
9707 | rm -rf conftest* |
16397 | rm -f conftest.er1 |
9708 | eval "ac_cv_lib_$ac_lib_var=yes" |
16398 | cat conftest.err >&5 |
|
|
16399 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16400 | (exit $ac_status); } && |
|
|
16401 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
16402 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16403 | (eval $ac_try) 2>&5 |
|
|
16404 | ac_status=$? |
|
|
16405 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16406 | (exit $ac_status); }; } && |
|
|
16407 | { ac_try='test -s conftest$ac_exeext' |
|
|
16408 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16409 | (eval $ac_try) 2>&5 |
|
|
16410 | ac_status=$? |
|
|
16411 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16412 | (exit $ac_status); }; }; then |
|
|
16413 | ac_cv_lib_Xft_XftDrawString32=yes |
9709 | else |
16414 | else |
9710 | echo "configure: failed program was:" >&5 |
16415 | echo "$as_me: failed program was:" >&5 |
9711 | cat conftest.$ac_ext >&5 |
16416 | sed 's/^/| /' conftest.$ac_ext >&5 |
9712 | rm -rf conftest* |
16417 | |
9713 | eval "ac_cv_lib_$ac_lib_var=no" |
16418 | ac_cv_lib_Xft_XftDrawString32=no |
9714 | fi |
16419 | fi |
9715 | rm -f conftest* |
16420 | rm -f conftest.err conftest.$ac_objext \ |
|
|
16421 | conftest$ac_exeext conftest.$ac_ext |
9716 | LIBS="$ac_save_LIBS" |
16422 | LIBS=$ac_check_lib_save_LIBS |
9717 | |
|
|
9718 | fi |
16423 | fi |
9719 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
16424 | echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
9720 | echo "$ac_t""yes" 1>&6 |
16425 | echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6 |
9721 | ac_tr_lib=HAVE_LIB`echo Xft | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
16426 | if test $ac_cv_lib_Xft_XftDrawString32 = yes; then |
9722 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
|
|
9723 | cat >> confdefs.h <<EOF |
16427 | cat >>confdefs.h <<_ACEOF |
9724 | #define $ac_tr_lib 1 |
16428 | #define HAVE_LIBXFT 1 |
9725 | EOF |
16429 | _ACEOF |
9726 | |
16430 | |
9727 | LIBS="-lXft $LIBS" |
16431 | LIBS="-lXft $LIBS" |
9728 | |
16432 | |
9729 | else |
16433 | else |
9730 | echo "$ac_t""no" 1>&6 |
|
|
9731 | support_xft=no |
16434 | support_xft=no |
9732 | fi |
16435 | fi |
9733 | |
16436 | |
|
|
16437 | |
|
|
16438 | if test x$support_xft = xyes; then |
|
|
16439 | |
9734 | cat >> confdefs.h <<\EOF |
16440 | cat >>confdefs.h <<\_ACEOF |
9735 | #define XFT 1 |
16441 | #define XFT 1 |
9736 | EOF |
16442 | _ACEOF |
9737 | |
16443 | |
|
|
16444 | fi |
9738 | fi |
16445 | fi |
9739 | |
16446 | |
9740 | trap '' 1 2 15 |
16447 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" |
9741 | cat > confcache <<\EOF |
16448 | cat >confcache <<\_ACEOF |
9742 | # This file is a shell script that caches the results of configure |
16449 | # This file is a shell script that caches the results of configure |
9743 | # tests run on this system so they can be shared between configure |
16450 | # tests run on this system so they can be shared between configure |
9744 | # scripts and configure runs. It is not useful on other systems. |
16451 | # scripts and configure runs, see configure's option --config-cache. |
9745 | # If it contains results you don't want to keep, you may remove or edit it. |
16452 | # It is not useful on other systems. If it contains results you don't |
|
|
16453 | # want to keep, you may remove or edit it. |
9746 | # |
16454 | # |
9747 | # By default, configure uses ./config.cache as the cache file, |
|
|
9748 | # creating it if it does not exist already. You can give configure |
|
|
9749 | # the --cache-file=FILE option to use a different cache file; that is |
|
|
9750 | # what configure does when it calls configure scripts in |
|
|
9751 | # subdirectories, so they share the cache. |
|
|
9752 | # Giving --cache-file=/dev/null disables caching, for debugging configure. |
|
|
9753 | # config.status only pays attention to the cache file if you give it the |
16455 | # config.status only pays attention to the cache file if you give it |
9754 | # --recheck option to rerun configure. |
16456 | # the --recheck option to rerun configure. |
9755 | # |
16457 | # |
9756 | EOF |
16458 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
|
|
16459 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
|
|
16460 | # following values. |
|
|
16461 | |
|
|
16462 | _ACEOF |
|
|
16463 | |
9757 | # The following way of writing the cache mishandles newlines in values, |
16464 | # The following way of writing the cache mishandles newlines in values, |
9758 | # but we know of no workaround that is simple, portable, and efficient. |
16465 | # but we know of no workaround that is simple, portable, and efficient. |
9759 | # So, don't put newlines in cache variables' values. |
16466 | # So, don't put newlines in cache variables' values. |
9760 | # Ultrix sh set writes to stderr and can't be redirected directly, |
16467 | # Ultrix sh set writes to stderr and can't be redirected directly, |
9761 | # and sets the high bit in the cache file unless we assign to the vars. |
16468 | # and sets the high bit in the cache file unless we assign to the vars. |
|
|
16469 | { |
9762 | (set) 2>&1 | |
16470 | (set) 2>&1 | |
9763 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
16471 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
9764 | *ac_space=\ *) |
16472 | *ac_space=\ *) |
9765 | # `set' does not quote correctly, so add quotes (double-quote substitution |
16473 | # `set' does not quote correctly, so add quotes (double-quote |
9766 | # turns \\\\ into \\, and sed turns \\ into \). |
16474 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
9767 | sed -n \ |
16475 | sed -n \ |
9768 | -e "s/'/'\\\\''/g" \ |
16476 | "s/'/'\\\\''/g; |
9769 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
16477 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
9770 | ;; |
16478 | ;; |
9771 | *) |
16479 | *) |
9772 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
16480 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
9773 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |
16481 | sed -n \ |
|
|
16482 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
9774 | ;; |
16483 | ;; |
9775 | esac >> confcache |
16484 | esac; |
9776 | if cmp -s $cache_file confcache; then |
16485 | } | |
9777 | : |
16486 | sed ' |
9778 | else |
16487 | t clear |
|
|
16488 | : clear |
|
|
16489 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
|
|
16490 | t end |
|
|
16491 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|
|
16492 | : end' >>confcache |
|
|
16493 | if diff $cache_file confcache >/dev/null 2>&1; then :; else |
9779 | if test -w $cache_file; then |
16494 | if test -w $cache_file; then |
9780 | echo "updating cache $cache_file" |
16495 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
9781 | cat confcache > $cache_file |
16496 | cat confcache >$cache_file |
9782 | else |
16497 | else |
9783 | echo "not updating unwritable cache $cache_file" |
16498 | echo "not updating unwritable cache $cache_file" |
9784 | fi |
16499 | fi |
9785 | fi |
16500 | fi |
9786 | rm -f confcache |
16501 | rm -f confcache |
9787 | |
16502 | |
9788 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
|
|
9789 | |
|
|
9790 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
16503 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
9791 | # Let make expand exec_prefix. |
16504 | # Let make expand exec_prefix. |
9792 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
16505 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
9793 | |
16506 | |
9794 | # Any assignment to VPATH causes Sun make to only execute |
16507 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
9795 | # the first set of double-colon rules, so remove it if not needed. |
16508 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
9796 | # If there is a colon in the path, we need to keep it. |
16509 | # trailing colons and then remove the whole line if VPATH becomes empty |
|
|
16510 | # (actually we leave an empty line to preserve line numbers). |
9797 | if test "x$srcdir" = x.; then |
16511 | if test "x$srcdir" = x.; then |
9798 | ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
16512 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
|
|
16513 | s/:*\$(srcdir):*/:/; |
|
|
16514 | s/:*\${srcdir}:*/:/; |
|
|
16515 | s/:*@srcdir@:*/:/; |
|
|
16516 | s/^\([^=]*=[ ]*\):*/\1/; |
|
|
16517 | s/:*$//; |
|
|
16518 | s/^[^=]*=[ ]*$//; |
|
|
16519 | }' |
9799 | fi |
16520 | fi |
9800 | |
|
|
9801 | trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
|
|
9802 | |
16521 | |
9803 | DEFS=-DHAVE_CONFIG_H |
16522 | DEFS=-DHAVE_CONFIG_H |
9804 | |
16523 | |
9805 | # Without the "./", some shells look in PATH for config.status. |
16524 | ac_libobjs= |
|
|
16525 | ac_ltlibobjs= |
|
|
16526 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
|
|
16527 | # 1. Remove the extension, and $U if already installed. |
|
|
16528 | ac_i=`echo "$ac_i" | |
|
|
16529 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
|
|
16530 | # 2. Add them. |
|
|
16531 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
|
|
16532 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
|
|
16533 | done |
|
|
16534 | LIBOBJS=$ac_libobjs |
|
|
16535 | |
|
|
16536 | LTLIBOBJS=$ac_ltlibobjs |
|
|
16537 | |
|
|
16538 | |
|
|
16539 | |
9806 | : ${CONFIG_STATUS=./config.status} |
16540 | : ${CONFIG_STATUS=./config.status} |
9807 | |
16541 | ac_clean_files_save=$ac_clean_files |
|
|
16542 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
|
16543 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
9808 | echo creating $CONFIG_STATUS |
16544 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
9809 | rm -f $CONFIG_STATUS |
|
|
9810 | cat > $CONFIG_STATUS <<EOF |
16545 | cat >$CONFIG_STATUS <<_ACEOF |
9811 | #! /bin/sh |
16546 | #! $SHELL |
9812 | # Generated automatically by configure. |
16547 | # Generated by $as_me. |
9813 | # Run this file to recreate the current configuration. |
16548 | # Run this file to recreate the current configuration. |
9814 | # This directory was configured as follows, |
|
|
9815 | # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
|
9816 | # |
|
|
9817 | # $0 $ac_configure_args |
|
|
9818 | # |
|
|
9819 | # Compiler output produced by configure, useful for debugging |
16549 | # Compiler output produced by configure, useful for debugging |
9820 | # configure, is in ./config.log if it exists. |
16550 | # configure, is in config.log if it exists. |
9821 | |
16551 | |
9822 | ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
16552 | debug=false |
9823 | for ac_option |
16553 | ac_cs_recheck=false |
|
|
16554 | ac_cs_silent=false |
|
|
16555 | SHELL=\${CONFIG_SHELL-$SHELL} |
|
|
16556 | _ACEOF |
|
|
16557 | |
|
|
16558 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
16559 | ## --------------------- ## |
|
|
16560 | ## M4sh Initialization. ## |
|
|
16561 | ## --------------------- ## |
|
|
16562 | |
|
|
16563 | # Be Bourne compatible |
|
|
16564 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
|
16565 | emulate sh |
|
|
16566 | NULLCMD=: |
|
|
16567 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|
|
16568 | # is contrary to our usage. Disable this feature. |
|
|
16569 | alias -g '${1+"$@"}'='"$@"' |
|
|
16570 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
|
|
16571 | set -o posix |
|
|
16572 | fi |
|
|
16573 | DUALCASE=1; export DUALCASE # for MKS sh |
|
|
16574 | |
|
|
16575 | # Support unset when possible. |
|
|
16576 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
|
16577 | as_unset=unset |
|
|
16578 | else |
|
|
16579 | as_unset=false |
|
|
16580 | fi |
|
|
16581 | |
|
|
16582 | |
|
|
16583 | # Work around bugs in pre-3.0 UWIN ksh. |
|
|
16584 | $as_unset ENV MAIL MAILPATH |
|
|
16585 | PS1='$ ' |
|
|
16586 | PS2='> ' |
|
|
16587 | PS4='+ ' |
|
|
16588 | |
|
|
16589 | # NLS nuisances. |
|
|
16590 | for as_var in \ |
|
|
16591 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|
|
16592 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|
|
16593 | LC_TELEPHONE LC_TIME |
9824 | do |
16594 | do |
|
|
16595 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
|
16596 | eval $as_var=C; export $as_var |
|
|
16597 | else |
|
|
16598 | $as_unset $as_var |
|
|
16599 | fi |
|
|
16600 | done |
|
|
16601 | |
|
|
16602 | # Required to use basename. |
|
|
16603 | if expr a : '\(a\)' >/dev/null 2>&1; then |
|
|
16604 | as_expr=expr |
|
|
16605 | else |
|
|
16606 | as_expr=false |
|
|
16607 | fi |
|
|
16608 | |
|
|
16609 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
|
|
16610 | as_basename=basename |
|
|
16611 | else |
|
|
16612 | as_basename=false |
|
|
16613 | fi |
|
|
16614 | |
|
|
16615 | |
|
|
16616 | # Name of the executable. |
|
|
16617 | as_me=`$as_basename "$0" || |
|
|
16618 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
|
16619 | X"$0" : 'X\(//\)$' \| \ |
|
|
16620 | X"$0" : 'X\(/\)$' \| \ |
|
|
16621 | . : '\(.\)' 2>/dev/null || |
|
|
16622 | echo X/"$0" | |
|
|
16623 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
|
|
16624 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
|
|
16625 | /^X\/\(\/\).*/{ s//\1/; q; } |
|
|
16626 | s/.*/./; q'` |
|
|
16627 | |
|
|
16628 | |
|
|
16629 | # PATH needs CR, and LINENO needs CR and PATH. |
|
|
16630 | # Avoid depending upon Character Ranges. |
|
|
16631 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
|
16632 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
|
16633 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
|
16634 | as_cr_digits='0123456789' |
|
|
16635 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
|
16636 | |
|
|
16637 | # The user is always right. |
|
|
16638 | if test "${PATH_SEPARATOR+set}" != set; then |
|
|
16639 | echo "#! /bin/sh" >conf$$.sh |
|
|
16640 | echo "exit 0" >>conf$$.sh |
|
|
16641 | chmod +x conf$$.sh |
|
|
16642 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
|
16643 | PATH_SEPARATOR=';' |
|
|
16644 | else |
|
|
16645 | PATH_SEPARATOR=: |
|
|
16646 | fi |
|
|
16647 | rm -f conf$$.sh |
|
|
16648 | fi |
|
|
16649 | |
|
|
16650 | |
|
|
16651 | as_lineno_1=$LINENO |
|
|
16652 | as_lineno_2=$LINENO |
|
|
16653 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
|
|
16654 | test "x$as_lineno_1" != "x$as_lineno_2" && |
|
|
16655 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
|
|
16656 | # Find who we are. Look in the path if we contain no path at all |
|
|
16657 | # relative or not. |
|
|
16658 | case $0 in |
|
|
16659 | *[\\/]* ) as_myself=$0 ;; |
|
|
16660 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
16661 | for as_dir in $PATH |
|
|
16662 | do |
|
|
16663 | IFS=$as_save_IFS |
|
|
16664 | test -z "$as_dir" && as_dir=. |
|
|
16665 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
|
16666 | done |
|
|
16667 | |
|
|
16668 | ;; |
|
|
16669 | esac |
|
|
16670 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
|
|
16671 | # in which case we are not to be found in the path. |
|
|
16672 | if test "x$as_myself" = x; then |
|
|
16673 | as_myself=$0 |
|
|
16674 | fi |
|
|
16675 | if test ! -f "$as_myself"; then |
|
|
16676 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
|
|
16677 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
|
|
16678 | { (exit 1); exit 1; }; } |
|
|
16679 | fi |
|
|
16680 | case $CONFIG_SHELL in |
|
|
16681 | '') |
|
|
16682 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
16683 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
|
16684 | do |
|
|
16685 | IFS=$as_save_IFS |
|
|
16686 | test -z "$as_dir" && as_dir=. |
|
|
16687 | for as_base in sh bash ksh sh5; do |
|
|
16688 | case $as_dir in |
|
|
16689 | /*) |
|
|
16690 | if ("$as_dir/$as_base" -c ' |
|
|
16691 | as_lineno_1=$LINENO |
|
|
16692 | as_lineno_2=$LINENO |
|
|
16693 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
|
|
16694 | test "x$as_lineno_1" != "x$as_lineno_2" && |
|
|
16695 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
|
|
16696 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
|
|
16697 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
|
|
16698 | CONFIG_SHELL=$as_dir/$as_base |
|
|
16699 | export CONFIG_SHELL |
|
|
16700 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
|
|
16701 | fi;; |
|
|
16702 | esac |
|
|
16703 | done |
|
|
16704 | done |
|
|
16705 | ;; |
|
|
16706 | esac |
|
|
16707 | |
|
|
16708 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
|
16709 | # uniformly replaced by the line number. The first 'sed' inserts a |
|
|
16710 | # line-number line before each line; the second 'sed' does the real |
|
|
16711 | # work. The second script uses 'N' to pair each line-number line |
|
|
16712 | # with the numbered line, and appends trailing '-' during |
|
|
16713 | # substitution so that $LINENO is not a special case at line end. |
|
|
16714 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|
|
16715 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
|
|
16716 | sed '=' <$as_myself | |
|
|
16717 | sed ' |
|
|
16718 | N |
|
|
16719 | s,$,-, |
|
|
16720 | : loop |
|
|
16721 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
|
|
16722 | t loop |
|
|
16723 | s,-$,, |
|
|
16724 | s,^['$as_cr_digits']*\n,, |
|
|
16725 | ' >$as_me.lineno && |
|
|
16726 | chmod +x $as_me.lineno || |
|
|
16727 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
|
|
16728 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
|
|
16729 | { (exit 1); exit 1; }; } |
|
|
16730 | |
|
|
16731 | # Don't try to exec as it changes $[0], causing all sort of problems |
|
|
16732 | # (the dirname of $[0] is not the place where we might find the |
|
|
16733 | # original and so on. Autoconf is especially sensible to this). |
|
|
16734 | . ./$as_me.lineno |
|
|
16735 | # Exit status is that of the last command. |
|
|
16736 | exit |
|
|
16737 | } |
|
|
16738 | |
|
|
16739 | |
|
|
16740 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
|
|
16741 | *c*,-n*) ECHO_N= ECHO_C=' |
|
|
16742 | ' ECHO_T=' ' ;; |
|
|
16743 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
|
|
16744 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
|
|
16745 | esac |
|
|
16746 | |
|
|
16747 | if expr a : '\(a\)' >/dev/null 2>&1; then |
|
|
16748 | as_expr=expr |
|
|
16749 | else |
|
|
16750 | as_expr=false |
|
|
16751 | fi |
|
|
16752 | |
|
|
16753 | rm -f conf$$ conf$$.exe conf$$.file |
|
|
16754 | echo >conf$$.file |
|
|
16755 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
|
16756 | # We could just check for DJGPP; but this test a) works b) is more generic |
|
|
16757 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
|
|
16758 | if test -f conf$$.exe; then |
|
|
16759 | # Don't use ln at all; we don't have any links |
|
|
16760 | as_ln_s='cp -p' |
|
|
16761 | else |
|
|
16762 | as_ln_s='ln -s' |
|
|
16763 | fi |
|
|
16764 | elif ln conf$$.file conf$$ 2>/dev/null; then |
|
|
16765 | as_ln_s=ln |
|
|
16766 | else |
|
|
16767 | as_ln_s='cp -p' |
|
|
16768 | fi |
|
|
16769 | rm -f conf$$ conf$$.exe conf$$.file |
|
|
16770 | |
|
|
16771 | if mkdir -p . 2>/dev/null; then |
|
|
16772 | as_mkdir_p=: |
|
|
16773 | else |
|
|
16774 | test -d ./-p && rmdir ./-p |
|
|
16775 | as_mkdir_p=false |
|
|
16776 | fi |
|
|
16777 | |
|
|
16778 | as_executable_p="test -f" |
|
|
16779 | |
|
|
16780 | # Sed expression to map a string onto a valid CPP name. |
|
|
16781 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
|
16782 | |
|
|
16783 | # Sed expression to map a string onto a valid variable name. |
|
|
16784 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
|
16785 | |
|
|
16786 | |
|
|
16787 | # IFS |
|
|
16788 | # We need space, tab and new line, in precisely that order. |
|
|
16789 | as_nl=' |
|
|
16790 | ' |
|
|
16791 | IFS=" $as_nl" |
|
|
16792 | |
|
|
16793 | # CDPATH. |
|
|
16794 | $as_unset CDPATH |
|
|
16795 | |
|
|
16796 | exec 6>&1 |
|
|
16797 | |
|
|
16798 | # Open the log real soon, to keep \$[0] and so on meaningful, and to |
|
|
16799 | # report actual input values of CONFIG_FILES etc. instead of their |
|
|
16800 | # values after options handling. Logging --version etc. is OK. |
|
|
16801 | exec 5>>config.log |
|
|
16802 | { |
|
|
16803 | echo |
|
|
16804 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
|
16805 | ## Running $as_me. ## |
|
|
16806 | _ASBOX |
|
|
16807 | } >&5 |
|
|
16808 | cat >&5 <<_CSEOF |
|
|
16809 | |
|
|
16810 | This file was extended by $as_me, which was |
|
|
16811 | generated by GNU Autoconf 2.59. Invocation command line was |
|
|
16812 | |
|
|
16813 | CONFIG_FILES = $CONFIG_FILES |
|
|
16814 | CONFIG_HEADERS = $CONFIG_HEADERS |
|
|
16815 | CONFIG_LINKS = $CONFIG_LINKS |
|
|
16816 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
|
16817 | $ $0 $@ |
|
|
16818 | |
|
|
16819 | _CSEOF |
|
|
16820 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
|
|
16821 | echo >&5 |
|
|
16822 | _ACEOF |
|
|
16823 | |
|
|
16824 | # Files that config.status was made for. |
|
|
16825 | if test -n "$ac_config_files"; then |
|
|
16826 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
|
|
16827 | fi |
|
|
16828 | |
|
|
16829 | if test -n "$ac_config_headers"; then |
|
|
16830 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
|
|
16831 | fi |
|
|
16832 | |
|
|
16833 | if test -n "$ac_config_links"; then |
|
|
16834 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
|
|
16835 | fi |
|
|
16836 | |
|
|
16837 | if test -n "$ac_config_commands"; then |
|
|
16838 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
|
|
16839 | fi |
|
|
16840 | |
|
|
16841 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
16842 | |
|
|
16843 | ac_cs_usage="\ |
|
|
16844 | \`$as_me' instantiates files from templates according to the |
|
|
16845 | current configuration. |
|
|
16846 | |
|
|
16847 | Usage: $0 [OPTIONS] [FILE]... |
|
|
16848 | |
|
|
16849 | -h, --help print this help, then exit |
|
|
16850 | -V, --version print version number, then exit |
|
|
16851 | -q, --quiet do not print progress messages |
|
|
16852 | -d, --debug don't remove temporary files |
|
|
16853 | --recheck update $as_me by reconfiguring in the same conditions |
|
|
16854 | --file=FILE[:TEMPLATE] |
|
|
16855 | instantiate the configuration file FILE |
|
|
16856 | --header=FILE[:TEMPLATE] |
|
|
16857 | instantiate the configuration header FILE |
|
|
16858 | |
|
|
16859 | Configuration files: |
|
|
16860 | $config_files |
|
|
16861 | |
|
|
16862 | Configuration headers: |
|
|
16863 | $config_headers |
|
|
16864 | |
|
|
16865 | Report bugs to <bug-autoconf@gnu.org>." |
|
|
16866 | _ACEOF |
|
|
16867 | |
|
|
16868 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
16869 | ac_cs_version="\\ |
|
|
16870 | config.status |
|
|
16871 | configured by $0, generated by GNU Autoconf 2.59, |
|
|
16872 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
|
|
16873 | |
|
|
16874 | Copyright (C) 2003 Free Software Foundation, Inc. |
|
|
16875 | This config.status script is free software; the Free Software Foundation |
|
|
16876 | gives unlimited permission to copy, distribute and modify it." |
|
|
16877 | srcdir=$srcdir |
|
|
16878 | INSTALL="$INSTALL" |
|
|
16879 | _ACEOF |
|
|
16880 | |
|
|
16881 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
16882 | # If no file are specified by the user, then we need to provide default |
|
|
16883 | # value. By we need to know if files were specified by the user. |
|
|
16884 | ac_need_defaults=: |
|
|
16885 | while test $# != 0 |
|
|
16886 | do |
|
|
16887 | case $1 in |
|
|
16888 | --*=*) |
|
|
16889 | ac_option=`expr "x$1" : 'x\([^=]*\)='` |
|
|
16890 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
|
|
16891 | ac_shift=: |
|
|
16892 | ;; |
|
|
16893 | -*) |
|
|
16894 | ac_option=$1 |
|
|
16895 | ac_optarg=$2 |
|
|
16896 | ac_shift=shift |
|
|
16897 | ;; |
|
|
16898 | *) # This is not an option, so the user has probably given explicit |
|
|
16899 | # arguments. |
|
|
16900 | ac_option=$1 |
|
|
16901 | ac_need_defaults=false;; |
|
|
16902 | esac |
|
|
16903 | |
9825 | case "\$ac_option" in |
16904 | case $ac_option in |
|
|
16905 | # Handling of the options. |
|
|
16906 | _ACEOF |
|
|
16907 | cat >>$CONFIG_STATUS <<\_ACEOF |
9826 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
16908 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
9827 | echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
16909 | ac_cs_recheck=: ;; |
9828 | exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
16910 | --version | --vers* | -V ) |
9829 | -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
16911 | echo "$ac_cs_version"; exit 0 ;; |
9830 | echo "$CONFIG_STATUS generated by autoconf version 2.13" |
16912 | --he | --h) |
9831 | exit 0 ;; |
16913 | # Conflict between --help and --header |
9832 | -help | --help | --hel | --he | --h) |
16914 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 |
|
|
16915 | Try \`$0 --help' for more information." >&5 |
|
|
16916 | echo "$as_me: error: ambiguous option: $1 |
|
|
16917 | Try \`$0 --help' for more information." >&2;} |
|
|
16918 | { (exit 1); exit 1; }; };; |
|
|
16919 | --help | --hel | -h ) |
9833 | echo "\$ac_cs_usage"; exit 0 ;; |
16920 | echo "$ac_cs_usage"; exit 0 ;; |
9834 | *) echo "\$ac_cs_usage"; exit 1 ;; |
16921 | --debug | --d* | -d ) |
|
|
16922 | debug=: ;; |
|
|
16923 | --file | --fil | --fi | --f ) |
|
|
16924 | $ac_shift |
|
|
16925 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
|
|
16926 | ac_need_defaults=false;; |
|
|
16927 | --header | --heade | --head | --hea ) |
|
|
16928 | $ac_shift |
|
|
16929 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
|
|
16930 | ac_need_defaults=false;; |
|
|
16931 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
|
16932 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
|
16933 | ac_cs_silent=: ;; |
|
|
16934 | |
|
|
16935 | # This is an error. |
|
|
16936 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
|
|
16937 | Try \`$0 --help' for more information." >&5 |
|
|
16938 | echo "$as_me: error: unrecognized option: $1 |
|
|
16939 | Try \`$0 --help' for more information." >&2;} |
|
|
16940 | { (exit 1); exit 1; }; } ;; |
|
|
16941 | |
|
|
16942 | *) ac_config_targets="$ac_config_targets $1" ;; |
|
|
16943 | |
|
|
16944 | esac |
|
|
16945 | shift |
|
|
16946 | done |
|
|
16947 | |
|
|
16948 | ac_configure_extra_args= |
|
|
16949 | |
|
|
16950 | if $ac_cs_silent; then |
|
|
16951 | exec 6>/dev/null |
|
|
16952 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
|
16953 | fi |
|
|
16954 | |
|
|
16955 | _ACEOF |
|
|
16956 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
16957 | if \$ac_cs_recheck; then |
|
|
16958 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
|
|
16959 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
|
16960 | fi |
|
|
16961 | |
|
|
16962 | _ACEOF |
|
|
16963 | |
|
|
16964 | |
|
|
16965 | |
|
|
16966 | |
|
|
16967 | |
|
|
16968 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
16969 | for ac_config_target in $ac_config_targets |
|
|
16970 | do |
|
|
16971 | case "$ac_config_target" in |
|
|
16972 | # Handling of arguments. |
|
|
16973 | "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; |
|
|
16974 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
|
16975 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
|
|
16976 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
|
|
16977 | "src/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/test/Makefile" ;; |
|
|
16978 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
|
|
16979 | "W11/Makefile" ) CONFIG_FILES="$CONFIG_FILES W11/Makefile" ;; |
|
|
16980 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
|
|
16981 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
|
|
16982 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
|
|
16983 | { (exit 1); exit 1; }; };; |
9835 | esac |
16984 | esac |
9836 | done |
16985 | done |
9837 | |
16986 | |
9838 | ac_given_srcdir=$srcdir |
16987 | # If the user did not use the arguments to specify the items to instantiate, |
9839 | ac_given_INSTALL="$INSTALL" |
16988 | # then the envvar interface is used. Set only those that are not. |
|
|
16989 | # We use the long form for the default assignment because of an extremely |
|
|
16990 | # bizarre bug on SunOS 4.1.3. |
|
|
16991 | if $ac_need_defaults; then |
|
|
16992 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
|
16993 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
|
16994 | fi |
9840 | |
16995 | |
9841 | trap 'rm -fr `echo "autoconf/Make.common \ |
16996 | # Have a temporary directory for convenience. Make it in the build tree |
9842 | Makefile \ |
16997 | # simply because there is no reason to put it here, and in addition, |
9843 | doc/Makefile \ |
16998 | # creating and moving files from /tmp can sometimes cause problems. |
9844 | src/Makefile \ |
16999 | # Create a temporary directory, and hook for its removal unless debugging. |
9845 | src/graphics/Makefile \ |
17000 | $debug || |
9846 | src/test/Makefile \ |
17001 | { |
9847 | src/rxvtlib.h \ |
17002 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
9848 | W11/Makefile \ |
17003 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
9849 | config.h:autoconf/config.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
17004 | } |
9850 | EOF |
17005 | |
|
|
17006 | # Create a (secure) tmp directory for tmp files. |
|
|
17007 | |
|
|
17008 | { |
|
|
17009 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
|
|
17010 | test -n "$tmp" && test -d "$tmp" |
|
|
17011 | } || |
|
|
17012 | { |
|
|
17013 | tmp=./confstat$$-$RANDOM |
|
|
17014 | (umask 077 && mkdir $tmp) |
|
|
17015 | } || |
|
|
17016 | { |
|
|
17017 | echo "$me: cannot create a temporary directory in ." >&2 |
|
|
17018 | { (exit 1); exit 1; } |
|
|
17019 | } |
|
|
17020 | |
|
|
17021 | _ACEOF |
|
|
17022 | |
9851 | cat >> $CONFIG_STATUS <<EOF |
17023 | cat >>$CONFIG_STATUS <<_ACEOF |
9852 | |
17024 | |
|
|
17025 | # |
|
|
17026 | # CONFIG_FILES section. |
|
|
17027 | # |
|
|
17028 | |
|
|
17029 | # No need to generate the scripts if there are no CONFIG_FILES. |
|
|
17030 | # This happens for instance when ./config.status config.h |
|
|
17031 | if test -n "\$CONFIG_FILES"; then |
9853 | # Protect against being on the right side of a sed subst in config.status. |
17032 | # Protect against being on the right side of a sed subst in config.status. |
9854 | sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
17033 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
9855 | s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
17034 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
9856 | $ac_vpsub |
17035 | s,@SHELL@,$SHELL,;t t |
|
|
17036 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
|
|
17037 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
|
|
17038 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
|
|
17039 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
|
|
17040 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
|
|
17041 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
|
|
17042 | s,@exec_prefix@,$exec_prefix,;t t |
|
|
17043 | s,@prefix@,$prefix,;t t |
|
|
17044 | s,@program_transform_name@,$program_transform_name,;t t |
|
|
17045 | s,@bindir@,$bindir,;t t |
|
|
17046 | s,@sbindir@,$sbindir,;t t |
|
|
17047 | s,@libexecdir@,$libexecdir,;t t |
|
|
17048 | s,@datadir@,$datadir,;t t |
|
|
17049 | s,@sysconfdir@,$sysconfdir,;t t |
|
|
17050 | s,@sharedstatedir@,$sharedstatedir,;t t |
|
|
17051 | s,@localstatedir@,$localstatedir,;t t |
|
|
17052 | s,@libdir@,$libdir,;t t |
|
|
17053 | s,@includedir@,$includedir,;t t |
|
|
17054 | s,@oldincludedir@,$oldincludedir,;t t |
|
|
17055 | s,@infodir@,$infodir,;t t |
|
|
17056 | s,@mandir@,$mandir,;t t |
|
|
17057 | s,@build_alias@,$build_alias,;t t |
|
|
17058 | s,@host_alias@,$host_alias,;t t |
|
|
17059 | s,@target_alias@,$target_alias,;t t |
|
|
17060 | s,@DEFS@,$DEFS,;t t |
|
|
17061 | s,@ECHO_C@,$ECHO_C,;t t |
|
|
17062 | s,@ECHO_N@,$ECHO_N,;t t |
|
|
17063 | s,@ECHO_T@,$ECHO_T,;t t |
|
|
17064 | s,@LIBS@,$LIBS,;t t |
|
|
17065 | s,@VERSION@,$VERSION,;t t |
|
|
17066 | s,@DATE@,$DATE,;t t |
|
|
17067 | s,@LSMDATE@,$LSMDATE,;t t |
|
|
17068 | s,@LIBVERSION@,$LIBVERSION,;t t |
|
|
17069 | s,@CC@,$CC,;t t |
|
|
17070 | s,@CFLAGS@,$CFLAGS,;t t |
|
|
17071 | s,@LDFLAGS@,$LDFLAGS,;t t |
|
|
17072 | s,@CPPFLAGS@,$CPPFLAGS,;t t |
|
|
17073 | s,@ac_ct_CC@,$ac_ct_CC,;t t |
|
|
17074 | s,@EXEEXT@,$EXEEXT,;t t |
|
|
17075 | s,@OBJEXT@,$OBJEXT,;t t |
|
|
17076 | s,@CXX@,$CXX,;t t |
|
|
17077 | s,@CXXFLAGS@,$CXXFLAGS,;t t |
|
|
17078 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
|
|
17079 | s,@CPP@,$CPP,;t t |
|
|
17080 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
|
|
17081 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
|
|
17082 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
|
|
17083 | s,@AWK@,$AWK,;t t |
|
|
17084 | s,@EGREP@,$EGREP,;t t |
|
|
17085 | s,@build@,$build,;t t |
|
|
17086 | s,@build_cpu@,$build_cpu,;t t |
|
|
17087 | s,@build_vendor@,$build_vendor,;t t |
|
|
17088 | s,@build_os@,$build_os,;t t |
|
|
17089 | s,@host@,$host,;t t |
|
|
17090 | s,@host_cpu@,$host_cpu,;t t |
|
|
17091 | s,@host_vendor@,$host_vendor,;t t |
|
|
17092 | s,@host_os@,$host_os,;t t |
|
|
17093 | s,@LN_S@,$LN_S,;t t |
|
|
17094 | s,@ECHO@,$ECHO,;t t |
|
|
17095 | s,@RANLIB@,$RANLIB,;t t |
|
|
17096 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
|
|
17097 | s,@STRIP@,$STRIP,;t t |
|
|
17098 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
|
|
17099 | s,@LIBTOOL@,$LIBTOOL,;t t |
|
|
17100 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
|
|
17101 | s,@MV@,$MV,;t t |
|
|
17102 | s,@RM@,$RM,;t t |
|
|
17103 | s,@CP@,$CP,;t t |
|
|
17104 | s,@LN@,$LN,;t t |
|
|
17105 | s,@SED@,$SED,;t t |
|
|
17106 | s,@CMP@,$CMP,;t t |
|
|
17107 | s,@TBL@,$TBL,;t t |
|
|
17108 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
|
|
17109 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
|
|
17110 | s,@X_LIBS@,$X_LIBS,;t t |
|
|
17111 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
|
|
17112 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
|
|
17113 | s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t |
|
|
17114 | s,@XPM_LIBS@,$XPM_LIBS,;t t |
|
|
17115 | s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t |
|
|
17116 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
|
|
17117 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
|
|
17118 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
|
|
17119 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
|
|
17120 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
|
|
17121 | s,@DEBUG@,$DEBUG,;t t |
|
|
17122 | s,@DINCLUDE@,$DINCLUDE,;t t |
|
|
17123 | s,@DLIB@,$DLIB,;t t |
|
|
17124 | s,@RXVTNAME@,$RXVTNAME,;t t |
|
|
17125 | s,@include_stdint_h@,$include_stdint_h,;t t |
|
|
17126 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
|
|
17127 | s,@include_stdlib_h@,$include_stdlib_h,;t t |
|
|
17128 | s,@include_unistd_h@,$include_unistd_h,;t t |
|
|
17129 | s,@include_string_h@,$include_string_h,;t t |
|
|
17130 | s,@include_fcntl_h@,$include_fcntl_h,;t t |
|
|
17131 | s,@include_util_h@,$include_util_h,;t t |
|
|
17132 | s,@include_assert_h@,$include_assert_h,;t t |
|
|
17133 | s,@include_sys_ioctl_h@,$include_sys_ioctl_h,;t t |
|
|
17134 | s,@include_sys_select_h@,$include_sys_select_h,;t t |
|
|
17135 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
|
|
17136 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
|
|
17137 | s,@include_time_h@,$include_time_h,;t t |
|
|
17138 | s,@LIBOBJS@,$LIBOBJS,;t t |
|
|
17139 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
|
|
17140 | /@MCOMMON@/r $MCOMMON |
|
|
17141 | s,@MCOMMON@,,;t t |
|
|
17142 | CEOF |
|
|
17143 | |
|
|
17144 | _ACEOF |
|
|
17145 | |
|
|
17146 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
17147 | # Split the substitutions into bite-sized pieces for seds with |
|
|
17148 | # small command number limits, like on Digital OSF/1 and HP-UX. |
|
|
17149 | ac_max_sed_lines=48 |
|
|
17150 | ac_sed_frag=1 # Number of current file. |
|
|
17151 | ac_beg=1 # First line for current file. |
|
|
17152 | ac_end=$ac_max_sed_lines # Line after last line for current file. |
|
|
17153 | ac_more_lines=: |
|
|
17154 | ac_sed_cmds= |
|
|
17155 | while $ac_more_lines; do |
|
|
17156 | if test $ac_beg -gt 1; then |
|
|
17157 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
|
|
17158 | else |
|
|
17159 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
|
|
17160 | fi |
|
|
17161 | if test ! -s $tmp/subs.frag; then |
|
|
17162 | ac_more_lines=false |
|
|
17163 | else |
|
|
17164 | # The purpose of the label and of the branching condition is to |
|
|
17165 | # speed up the sed processing (if there are no `@' at all, there |
|
|
17166 | # is no need to browse any of the substitutions). |
|
|
17167 | # These are the two extra sed commands mentioned above. |
|
|
17168 | (echo ':t |
|
|
17169 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
|
|
17170 | if test -z "$ac_sed_cmds"; then |
|
|
17171 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
|
|
17172 | else |
|
|
17173 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
|
|
17174 | fi |
|
|
17175 | ac_sed_frag=`expr $ac_sed_frag + 1` |
|
|
17176 | ac_beg=$ac_end |
|
|
17177 | ac_end=`expr $ac_end + $ac_max_sed_lines` |
|
|
17178 | fi |
|
|
17179 | done |
|
|
17180 | if test -z "$ac_sed_cmds"; then |
|
|
17181 | ac_sed_cmds=cat |
|
|
17182 | fi |
|
|
17183 | fi # test -n "$CONFIG_FILES" |
|
|
17184 | |
|
|
17185 | _ACEOF |
|
|
17186 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
17187 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
|
|
17188 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
|
|
17189 | case $ac_file in |
|
|
17190 | - | *:- | *:-:* ) # input from stdin |
|
|
17191 | cat >$tmp/stdin |
|
|
17192 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
|
17193 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
|
17194 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
|
17195 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
|
17196 | * ) ac_file_in=$ac_file.in ;; |
|
|
17197 | esac |
|
|
17198 | |
|
|
17199 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
|
|
17200 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
|
|
17201 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
17202 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
|
17203 | X"$ac_file" : 'X\(//\)$' \| \ |
|
|
17204 | X"$ac_file" : 'X\(/\)' \| \ |
|
|
17205 | . : '\(.\)' 2>/dev/null || |
|
|
17206 | echo X"$ac_file" | |
|
|
17207 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
|
17208 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
|
17209 | /^X\(\/\/\)$/{ s//\1/; q; } |
|
|
17210 | /^X\(\/\).*/{ s//\1/; q; } |
|
|
17211 | s/.*/./; q'` |
|
|
17212 | { if $as_mkdir_p; then |
|
|
17213 | mkdir -p "$ac_dir" |
|
|
17214 | else |
|
|
17215 | as_dir="$ac_dir" |
|
|
17216 | as_dirs= |
|
|
17217 | while test ! -d "$as_dir"; do |
|
|
17218 | as_dirs="$as_dir $as_dirs" |
|
|
17219 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
|
|
17220 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
17221 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
|
17222 | X"$as_dir" : 'X\(//\)$' \| \ |
|
|
17223 | X"$as_dir" : 'X\(/\)' \| \ |
|
|
17224 | . : '\(.\)' 2>/dev/null || |
|
|
17225 | echo X"$as_dir" | |
|
|
17226 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
|
17227 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
|
17228 | /^X\(\/\/\)$/{ s//\1/; q; } |
|
|
17229 | /^X\(\/\).*/{ s//\1/; q; } |
|
|
17230 | s/.*/./; q'` |
|
|
17231 | done |
|
|
17232 | test ! -n "$as_dirs" || mkdir $as_dirs |
|
|
17233 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
|
|
17234 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
|
|
17235 | { (exit 1); exit 1; }; }; } |
|
|
17236 | |
|
|
17237 | ac_builddir=. |
|
|
17238 | |
|
|
17239 | if test "$ac_dir" != .; then |
|
|
17240 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
|
|
17241 | # A "../" for each directory in $ac_dir_suffix. |
|
|
17242 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
|
|
17243 | else |
|
|
17244 | ac_dir_suffix= ac_top_builddir= |
|
|
17245 | fi |
|
|
17246 | |
|
|
17247 | case $srcdir in |
|
|
17248 | .) # No --srcdir option. We are building in place. |
|
|
17249 | ac_srcdir=. |
|
|
17250 | if test -z "$ac_top_builddir"; then |
|
|
17251 | ac_top_srcdir=. |
|
|
17252 | else |
|
|
17253 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
|
17254 | fi ;; |
|
|
17255 | [\\/]* | ?:[\\/]* ) # Absolute path. |
|
|
17256 | ac_srcdir=$srcdir$ac_dir_suffix; |
|
|
17257 | ac_top_srcdir=$srcdir ;; |
|
|
17258 | *) # Relative path. |
|
|
17259 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
|
|
17260 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
|
|
17261 | esac |
|
|
17262 | |
|
|
17263 | # Do not use `cd foo && pwd` to compute absolute paths, because |
|
|
17264 | # the directories may not exist. |
|
|
17265 | case `pwd` in |
|
|
17266 | .) ac_abs_builddir="$ac_dir";; |
|
|
17267 | *) |
|
|
17268 | case "$ac_dir" in |
|
|
17269 | .) ac_abs_builddir=`pwd`;; |
|
|
17270 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
|
|
17271 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
|
17272 | esac;; |
|
|
17273 | esac |
|
|
17274 | case $ac_abs_builddir in |
|
|
17275 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
17276 | *) |
|
|
17277 | case ${ac_top_builddir}. in |
|
|
17278 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
|
|
17279 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
17280 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
|
17281 | esac;; |
|
|
17282 | esac |
|
|
17283 | case $ac_abs_builddir in |
|
|
17284 | .) ac_abs_srcdir=$ac_srcdir;; |
|
|
17285 | *) |
|
|
17286 | case $ac_srcdir in |
|
|
17287 | .) ac_abs_srcdir=$ac_abs_builddir;; |
|
|
17288 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
|
17289 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
|
17290 | esac;; |
|
|
17291 | esac |
|
|
17292 | case $ac_abs_builddir in |
|
|
17293 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
17294 | *) |
|
|
17295 | case $ac_top_srcdir in |
|
|
17296 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
|
17297 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
17298 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
|
17299 | esac;; |
|
|
17300 | esac |
|
|
17301 | |
|
|
17302 | |
|
|
17303 | case $INSTALL in |
|
|
17304 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|
|
17305 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
|
|
17306 | esac |
|
|
17307 | |
|
|
17308 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
|
17309 | # use $as_me), people would be surprised to read: |
|
|
17310 | # /* config.h. Generated by config.status. */ |
|
|
17311 | if test x"$ac_file" = x-; then |
|
|
17312 | configure_input= |
|
|
17313 | else |
|
|
17314 | configure_input="$ac_file. " |
|
|
17315 | fi |
|
|
17316 | configure_input=$configure_input"Generated from `echo $ac_file_in | |
|
|
17317 | sed 's,.*/,,'` by configure." |
|
|
17318 | |
|
|
17319 | # First look for the input files in the build tree, otherwise in the |
|
|
17320 | # src tree. |
|
|
17321 | ac_file_inputs=`IFS=: |
|
|
17322 | for f in $ac_file_in; do |
|
|
17323 | case $f in |
|
|
17324 | -) echo $tmp/stdin ;; |
|
|
17325 | [\\/$]*) |
|
|
17326 | # Absolute (can't be DOS-style, as IFS=:) |
|
|
17327 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
|
17328 | echo "$as_me: error: cannot find input file: $f" >&2;} |
|
|
17329 | { (exit 1); exit 1; }; } |
|
|
17330 | echo "$f";; |
|
|
17331 | *) # Relative |
|
|
17332 | if test -f "$f"; then |
|
|
17333 | # Build tree |
|
|
17334 | echo "$f" |
|
|
17335 | elif test -f "$srcdir/$f"; then |
|
|
17336 | # Source tree |
|
|
17337 | echo "$srcdir/$f" |
|
|
17338 | else |
|
|
17339 | # /dev/null tree |
|
|
17340 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
|
17341 | echo "$as_me: error: cannot find input file: $f" >&2;} |
|
|
17342 | { (exit 1); exit 1; }; } |
|
|
17343 | fi;; |
|
|
17344 | esac |
|
|
17345 | done` || { (exit 1); exit 1; } |
|
|
17346 | |
|
|
17347 | if test x"$ac_file" != x-; then |
|
|
17348 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
17349 | echo "$as_me: creating $ac_file" >&6;} |
|
|
17350 | rm -f "$ac_file" |
|
|
17351 | fi |
|
|
17352 | _ACEOF |
|
|
17353 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
17354 | sed "$ac_vpsub |
9857 | $extrasub |
17355 | $extrasub |
9858 | s%@SHELL@%$SHELL%g |
|
|
9859 | s%@CFLAGS@%$CFLAGS%g |
|
|
9860 | s%@CPPFLAGS@%$CPPFLAGS%g |
|
|
9861 | s%@CXXFLAGS@%$CXXFLAGS%g |
|
|
9862 | s%@FFLAGS@%$FFLAGS%g |
|
|
9863 | s%@DEFS@%$DEFS%g |
|
|
9864 | s%@LDFLAGS@%$LDFLAGS%g |
|
|
9865 | s%@LIBS@%$LIBS%g |
|
|
9866 | s%@exec_prefix@%$exec_prefix%g |
|
|
9867 | s%@prefix@%$prefix%g |
|
|
9868 | s%@program_transform_name@%$program_transform_name%g |
|
|
9869 | s%@bindir@%$bindir%g |
|
|
9870 | s%@sbindir@%$sbindir%g |
|
|
9871 | s%@libexecdir@%$libexecdir%g |
|
|
9872 | s%@datadir@%$datadir%g |
|
|
9873 | s%@sysconfdir@%$sysconfdir%g |
|
|
9874 | s%@sharedstatedir@%$sharedstatedir%g |
|
|
9875 | s%@localstatedir@%$localstatedir%g |
|
|
9876 | s%@libdir@%$libdir%g |
|
|
9877 | s%@includedir@%$includedir%g |
|
|
9878 | s%@oldincludedir@%$oldincludedir%g |
|
|
9879 | s%@infodir@%$infodir%g |
|
|
9880 | s%@mandir@%$mandir%g |
|
|
9881 | s%@VERSION@%$VERSION%g |
|
|
9882 | s%@DATE@%$DATE%g |
|
|
9883 | s%@LSMDATE@%$LSMDATE%g |
|
|
9884 | s%@LIBVERSION@%$LIBVERSION%g |
|
|
9885 | s%@CC@%$CC%g |
|
|
9886 | s%@CXX@%$CXX%g |
|
|
9887 | s%@CPP@%$CPP%g |
|
|
9888 | s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
|
|
9889 | s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |
|
|
9890 | s%@INSTALL_DATA@%$INSTALL_DATA%g |
|
|
9891 | s%@AWK@%$AWK%g |
|
|
9892 | s%@host@%$host%g |
|
|
9893 | s%@host_alias@%$host_alias%g |
|
|
9894 | s%@host_cpu@%$host_cpu%g |
|
|
9895 | s%@host_vendor@%$host_vendor%g |
|
|
9896 | s%@host_os@%$host_os%g |
|
|
9897 | s%@build@%$build%g |
|
|
9898 | s%@build_alias@%$build_alias%g |
|
|
9899 | s%@build_cpu@%$build_cpu%g |
|
|
9900 | s%@build_vendor@%$build_vendor%g |
|
|
9901 | s%@build_os@%$build_os%g |
|
|
9902 | s%@LN_S@%$LN_S%g |
|
|
9903 | s%@OBJEXT@%$OBJEXT%g |
|
|
9904 | s%@EXEEXT@%$EXEEXT%g |
|
|
9905 | s%@ECHO@%$ECHO%g |
|
|
9906 | s%@RANLIB@%$RANLIB%g |
|
|
9907 | s%@STRIP@%$STRIP%g |
|
|
9908 | s%@LIBTOOL@%$LIBTOOL%g |
|
|
9909 | s%@INSTALL_LIBRXVT@%$INSTALL_LIBRXVT%g |
|
|
9910 | s%@MV@%$MV%g |
|
|
9911 | s%@RM@%$RM%g |
|
|
9912 | s%@CP@%$CP%g |
|
|
9913 | s%@LN@%$LN%g |
|
|
9914 | s%@SED@%$SED%g |
|
|
9915 | s%@CMP@%$CMP%g |
|
|
9916 | s%@TBL@%$TBL%g |
|
|
9917 | s%@X_CFLAGS@%$X_CFLAGS%g |
|
|
9918 | s%@X_PRE_LIBS@%$X_PRE_LIBS%g |
|
|
9919 | s%@X_LIBS@%$X_LIBS%g |
|
|
9920 | s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g |
|
|
9921 | s%@XPM_CPPFLAGS@%$XPM_CPPFLAGS%g |
|
|
9922 | s%@XPM_CFLAGS@%$XPM_CFLAGS%g |
|
|
9923 | s%@XPM_LIBS@%$XPM_LIBS%g |
|
|
9924 | s%@rxvt_int16_typedef@%$rxvt_int16_typedef%g |
|
|
9925 | s%@rxvt_uint16_typedef@%$rxvt_uint16_typedef%g |
|
|
9926 | s%@rxvt_int32_typedef@%$rxvt_int32_typedef%g |
|
|
9927 | s%@rxvt_uint32_typedef@%$rxvt_uint32_typedef%g |
|
|
9928 | s%@rxvt_intp_define@%$rxvt_intp_define%g |
|
|
9929 | s%@rxvt_u_intp_define@%$rxvt_u_intp_define%g |
|
|
9930 | s%@DEBUG@%$DEBUG%g |
|
|
9931 | s%@DINCLUDE@%$DINCLUDE%g |
|
|
9932 | s%@DLIB@%$DLIB%g |
|
|
9933 | /@MCOMMON@/r $MCOMMON |
|
|
9934 | s%@MCOMMON@%%g |
|
|
9935 | s%@RXVTNAME@%$RXVTNAME%g |
|
|
9936 | s%@include_stdint_h@%$include_stdint_h%g |
|
|
9937 | s%@include_stdarg_h@%$include_stdarg_h%g |
|
|
9938 | s%@include_stdlib_h@%$include_stdlib_h%g |
|
|
9939 | s%@include_unistd_h@%$include_unistd_h%g |
|
|
9940 | s%@include_string_h@%$include_string_h%g |
|
|
9941 | s%@include_fcntl_h@%$include_fcntl_h%g |
|
|
9942 | s%@include_util_h@%$include_util_h%g |
|
|
9943 | s%@include_assert_h@%$include_assert_h%g |
|
|
9944 | s%@include_sys_ioctl_h@%$include_sys_ioctl_h%g |
|
|
9945 | s%@include_sys_select_h@%$include_sys_select_h%g |
|
|
9946 | s%@include_sys_strredir_h@%$include_sys_strredir_h%g |
|
|
9947 | s%@include_sys_time_h@%$include_sys_time_h%g |
|
|
9948 | s%@include_time_h@%$include_time_h%g |
|
|
9949 | |
|
|
9950 | CEOF |
17356 | _ACEOF |
9951 | EOF |
|
|
9952 | |
|
|
9953 | cat >> $CONFIG_STATUS <<\EOF |
17357 | cat >>$CONFIG_STATUS <<\_ACEOF |
9954 | |
17358 | :t |
9955 | # Split the substitutions into bite-sized pieces for seds with |
17359 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
9956 | # small command number limits, like on Digital OSF/1 and HP-UX. |
17360 | s,@configure_input@,$configure_input,;t t |
9957 | ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |
17361 | s,@srcdir@,$ac_srcdir,;t t |
9958 | ac_file=1 # Number of current file. |
17362 | s,@abs_srcdir@,$ac_abs_srcdir,;t t |
9959 | ac_beg=1 # First line for current file. |
17363 | s,@top_srcdir@,$ac_top_srcdir,;t t |
9960 | ac_end=$ac_max_sed_cmds # Line after last line for current file. |
17364 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
9961 | ac_more_lines=: |
17365 | s,@builddir@,$ac_builddir,;t t |
9962 | ac_sed_cmds="" |
17366 | s,@abs_builddir@,$ac_abs_builddir,;t t |
9963 | while $ac_more_lines; do |
17367 | s,@top_builddir@,$ac_top_builddir,;t t |
9964 | if test $ac_beg -gt 1; then |
17368 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
9965 | sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
17369 | s,@INSTALL@,$ac_INSTALL,;t t |
|
|
17370 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
|
|
17371 | rm -f $tmp/stdin |
|
|
17372 | if test x"$ac_file" != x-; then |
|
|
17373 | mv $tmp/out $ac_file |
9966 | else |
17374 | else |
9967 | sed "${ac_end}q" conftest.subs > conftest.s$ac_file |
17375 | cat $tmp/out |
|
|
17376 | rm -f $tmp/out |
9968 | fi |
17377 | fi |
9969 | if test ! -s conftest.s$ac_file; then |
17378 | |
9970 | ac_more_lines=false |
|
|
9971 | rm -f conftest.s$ac_file |
|
|
9972 | else |
|
|
9973 | if test -z "$ac_sed_cmds"; then |
|
|
9974 | ac_sed_cmds="sed -f conftest.s$ac_file" |
|
|
9975 | else |
|
|
9976 | ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
|
|
9977 | fi |
|
|
9978 | ac_file=`expr $ac_file + 1` |
|
|
9979 | ac_beg=$ac_end |
|
|
9980 | ac_end=`expr $ac_end + $ac_max_sed_cmds` |
|
|
9981 | fi |
|
|
9982 | done |
17379 | done |
9983 | if test -z "$ac_sed_cmds"; then |
17380 | _ACEOF |
9984 | ac_sed_cmds=cat |
|
|
9985 | fi |
|
|
9986 | EOF |
|
|
9987 | |
|
|
9988 | cat >> $CONFIG_STATUS <<EOF |
|
|
9989 | |
|
|
9990 | CONFIG_FILES=\${CONFIG_FILES-"autoconf/Make.common \ |
|
|
9991 | Makefile \ |
|
|
9992 | doc/Makefile \ |
|
|
9993 | src/Makefile \ |
|
|
9994 | src/graphics/Makefile \ |
|
|
9995 | src/test/Makefile \ |
|
|
9996 | src/rxvtlib.h \ |
|
|
9997 | W11/Makefile \ |
|
|
9998 | "} |
|
|
9999 | EOF |
|
|
10000 | cat >> $CONFIG_STATUS <<\EOF |
17381 | cat >>$CONFIG_STATUS <<\_ACEOF |
10001 | for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
|
|
10002 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
|
|
10003 | case "$ac_file" in |
|
|
10004 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
|
|
10005 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
|
|
10006 | *) ac_file_in="${ac_file}.in" ;; |
|
|
10007 | esac |
|
|
10008 | |
17382 | |
10009 | # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
17383 | # |
10010 | |
17384 | # CONFIG_HEADER section. |
10011 | # Remove last slash and all that follows it. Not all systems have dirname. |
17385 | # |
10012 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
|
|
10013 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
|
|
10014 | # The file is in a subdirectory. |
|
|
10015 | test ! -d "$ac_dir" && mkdir "$ac_dir" |
|
|
10016 | ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
|
|
10017 | # A "../" for each directory in $ac_dir_suffix. |
|
|
10018 | ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
|
|
10019 | else |
|
|
10020 | ac_dir_suffix= ac_dots= |
|
|
10021 | fi |
|
|
10022 | |
|
|
10023 | case "$ac_given_srcdir" in |
|
|
10024 | .) srcdir=. |
|
|
10025 | if test -z "$ac_dots"; then top_srcdir=. |
|
|
10026 | else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
|
|
10027 | /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
|
|
10028 | *) # Relative path. |
|
|
10029 | srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
|
|
10030 | top_srcdir="$ac_dots$ac_given_srcdir" ;; |
|
|
10031 | esac |
|
|
10032 | |
|
|
10033 | case "$ac_given_INSTALL" in |
|
|
10034 | [/$]*) INSTALL="$ac_given_INSTALL" ;; |
|
|
10035 | *) INSTALL="$ac_dots$ac_given_INSTALL" ;; |
|
|
10036 | esac |
|
|
10037 | |
|
|
10038 | echo creating "$ac_file" |
|
|
10039 | rm -f "$ac_file" |
|
|
10040 | configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
|
|
10041 | case "$ac_file" in |
|
|
10042 | *Makefile*) ac_comsub="1i\\ |
|
|
10043 | # $configure_input" ;; |
|
|
10044 | *) ac_comsub= ;; |
|
|
10045 | esac |
|
|
10046 | |
|
|
10047 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
|
|
10048 | sed -e "$ac_comsub |
|
|
10049 | s%@configure_input@%$configure_input%g |
|
|
10050 | s%@srcdir@%$srcdir%g |
|
|
10051 | s%@top_srcdir@%$top_srcdir%g |
|
|
10052 | s%@INSTALL@%$INSTALL%g |
|
|
10053 | " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
|
|
10054 | fi; done |
|
|
10055 | rm -f conftest.s* |
|
|
10056 | |
17386 | |
10057 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
17387 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
10058 | # NAME is the cpp macro being defined and VALUE is the value it is being given. |
17388 | # NAME is the cpp macro being defined and VALUE is the value it is being given. |
10059 | # |
17389 | # |
10060 | # ac_d sets the value in "#define NAME VALUE" lines. |
17390 | # ac_d sets the value in "#define NAME VALUE" lines. |
10061 | ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
17391 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
10062 | ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' |
17392 | ac_dB='[ ].*$,\1#\2' |
10063 | ac_dC='\3' |
17393 | ac_dC=' ' |
10064 | ac_dD='%g' |
17394 | ac_dD=',;t' |
10065 | # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". |
17395 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
10066 | ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
17396 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
10067 | ac_uB='\([ ]\)%\1#\2define\3' |
17397 | ac_uB='$,\1#\2define\3' |
10068 | ac_uC=' ' |
17398 | ac_uC=' ' |
10069 | ac_uD='\4%g' |
17399 | ac_uD=',;t' |
10070 | # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
|
|
10071 | ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
|
|
10072 | ac_eB='$%\1#\2define\3' |
|
|
10073 | ac_eC=' ' |
|
|
10074 | ac_eD='%g' |
|
|
10075 | |
17400 | |
10076 | if test "${CONFIG_HEADERS+set}" != set; then |
|
|
10077 | EOF |
|
|
10078 | cat >> $CONFIG_STATUS <<EOF |
|
|
10079 | CONFIG_HEADERS="config.h:autoconf/config.h.in" |
|
|
10080 | EOF |
|
|
10081 | cat >> $CONFIG_STATUS <<\EOF |
|
|
10082 | fi |
|
|
10083 | for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then |
17401 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
10084 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
17402 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
10085 | case "$ac_file" in |
17403 | case $ac_file in |
|
|
17404 | - | *:- | *:-:* ) # input from stdin |
|
|
17405 | cat >$tmp/stdin |
|
|
17406 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
|
17407 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10086 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
17408 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10087 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
17409 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10088 | *) ac_file_in="${ac_file}.in" ;; |
17410 | * ) ac_file_in=$ac_file.in ;; |
10089 | esac |
17411 | esac |
10090 | |
17412 | |
10091 | echo creating $ac_file |
17413 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
17414 | echo "$as_me: creating $ac_file" >&6;} |
10092 | |
17415 | |
10093 | rm -f conftest.frag conftest.in conftest.out |
17416 | # First look for the input files in the build tree, otherwise in the |
10094 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
17417 | # src tree. |
10095 | cat $ac_file_inputs > conftest.in |
17418 | ac_file_inputs=`IFS=: |
|
|
17419 | for f in $ac_file_in; do |
|
|
17420 | case $f in |
|
|
17421 | -) echo $tmp/stdin ;; |
|
|
17422 | [\\/$]*) |
|
|
17423 | # Absolute (can't be DOS-style, as IFS=:) |
|
|
17424 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
|
17425 | echo "$as_me: error: cannot find input file: $f" >&2;} |
|
|
17426 | { (exit 1); exit 1; }; } |
|
|
17427 | # Do quote $f, to prevent DOS paths from being IFS'd. |
|
|
17428 | echo "$f";; |
|
|
17429 | *) # Relative |
|
|
17430 | if test -f "$f"; then |
|
|
17431 | # Build tree |
|
|
17432 | echo "$f" |
|
|
17433 | elif test -f "$srcdir/$f"; then |
|
|
17434 | # Source tree |
|
|
17435 | echo "$srcdir/$f" |
|
|
17436 | else |
|
|
17437 | # /dev/null tree |
|
|
17438 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
|
17439 | echo "$as_me: error: cannot find input file: $f" >&2;} |
|
|
17440 | { (exit 1); exit 1; }; } |
|
|
17441 | fi;; |
|
|
17442 | esac |
|
|
17443 | done` || { (exit 1); exit 1; } |
|
|
17444 | # Remove the trailing spaces. |
|
|
17445 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
10096 | |
17446 | |
10097 | EOF |
17447 | _ACEOF |
10098 | |
17448 | |
10099 | # Transform confdefs.h into a sed script conftest.vals that substitutes |
17449 | # Transform confdefs.h into two sed scripts, `conftest.defines' and |
10100 | # the proper values into config.h.in to produce config.h. And first: |
17450 | # `conftest.undefs', that substitutes the proper values into |
|
|
17451 | # config.h.in to produce config.h. The first handles `#define' |
|
|
17452 | # templates, and the second `#undef' templates. |
10101 | # Protect against being on the right side of a sed subst in config.status. |
17453 | # And first: Protect against being on the right side of a sed subst in |
10102 | # Protect against being in an unquoted here document in config.status. |
17454 | # config.status. Protect against being in an unquoted here document |
10103 | rm -f conftest.vals |
17455 | # in config.status. |
10104 | cat > conftest.hdr <<\EOF |
17456 | rm -f conftest.defines conftest.undefs |
|
|
17457 | # Using a here document instead of a string reduces the quoting nightmare. |
|
|
17458 | # Putting comments in sed scripts is not portable. |
|
|
17459 | # |
|
|
17460 | # `end' is used to avoid that the second main sed command (meant for |
|
|
17461 | # 0-ary CPP macros) applies to n-ary macro definitions. |
|
|
17462 | # See the Autoconf documentation for `clear'. |
|
|
17463 | cat >confdef2sed.sed <<\_ACEOF |
10105 | s/[\\&%]/\\&/g |
17464 | s/[\\&,]/\\&/g |
10106 | s%[\\$`]%\\&%g |
17465 | s,[\\$`],\\&,g |
10107 | s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp |
17466 | t clear |
10108 | s%ac_d%ac_u%gp |
17467 | : clear |
10109 | s%ac_u%ac_e%gp |
17468 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
10110 | EOF |
17469 | t end |
10111 | sed -n -f conftest.hdr confdefs.h > conftest.vals |
17470 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
10112 | rm -f conftest.hdr |
17471 | : end |
|
|
17472 | _ACEOF |
|
|
17473 | # If some macros were called several times there might be several times |
|
|
17474 | # the same #defines, which is useless. Nevertheless, we may not want to |
|
|
17475 | # sort them, since we want the *last* AC-DEFINE to be honored. |
|
|
17476 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
|
|
17477 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
|
|
17478 | rm -f confdef2sed.sed |
10113 | |
17479 | |
10114 | # This sed command replaces #undef with comments. This is necessary, for |
17480 | # This sed command replaces #undef with comments. This is necessary, for |
10115 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
17481 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
10116 | # on some systems where configure will not decide to define it. |
17482 | # on some systems where configure will not decide to define it. |
10117 | cat >> conftest.vals <<\EOF |
17483 | cat >>conftest.undefs <<\_ACEOF |
10118 | s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% |
17484 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
10119 | EOF |
17485 | _ACEOF |
10120 | |
17486 | |
10121 | # Break up conftest.vals because some shells have a limit on |
17487 | # Break up conftest.defines because some shells have a limit on the size |
10122 | # the size of here documents, and old seds have small limits too. |
17488 | # of here documents, and old seds have small limits too (100 cmds). |
10123 | |
17489 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
|
|
17490 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
|
|
17491 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
|
|
17492 | echo ' :' >>$CONFIG_STATUS |
10124 | rm -f conftest.tail |
17493 | rm -f conftest.tail |
10125 | while : |
17494 | while grep . conftest.defines >/dev/null |
10126 | do |
17495 | do |
10127 | ac_lines=`grep -c . conftest.vals` |
|
|
10128 | # grep -c gives empty output for an empty file on some AIX systems. |
|
|
10129 | if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi |
|
|
10130 | # Write a limited-size here document to conftest.frag. |
17496 | # Write a limited-size here document to $tmp/defines.sed. |
10131 | echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS |
17497 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
|
|
17498 | # Speed up: don't consider the non `#define' lines. |
|
|
17499 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
|
|
17500 | # Work around the forget-to-reset-the-flag bug. |
|
|
17501 | echo 't clr' >>$CONFIG_STATUS |
|
|
17502 | echo ': clr' >>$CONFIG_STATUS |
10132 | sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS |
17503 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
10133 | echo 'CEOF |
17504 | echo 'CEOF |
10134 | sed -f conftest.frag conftest.in > conftest.out |
17505 | sed -f $tmp/defines.sed $tmp/in >$tmp/out |
10135 | rm -f conftest.in |
17506 | rm -f $tmp/in |
10136 | mv conftest.out conftest.in |
17507 | mv $tmp/out $tmp/in |
10137 | ' >> $CONFIG_STATUS |
17508 | ' >>$CONFIG_STATUS |
10138 | sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail |
17509 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
10139 | rm -f conftest.vals |
17510 | rm -f conftest.defines |
10140 | mv conftest.tail conftest.vals |
17511 | mv conftest.tail conftest.defines |
10141 | done |
17512 | done |
|
|
17513 | rm -f conftest.defines |
|
|
17514 | echo ' fi # grep' >>$CONFIG_STATUS |
|
|
17515 | echo >>$CONFIG_STATUS |
|
|
17516 | |
|
|
17517 | # Break up conftest.undefs because some shells have a limit on the size |
|
|
17518 | # of here documents, and old seds have small limits too (100 cmds). |
|
|
17519 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
10142 | rm -f conftest.vals |
17520 | rm -f conftest.tail |
|
|
17521 | while grep . conftest.undefs >/dev/null |
|
|
17522 | do |
|
|
17523 | # Write a limited-size here document to $tmp/undefs.sed. |
|
|
17524 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
|
|
17525 | # Speed up: don't consider the non `#undef' |
|
|
17526 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
|
|
17527 | # Work around the forget-to-reset-the-flag bug. |
|
|
17528 | echo 't clr' >>$CONFIG_STATUS |
|
|
17529 | echo ': clr' >>$CONFIG_STATUS |
|
|
17530 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
|
|
17531 | echo 'CEOF |
|
|
17532 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
|
|
17533 | rm -f $tmp/in |
|
|
17534 | mv $tmp/out $tmp/in |
|
|
17535 | ' >>$CONFIG_STATUS |
|
|
17536 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
|
|
17537 | rm -f conftest.undefs |
|
|
17538 | mv conftest.tail conftest.undefs |
|
|
17539 | done |
|
|
17540 | rm -f conftest.undefs |
10143 | |
17541 | |
10144 | cat >> $CONFIG_STATUS <<\EOF |
17542 | cat >>$CONFIG_STATUS <<\_ACEOF |
10145 | rm -f conftest.frag conftest.h |
17543 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
10146 | echo "/* $ac_file. Generated automatically by configure. */" > conftest.h |
17544 | # use $as_me), people would be surprised to read: |
10147 | cat conftest.in >> conftest.h |
17545 | # /* config.h. Generated by config.status. */ |
10148 | rm -f conftest.in |
17546 | if test x"$ac_file" = x-; then |
10149 | if cmp -s $ac_file conftest.h 2>/dev/null; then |
17547 | echo "/* Generated by configure. */" >$tmp/config.h |
10150 | echo "$ac_file is unchanged" |
|
|
10151 | rm -f conftest.h |
|
|
10152 | else |
17548 | else |
10153 | # Remove last slash and all that follows it. Not all systems have dirname. |
17549 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
10154 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
17550 | fi |
10155 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
17551 | cat $tmp/in >>$tmp/config.h |
10156 | # The file is in a subdirectory. |
17552 | rm -f $tmp/in |
|
|
17553 | if test x"$ac_file" != x-; then |
|
|
17554 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
|
|
17555 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
|
|
17556 | echo "$as_me: $ac_file is unchanged" >&6;} |
|
|
17557 | else |
|
|
17558 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
|
|
17559 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
17560 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
|
17561 | X"$ac_file" : 'X\(//\)$' \| \ |
|
|
17562 | X"$ac_file" : 'X\(/\)' \| \ |
|
|
17563 | . : '\(.\)' 2>/dev/null || |
|
|
17564 | echo X"$ac_file" | |
|
|
17565 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
|
17566 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
|
17567 | /^X\(\/\/\)$/{ s//\1/; q; } |
|
|
17568 | /^X\(\/\).*/{ s//\1/; q; } |
|
|
17569 | s/.*/./; q'` |
|
|
17570 | { if $as_mkdir_p; then |
|
|
17571 | mkdir -p "$ac_dir" |
|
|
17572 | else |
|
|
17573 | as_dir="$ac_dir" |
|
|
17574 | as_dirs= |
|
|
17575 | while test ! -d "$as_dir"; do |
|
|
17576 | as_dirs="$as_dir $as_dirs" |
|
|
17577 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
|
|
17578 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
17579 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
|
17580 | X"$as_dir" : 'X\(//\)$' \| \ |
|
|
17581 | X"$as_dir" : 'X\(/\)' \| \ |
|
|
17582 | . : '\(.\)' 2>/dev/null || |
|
|
17583 | echo X"$as_dir" | |
|
|
17584 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
|
17585 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
|
17586 | /^X\(\/\/\)$/{ s//\1/; q; } |
|
|
17587 | /^X\(\/\).*/{ s//\1/; q; } |
|
|
17588 | s/.*/./; q'` |
|
|
17589 | done |
10157 | test ! -d "$ac_dir" && mkdir "$ac_dir" |
17590 | test ! -n "$as_dirs" || mkdir $as_dirs |
|
|
17591 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
|
|
17592 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
|
|
17593 | { (exit 1); exit 1; }; }; } |
|
|
17594 | |
|
|
17595 | rm -f $ac_file |
|
|
17596 | mv $tmp/config.h $ac_file |
10158 | fi |
17597 | fi |
10159 | rm -f $ac_file |
17598 | else |
10160 | mv conftest.h $ac_file |
17599 | cat $tmp/config.h |
|
|
17600 | rm -f $tmp/config.h |
10161 | fi |
17601 | fi |
10162 | fi; done |
17602 | done |
|
|
17603 | _ACEOF |
10163 | |
17604 | |
10164 | EOF |
|
|
10165 | cat >> $CONFIG_STATUS <<EOF |
|
|
10166 | |
|
|
10167 | EOF |
|
|
10168 | cat >> $CONFIG_STATUS <<\EOF |
17605 | cat >>$CONFIG_STATUS <<\_ACEOF |
10169 | |
17606 | |
10170 | exit 0 |
17607 | { (exit 0); exit 0; } |
10171 | EOF |
17608 | _ACEOF |
10172 | chmod +x $CONFIG_STATUS |
17609 | chmod +x $CONFIG_STATUS |
10173 | rm -fr confdefs* $ac_clean_files |
17610 | ac_clean_files=$ac_clean_files_save |
10174 | test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
17611 | |
|
|
17612 | |
|
|
17613 | # configure is writing to config.log, and then calls config.status. |
|
|
17614 | # config.status does its own redirection, appending to config.log. |
|
|
17615 | # Unfortunately, on DOS this fails, as config.log is still kept open |
|
|
17616 | # by configure, so config.status won't be able to write to it; its |
|
|
17617 | # output is simply discarded. So we exec the FD to /dev/null, |
|
|
17618 | # effectively closing config.log, so it can be properly (re)opened and |
|
|
17619 | # appended to by config.status. When coming back to configure, we |
|
|
17620 | # need to make the FD available again. |
|
|
17621 | if test "$no_create" != yes; then |
|
|
17622 | ac_cs_success=: |
|
|
17623 | ac_config_status_args= |
|
|
17624 | test "$silent" = yes && |
|
|
17625 | ac_config_status_args="$ac_config_status_args --quiet" |
|
|
17626 | exec 5>/dev/null |
|
|
17627 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
|
17628 | exec 5>>config.log |
|
|
17629 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|
|
17630 | # would make configure fail if this is the last instruction. |
|
|
17631 | $ac_cs_success || { (exit 1); exit 1; } |
|
|
17632 | fi |
10175 | |
17633 | |
10176 | |
17634 | |
10177 | echo "Configuration: |
17635 | echo "Configuration: |
10178 | |
17636 | |
10179 | Rxvt version: $VERSION : $DATE |
17637 | Rxvt version: $VERSION : $DATE |