Mercurial > hg > xemacs-beta
comparison configure @ 853:2b6fa2618f76
[xemacs-hg @ 2002-05-28 08:44:22 by ben]
merge my stderr-proc ws
make-docfile.c: Fix places where we forget to check for EOF.
code-init.el: Don't use CRLF conversion by default on process output. CMD.EXE and
friends work both ways but Cygwin programs don't like the CRs.
code-process.el, multicast.el, process.el: Removed.
Improvements to call-process-internal:
-- allows a buffer to be specified for input and stderr output
-- use it on all systems
-- implement C-g as documented
-- clean up and comment
call-process-region uses new call-process facilities; no temp file.
remove duplicate funs in process.el.
comment exactly how coding systems work and fix various problems.
open-multicast-group now does similar coding-system frobbing to
open-network-stream.
dumped-lisp.el, faces.el, msw-faces.el: Fix some hidden errors due to code not being defined at the right time.
xemacs.mak: Add -DSTRICT.
================================================================
ALLOW SEPARATION OF STDOUT AND STDERR IN PROCESSES
================================================================
Standard output and standard error can be processed separately in
a process. Each can have its own buffer, its own mark in that buffer,
and its filter function. You can specify a separate buffer for stderr
in `start-process' to get things started, or use the new primitives:
set-process-stderr-buffer
process-stderr-buffer
process-stderr-mark
set-process-stderr-filter
process-stderr-filter
Also, process-send-region takes a 4th optional arg, a buffer.
Currently always uses a pipe() under Unix to read the error output.
(#### Would a PTY be better?)
sysdep.h, sysproc.h, unexfreebsd.c, unexsunos4.c, nt.c, emacs.c, callproc.c, symsinit.h, sysdep.c, Makefile.in.in, process-unix.c: Delete callproc.c. Move child_setup() to process-unix.c.
wait_for_termination() now only needed on a few really old systems.
console-msw.h, event-Xt.c, event-msw.c, event-stream.c, event-tty.c, event-unixoid.c, events.h, process-nt.c, process-unix.c, process.c, process.h, procimpl.h: Rewrite the process methods to handle a separate channel for
error input. Create Lstreams for reading in the error channel.
Many process methods need change. In general the changes are
fairly clear as they involve duplicating what's used for reading
the normal stdout and changing for stderr -- although tedious,
as such changes are required throughout the entire process code.
Rewrote the code that reads process output to do two loops, one
for stdout and one for stderr.
gpmevent.c, tooltalk.c: set_process_filter takes an argument for stderr.
================================================================
NEW ERROR-TRAPPING MECHANISM
================================================================
Totally rewrite error trapping code to be unified and support more
features. Basic function is call_trapping_problems(), which lets
you specify, by means of flags, what sorts of problems you want
trapped. these can include
-- quit
-- errors
-- throws past the function
-- creation of "display objects" (e.g. buffers)
-- deletion of already-existing "display objects" (e.g. buffers)
-- modification of already-existing buffers
-- entering the debugger
-- gc
-- errors->warnings (ala suspended errors)
etc. All other error funs rewritten in terms of this one.
Various older mechanisms removed or rewritten.
window.c, insdel.c, console.c, buffer.c, device.c, frame.c: When creating a display object, added call to
note_object_created(), for use with trapping_problems mechanism.
When deleting, call check_allowed_operation() and note_object
deleted().
The trapping-problems code records the objects created since the
call-trapping-problems began. Those objects can be deleted, but
none others (i.e. previously existing ones).
bytecode.c, cmdloop.c: internal_catch takes another arg.
eval.c: Add long comments describing the "five lists" used to maintain
state (backtrace, gcpro, specbind, etc.) in the Lisp engine.
backtrace.h, eval.c: Implement trapping-problems mechanism, eliminate old mechanisms or
redo in terms of new one.
frame.c, gutter.c: Flush out the concept of "critical display section", defined by
the in_display() var. Use an internal_bind() to get it reset,
rather than just doing it at end, because there may be a non-local
exit.
event-msw.c, event-stream.c, console-msw.h, device.c, dialog-msw.c, frame.c, frame.h, intl.c, toolbar.c, menubar-msw.c, redisplay.c, alloc.c, menubar-x.c: Make use of new trapping-errors stuff and rewrite code based on
old mechanisms.
glyphs-widget.c, redisplay.h: Protect calling Lisp in redisplay.
insdel.c: Protect hooks against deleting existing buffers.
frame-msw.c: Use EQ, not EQUAL in hash tables whose keys are just numbers.
Otherwise we run into stickiness in redisplay because
internal_equal() can QUIT.
================================================================
SIGNAL, C-G CHANGES
================================================================
Here we change the way that C-g interacts with event reading. The
idea is that a C-g occurring while we're reading a user event
should be read as C-g, but elsewhere should be a QUIT. The former
code did all sorts of bizarreness -- requiring that no QUIT occurs
anywhere in event-reading code (impossible to enforce given the
stuff called or Lisp code invoked), and having some weird system
involving enqueue/dequeue of a C-g and interaction with Vquit_flag
-- and it didn't work.
Now, we simply enclose all code where we want C-g read as an event
with {begin/end}_dont_check_for_quit(). This completely turns off
the mechanism that checks (and may remove or alter) C-g in the
read-ahead queues, so we just get the C-g normal.
Signal.c documents this very carefully.
cmdloop.c: Correct use of dont_check_for_quit to new scheme, remove old
out-of-date comments.
event-stream.c: Fix C-g handling to actually work.
device-x.c: Disable quit checking when err out.
signal.c: Cleanup. Add large descriptive comment.
process-unix.c, process-nt.c, sysdep.c: Use QUIT instead of REALLY_QUIT.
It's not necessary to use REALLY_QUIT and just confuses the issue.
lisp.h: Comment quit handlers.
================================================================
CONS CHANGES
================================================================
free_cons() now takes a Lisp_Object not the result of XCONS().
car and cdr have been renamed so that they don't get used directly;
go through XCAR(), XCDR() instead.
alloc.c, dired.c, editfns.c, emodules.c, fns.c, glyphs-msw.c, glyphs-x.c, glyphs.c, keymap.c, minibuf.c, search.c, eval.c, lread.c, lisp.h: Correct free_cons calling convention: now takes Lisp_Object,
not Lisp_Cons
chartab.c: Eliminate direct use of ->car, ->cdr, should be black box.
callint.c: Rewrote using EXTERNAL_LIST_LOOP to avoid use of Lisp_Cons.
================================================================
USE INTERNAL-BIND-*
================================================================
eval.c: Cleanups of these funs.
alloc.c, fileio.c, undo.c, specifier.c, text.c, profile.c, lread.c, redisplay.c, menubar-x.c, macros.c: Rewrote to use internal_bind_int() and internal_bind_lisp_object()
in place of whatever varied and cumbersome mechanisms were
formerly there.
================================================================
SPECBIND SANITY
================================================================
backtrace.h: - Improved comments
backtrace.h, bytecode.c, eval.c: Add new mechanism check_specbind_stack_sanity() for sanity
checking code each time the catchlist or specbind stack change.
Removed older prototype of same mechanism.
================================================================
MISC
================================================================
lisp.h, insdel.c, window.c, device.c, console.c, buffer.c: Fleshed out authorship.
device-msw.c: Correct bad Unicode-ization.
print.c: Be more careful when not initialized or in fatal error handling.
search.c: Eliminate running_asynch_code, an FSF holdover.
alloc.c: Added comments about gc-cons-threshold.
dialog-x.c: Use begin_gc_forbidden() around code to build up a widget value
tree, like in menubar-x.c.
gui.c: Use Qunbound not Qnil as the default for
gethash.
lisp-disunion.h, lisp-union.h: Added warnings on use of VOID_TO_LISP().
lisp.h: Use ERROR_CHECK_STRUCTURES to turn on
ERROR_CHECK_TRAPPING_PROBLEMS and ERROR_CHECK_TYPECHECK
lisp.h: Add assert_with_message.
lisp.h: Add macros for gcproing entire arrays. (You could do this before
but it required manual twiddling the gcpro structure.)
lisp.h: Add prototypes for new functions defined elsewhere.
author | ben |
---|---|
date | Tue, 28 May 2002 08:45:36 +0000 |
parents | 5d09ddada9ae |
children | 804517e16990 |
comparison
equal
deleted
inserted
replaced
852:d83885ef293b | 853:2b6fa2618f76 |
---|---|
2869 ;; | 2869 ;; |
2870 esac | 2870 esac |
2871 echo "$ac_t""no" 1>&6 | 2871 echo "$ac_t""no" 1>&6 |
2872 fi | 2872 fi |
2873 | 2873 |
2874 if test "$pdump" != "yes"; then | |
2875 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | |
2876 echo "configure:2877: checking for \"-z nocombreloc\" linker flag" >&5 | |
2877 case "`ld --help 2>&1`" in | |
2878 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | |
2879 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | |
2880 *) echo "$ac_t""no" 1>&6 ;; | |
2881 esac | |
2882 fi | |
2883 | |
2884 | |
2874 | 2885 |
2875 if test "$GCC" = "yes"; then | 2886 if test "$GCC" = "yes"; then |
2876 set x $ld_switch_system; shift; ld_switch_system="" | 2887 set x $ld_switch_system; shift; ld_switch_system="" |
2877 while test -n "$1"; do | 2888 while test -n "$1"; do |
2878 case $1 in | 2889 case $1 in |
2891 case $1 in | 2902 case $1 in |
2892 -L | -l | -u ) ld_switch_machine="$ld_switch_machine $1 $2"; shift ;; | 2903 -L | -l | -u ) ld_switch_machine="$ld_switch_machine $1 $2"; shift ;; |
2893 -L* | -l* | -u* | -Wl* | -pg ) ld_switch_machine="$ld_switch_machine $1" ;; | 2904 -L* | -l* | -u* | -Wl* | -pg ) ld_switch_machine="$ld_switch_machine $1" ;; |
2894 -Xlinker* ) ;; | 2905 -Xlinker* ) ;; |
2895 * ) ld_switch_machine="$ld_switch_machine -Xlinker $1" ;; | 2906 * ) ld_switch_machine="$ld_switch_machine -Xlinker $1" ;; |
2907 esac | |
2908 shift | |
2909 done | |
2910 fi | |
2911 | |
2912 if test "$GCC" = "yes"; then | |
2913 set x $ld_switch_site; shift; ld_switch_site="" | |
2914 while test -n "$1"; do | |
2915 case $1 in | |
2916 -L | -l | -u ) ld_switch_site="$ld_switch_site $1 $2"; shift ;; | |
2917 -L* | -l* | -u* | -Wl* | -pg ) ld_switch_site="$ld_switch_site $1" ;; | |
2918 -Xlinker* ) ;; | |
2919 * ) ld_switch_site="$ld_switch_site -Xlinker $1" ;; | |
2896 esac | 2920 esac |
2897 shift | 2921 shift |
2898 done | 2922 done |
2899 fi | 2923 fi |
2900 | 2924 |
2936 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 2960 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
2937 echo " xemacs will be linked with \"dumper.o\"" | 2961 echo " xemacs will be linked with \"dumper.o\"" |
2938 fi | 2962 fi |
2939 | 2963 |
2940 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2964 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2941 echo "configure:2942: checking for dynodump" >&5 | 2965 echo "configure:2966: checking for dynodump" >&5 |
2942 if test "$unexec" != "unexsol2.o"; then | 2966 if test "$unexec" != "unexsol2.o"; then |
2943 echo "$ac_t""no" 1>&6 | 2967 echo "$ac_t""no" 1>&6 |
2944 else | 2968 else |
2945 echo "$ac_t""yes" 1>&6 | 2969 echo "$ac_t""yes" 1>&6 |
2946 { test "$extra_verbose" = "yes" && cat << \EOF | 2970 { test "$extra_verbose" = "yes" && cat << \EOF |
2974 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2998 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
2975 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2999 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
2976 done | 3000 done |
2977 | 3001 |
2978 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 3002 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
2979 echo "configure:2980: checking for terminateAndUnload in -lC" >&5 | 3003 echo "configure:3004: checking for terminateAndUnload in -lC" >&5 |
2980 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 3004 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
2981 | 3005 |
2982 xe_check_libs=" -lC " | 3006 xe_check_libs=" -lC " |
2983 cat > conftest.$ac_ext <<EOF | 3007 cat > conftest.$ac_ext <<EOF |
2984 #line 2985 "configure" | 3008 #line 3009 "configure" |
2985 #include "confdefs.h" | 3009 #include "confdefs.h" |
2986 /* Override any gcc2 internal prototype to avoid an error. */ | 3010 /* Override any gcc2 internal prototype to avoid an error. */ |
2987 /* We use char because int might match the return type of a gcc2 | 3011 /* We use char because int might match the return type of a gcc2 |
2988 builtin and then its argument prototype would still apply. */ | 3012 builtin and then its argument prototype would still apply. */ |
2989 char terminateAndUnload(); | 3013 char terminateAndUnload(); |
2990 | 3014 |
2991 int main() { | 3015 int main() { |
2992 terminateAndUnload() | 3016 terminateAndUnload() |
2993 ; return 0; } | 3017 ; return 0; } |
2994 EOF | 3018 EOF |
2995 if { (eval echo configure:2996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3019 if { (eval echo configure:3020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2996 rm -rf conftest* | 3020 rm -rf conftest* |
2997 eval "ac_cv_lib_$ac_lib_var=yes" | 3021 eval "ac_cv_lib_$ac_lib_var=yes" |
2998 else | 3022 else |
2999 echo "configure: failed program was:" >&5 | 3023 echo "configure: failed program was:" >&5 |
3000 cat conftest.$ac_ext >&5 | 3024 cat conftest.$ac_ext >&5 |
3098 esac | 3122 esac |
3099 fi | 3123 fi |
3100 | 3124 |
3101 if test "$add_runtime_path" = "yes"; then | 3125 if test "$add_runtime_path" = "yes"; then |
3102 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3126 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3103 echo "configure:3104: checking "for runtime libraries flag"" >&5 | 3127 echo "configure:3128: checking "for runtime libraries flag"" >&5 |
3104 case "$opsys" in | 3128 case "$opsys" in |
3105 sol2 ) dash_r="-R" ;; | 3129 sol2 ) dash_r="-R" ;; |
3106 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3130 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3107 *) | 3131 *) |
3108 dash_r="" | 3132 dash_r="" |
3120 esac | 3144 esac |
3121 shift | 3145 shift |
3122 done | 3146 done |
3123 fi | 3147 fi |
3124 cat > conftest.$ac_ext <<EOF | 3148 cat > conftest.$ac_ext <<EOF |
3125 #line 3126 "configure" | 3149 #line 3150 "configure" |
3126 #include "confdefs.h" | 3150 #include "confdefs.h" |
3127 | 3151 |
3128 int main() { | 3152 int main() { |
3129 | 3153 |
3130 ; return 0; } | 3154 ; return 0; } |
3131 EOF | 3155 EOF |
3132 if { (eval echo configure:3133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3156 if { (eval echo configure:3157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3133 rm -rf conftest* | 3157 rm -rf conftest* |
3134 dash_r="$try_dash_r" | 3158 dash_r="$try_dash_r" |
3135 else | 3159 else |
3136 echo "configure: failed program was:" >&5 | 3160 echo "configure: failed program was:" >&5 |
3137 cat conftest.$ac_ext >&5 | 3161 cat conftest.$ac_ext >&5 |
3228 else | 3252 else |
3229 doug_lea_malloc=no | 3253 doug_lea_malloc=no |
3230 fi | 3254 fi |
3231 after_morecore_hook_exists=yes | 3255 after_morecore_hook_exists=yes |
3232 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3256 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3233 echo "configure:3234: checking for malloc_set_state" >&5 | 3257 echo "configure:3258: checking for malloc_set_state" >&5 |
3234 | 3258 |
3235 cat > conftest.$ac_ext <<EOF | 3259 cat > conftest.$ac_ext <<EOF |
3236 #line 3237 "configure" | 3260 #line 3261 "configure" |
3237 #include "confdefs.h" | 3261 #include "confdefs.h" |
3238 /* System header to define __stub macros and hopefully few prototypes, | 3262 /* System header to define __stub macros and hopefully few prototypes, |
3239 which can conflict with char malloc_set_state(); below. */ | 3263 which can conflict with char malloc_set_state(); below. */ |
3240 #include <assert.h> | 3264 #include <assert.h> |
3241 /* Override any gcc2 internal prototype to avoid an error. */ | 3265 /* Override any gcc2 internal prototype to avoid an error. */ |
3254 malloc_set_state(); | 3278 malloc_set_state(); |
3255 #endif | 3279 #endif |
3256 | 3280 |
3257 ; return 0; } | 3281 ; return 0; } |
3258 EOF | 3282 EOF |
3259 if { (eval echo configure:3260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3283 if { (eval echo configure:3284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3260 rm -rf conftest* | 3284 rm -rf conftest* |
3261 eval "ac_cv_func_malloc_set_state=yes" | 3285 eval "ac_cv_func_malloc_set_state=yes" |
3262 else | 3286 else |
3263 echo "configure: failed program was:" >&5 | 3287 echo "configure: failed program was:" >&5 |
3264 cat conftest.$ac_ext >&5 | 3288 cat conftest.$ac_ext >&5 |
3274 echo "$ac_t""no" 1>&6 | 3298 echo "$ac_t""no" 1>&6 |
3275 doug_lea_malloc=no | 3299 doug_lea_malloc=no |
3276 fi | 3300 fi |
3277 | 3301 |
3278 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3302 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3279 echo "configure:3280: checking whether __after_morecore_hook exists" >&5 | 3303 echo "configure:3304: checking whether __after_morecore_hook exists" >&5 |
3280 cat > conftest.$ac_ext <<EOF | 3304 cat > conftest.$ac_ext <<EOF |
3281 #line 3282 "configure" | 3305 #line 3306 "configure" |
3282 #include "confdefs.h" | 3306 #include "confdefs.h" |
3283 extern void (* __after_morecore_hook)(); | 3307 extern void (* __after_morecore_hook)(); |
3284 int main() { | 3308 int main() { |
3285 __after_morecore_hook = 0 | 3309 __after_morecore_hook = 0 |
3286 ; return 0; } | 3310 ; return 0; } |
3287 EOF | 3311 EOF |
3288 if { (eval echo configure:3289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3312 if { (eval echo configure:3313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3289 rm -rf conftest* | 3313 rm -rf conftest* |
3290 echo "$ac_t""yes" 1>&6 | 3314 echo "$ac_t""yes" 1>&6 |
3291 else | 3315 else |
3292 echo "configure: failed program was:" >&5 | 3316 echo "configure: failed program was:" >&5 |
3293 cat conftest.$ac_ext >&5 | 3317 cat conftest.$ac_ext >&5 |
3339 | 3363 |
3340 | 3364 |
3341 # Extract the first word of "ranlib", so it can be a program name with args. | 3365 # Extract the first word of "ranlib", so it can be a program name with args. |
3342 set dummy ranlib; ac_word=$2 | 3366 set dummy ranlib; ac_word=$2 |
3343 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3367 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3344 echo "configure:3345: checking for $ac_word" >&5 | 3368 echo "configure:3369: checking for $ac_word" >&5 |
3345 | 3369 |
3346 if test -n "$RANLIB"; then | 3370 if test -n "$RANLIB"; then |
3347 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3371 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3348 else | 3372 else |
3349 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3373 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3394 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3418 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3395 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3419 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3396 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3420 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3397 # ./install, which can be erroneously created by make from ./install.sh. | 3421 # ./install, which can be erroneously created by make from ./install.sh. |
3398 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3422 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3399 echo "configure:3400: checking for a BSD compatible install" >&5 | 3423 echo "configure:3424: checking for a BSD compatible install" >&5 |
3400 if test -z "$INSTALL"; then | 3424 if test -z "$INSTALL"; then |
3401 | 3425 |
3402 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3426 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3403 for ac_dir in $PATH; do | 3427 for ac_dir in $PATH; do |
3404 # Account for people who put trailing slashes in PATH elements. | 3428 # Account for people who put trailing slashes in PATH elements. |
3448 for ac_prog in 'bison -y' byacc | 3472 for ac_prog in 'bison -y' byacc |
3449 do | 3473 do |
3450 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3474 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3451 set dummy $ac_prog; ac_word=$2 | 3475 set dummy $ac_prog; ac_word=$2 |
3452 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3476 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3453 echo "configure:3454: checking for $ac_word" >&5 | 3477 echo "configure:3478: checking for $ac_word" >&5 |
3454 | 3478 |
3455 if test -n "$YACC"; then | 3479 if test -n "$YACC"; then |
3456 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3480 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3457 else | 3481 else |
3458 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3482 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3480 | 3504 |
3481 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h | 3505 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h |
3482 do | 3506 do |
3483 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3507 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3484 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3508 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3485 echo "configure:3486: checking for $ac_hdr" >&5 | 3509 echo "configure:3510: checking for $ac_hdr" >&5 |
3486 | 3510 |
3487 cat > conftest.$ac_ext <<EOF | 3511 cat > conftest.$ac_ext <<EOF |
3488 #line 3489 "configure" | 3512 #line 3513 "configure" |
3489 #include "confdefs.h" | 3513 #include "confdefs.h" |
3490 #include <$ac_hdr> | 3514 #include <$ac_hdr> |
3491 EOF | 3515 EOF |
3492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3516 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3493 { (eval echo configure:3494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3517 { (eval echo configure:3518: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3518 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3495 if test -z "$ac_err"; then | 3519 if test -z "$ac_err"; then |
3496 rm -rf conftest* | 3520 rm -rf conftest* |
3497 eval "ac_cv_header_$ac_safe=yes" | 3521 eval "ac_cv_header_$ac_safe=yes" |
3498 else | 3522 else |
3518 echo "$ac_t""no" 1>&6 | 3542 echo "$ac_t""no" 1>&6 |
3519 fi | 3543 fi |
3520 done | 3544 done |
3521 | 3545 |
3522 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3546 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3523 echo "configure:3524: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3547 echo "configure:3548: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3524 | 3548 |
3525 cat > conftest.$ac_ext <<EOF | 3549 cat > conftest.$ac_ext <<EOF |
3526 #line 3527 "configure" | 3550 #line 3551 "configure" |
3527 #include "confdefs.h" | 3551 #include "confdefs.h" |
3528 #include <sys/types.h> | 3552 #include <sys/types.h> |
3529 #include <sys/wait.h> | 3553 #include <sys/wait.h> |
3530 #ifndef WEXITSTATUS | 3554 #ifndef WEXITSTATUS |
3531 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3555 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3537 int s; | 3561 int s; |
3538 wait (&s); | 3562 wait (&s); |
3539 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3563 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3540 ; return 0; } | 3564 ; return 0; } |
3541 EOF | 3565 EOF |
3542 if { (eval echo configure:3543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3566 if { (eval echo configure:3567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3543 rm -rf conftest* | 3567 rm -rf conftest* |
3544 ac_cv_header_sys_wait_h=yes | 3568 ac_cv_header_sys_wait_h=yes |
3545 else | 3569 else |
3546 echo "configure: failed program was:" >&5 | 3570 echo "configure: failed program was:" >&5 |
3547 cat conftest.$ac_ext >&5 | 3571 cat conftest.$ac_ext >&5 |
3561 } | 3585 } |
3562 | 3586 |
3563 fi | 3587 fi |
3564 | 3588 |
3565 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3589 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3566 echo "configure:3567: checking for ANSI C header files" >&5 | 3590 echo "configure:3591: checking for ANSI C header files" >&5 |
3567 | 3591 |
3568 cat > conftest.$ac_ext <<EOF | 3592 cat > conftest.$ac_ext <<EOF |
3569 #line 3570 "configure" | 3593 #line 3594 "configure" |
3570 #include "confdefs.h" | 3594 #include "confdefs.h" |
3571 #include <stdlib.h> | 3595 #include <stdlib.h> |
3572 #include <stdarg.h> | 3596 #include <stdarg.h> |
3573 #include <string.h> | 3597 #include <string.h> |
3574 #include <float.h> | 3598 #include <float.h> |
3575 EOF | 3599 EOF |
3576 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3600 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3577 { (eval echo configure:3578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3601 { (eval echo configure:3602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3578 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3602 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3579 if test -z "$ac_err"; then | 3603 if test -z "$ac_err"; then |
3580 rm -rf conftest* | 3604 rm -rf conftest* |
3581 ac_cv_header_stdc=yes | 3605 ac_cv_header_stdc=yes |
3582 else | 3606 else |
3589 rm -f conftest* | 3613 rm -f conftest* |
3590 | 3614 |
3591 if test $ac_cv_header_stdc = yes; then | 3615 if test $ac_cv_header_stdc = yes; then |
3592 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3616 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3593 cat > conftest.$ac_ext <<EOF | 3617 cat > conftest.$ac_ext <<EOF |
3594 #line 3595 "configure" | 3618 #line 3619 "configure" |
3595 #include "confdefs.h" | 3619 #include "confdefs.h" |
3596 #include <string.h> | 3620 #include <string.h> |
3597 EOF | 3621 EOF |
3598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3599 egrep "memchr" >/dev/null 2>&1; then | 3623 egrep "memchr" >/dev/null 2>&1; then |
3607 fi | 3631 fi |
3608 | 3632 |
3609 if test $ac_cv_header_stdc = yes; then | 3633 if test $ac_cv_header_stdc = yes; then |
3610 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3634 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3611 cat > conftest.$ac_ext <<EOF | 3635 cat > conftest.$ac_ext <<EOF |
3612 #line 3613 "configure" | 3636 #line 3637 "configure" |
3613 #include "confdefs.h" | 3637 #include "confdefs.h" |
3614 #include <stdlib.h> | 3638 #include <stdlib.h> |
3615 EOF | 3639 EOF |
3616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3617 egrep "free" >/dev/null 2>&1; then | 3641 egrep "free" >/dev/null 2>&1; then |
3625 fi | 3649 fi |
3626 | 3650 |
3627 if test $ac_cv_header_stdc = yes; then | 3651 if test $ac_cv_header_stdc = yes; then |
3628 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3652 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3629 cat > conftest.$ac_ext <<EOF | 3653 cat > conftest.$ac_ext <<EOF |
3630 #line 3631 "configure" | 3654 #line 3655 "configure" |
3631 #include "confdefs.h" | 3655 #include "confdefs.h" |
3632 #include <ctype.h> | 3656 #include <ctype.h> |
3633 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3657 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3634 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3658 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3635 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3659 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3636 int main () { int i; for (i = 0; i < 256; i++) | 3660 int main () { int i; for (i = 0; i < 256; i++) |
3637 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3661 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3638 exit (0); } | 3662 exit (0); } |
3639 | 3663 |
3640 EOF | 3664 EOF |
3641 if { (eval echo configure:3642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3665 if { (eval echo configure:3666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3642 then | 3666 then |
3643 : | 3667 : |
3644 else | 3668 else |
3645 conftest_rc="$?" | 3669 conftest_rc="$?" |
3646 echo "configure: failed program was:" >&5 | 3670 echo "configure: failed program was:" >&5 |
3662 } | 3686 } |
3663 | 3687 |
3664 fi | 3688 fi |
3665 | 3689 |
3666 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3690 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3667 echo "configure:3668: checking whether time.h and sys/time.h may both be included" >&5 | 3691 echo "configure:3692: checking whether time.h and sys/time.h may both be included" >&5 |
3668 | 3692 |
3669 cat > conftest.$ac_ext <<EOF | 3693 cat > conftest.$ac_ext <<EOF |
3670 #line 3671 "configure" | 3694 #line 3695 "configure" |
3671 #include "confdefs.h" | 3695 #include "confdefs.h" |
3672 #include <sys/types.h> | 3696 #include <sys/types.h> |
3673 #include <sys/time.h> | 3697 #include <sys/time.h> |
3674 #include <time.h> | 3698 #include <time.h> |
3675 int main() { | 3699 int main() { |
3676 struct tm *tp; | 3700 struct tm *tp; |
3677 ; return 0; } | 3701 ; return 0; } |
3678 EOF | 3702 EOF |
3679 if { (eval echo configure:3680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3703 if { (eval echo configure:3704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3680 rm -rf conftest* | 3704 rm -rf conftest* |
3681 ac_cv_header_time=yes | 3705 ac_cv_header_time=yes |
3682 else | 3706 else |
3683 echo "configure: failed program was:" >&5 | 3707 echo "configure: failed program was:" >&5 |
3684 cat conftest.$ac_ext >&5 | 3708 cat conftest.$ac_ext >&5 |
3698 } | 3722 } |
3699 | 3723 |
3700 fi | 3724 fi |
3701 | 3725 |
3702 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3726 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3703 echo "configure:3704: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3727 echo "configure:3728: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3704 | 3728 |
3705 cat > conftest.$ac_ext <<EOF | 3729 cat > conftest.$ac_ext <<EOF |
3706 #line 3707 "configure" | 3730 #line 3731 "configure" |
3707 #include "confdefs.h" | 3731 #include "confdefs.h" |
3708 #include <sys/types.h> | 3732 #include <sys/types.h> |
3709 #include <signal.h> | 3733 #include <signal.h> |
3710 /* NetBSD declares sys_siglist in unistd.h. */ | 3734 /* NetBSD declares sys_siglist in unistd.h. */ |
3711 #ifdef HAVE_UNISTD_H | 3735 #ifdef HAVE_UNISTD_H |
3713 #endif | 3737 #endif |
3714 int main() { | 3738 int main() { |
3715 char *msg = *(sys_siglist + 1); | 3739 char *msg = *(sys_siglist + 1); |
3716 ; return 0; } | 3740 ; return 0; } |
3717 EOF | 3741 EOF |
3718 if { (eval echo configure:3719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3742 if { (eval echo configure:3743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3719 rm -rf conftest* | 3743 rm -rf conftest* |
3720 ac_cv_decl_sys_siglist=yes | 3744 ac_cv_decl_sys_siglist=yes |
3721 else | 3745 else |
3722 echo "configure: failed program was:" >&5 | 3746 echo "configure: failed program was:" >&5 |
3723 cat conftest.$ac_ext >&5 | 3747 cat conftest.$ac_ext >&5 |
3739 fi | 3763 fi |
3740 | 3764 |
3741 | 3765 |
3742 | 3766 |
3743 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3767 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3744 echo "configure:3745: checking for utime" >&5 | 3768 echo "configure:3769: checking for utime" >&5 |
3745 cat > conftest.$ac_ext <<EOF | 3769 cat > conftest.$ac_ext <<EOF |
3746 #line 3747 "configure" | 3770 #line 3771 "configure" |
3747 #include "confdefs.h" | 3771 #include "confdefs.h" |
3748 #include <sys/types.h> | 3772 #include <sys/types.h> |
3749 #include <utime.h> | 3773 #include <utime.h> |
3750 int main() { | 3774 int main() { |
3751 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3775 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3752 ; return 0; } | 3776 ; return 0; } |
3753 EOF | 3777 EOF |
3754 if { (eval echo configure:3755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3778 if { (eval echo configure:3779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3755 rm -rf conftest* | 3779 rm -rf conftest* |
3756 echo "$ac_t""yes" 1>&6 | 3780 echo "$ac_t""yes" 1>&6 |
3757 { test "$extra_verbose" = "yes" && cat << \EOF | 3781 { test "$extra_verbose" = "yes" && cat << \EOF |
3758 Defining HAVE_UTIME | 3782 Defining HAVE_UTIME |
3759 EOF | 3783 EOF |
3768 rm -rf conftest* | 3792 rm -rf conftest* |
3769 echo "$ac_t""no" 1>&6 | 3793 echo "$ac_t""no" 1>&6 |
3770 for ac_func in utimes | 3794 for ac_func in utimes |
3771 do | 3795 do |
3772 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3796 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3773 echo "configure:3774: checking for $ac_func" >&5 | 3797 echo "configure:3798: checking for $ac_func" >&5 |
3774 | 3798 |
3775 cat > conftest.$ac_ext <<EOF | 3799 cat > conftest.$ac_ext <<EOF |
3776 #line 3777 "configure" | 3800 #line 3801 "configure" |
3777 #include "confdefs.h" | 3801 #include "confdefs.h" |
3778 /* System header to define __stub macros and hopefully few prototypes, | 3802 /* System header to define __stub macros and hopefully few prototypes, |
3779 which can conflict with char $ac_func(); below. */ | 3803 which can conflict with char $ac_func(); below. */ |
3780 #include <assert.h> | 3804 #include <assert.h> |
3781 /* Override any gcc2 internal prototype to avoid an error. */ | 3805 /* Override any gcc2 internal prototype to avoid an error. */ |
3794 $ac_func(); | 3818 $ac_func(); |
3795 #endif | 3819 #endif |
3796 | 3820 |
3797 ; return 0; } | 3821 ; return 0; } |
3798 EOF | 3822 EOF |
3799 if { (eval echo configure:3800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3823 if { (eval echo configure:3824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3800 rm -rf conftest* | 3824 rm -rf conftest* |
3801 eval "ac_cv_func_$ac_func=yes" | 3825 eval "ac_cv_func_$ac_func=yes" |
3802 else | 3826 else |
3803 echo "configure: failed program was:" >&5 | 3827 echo "configure: failed program was:" >&5 |
3804 cat conftest.$ac_ext >&5 | 3828 cat conftest.$ac_ext >&5 |
3826 fi | 3850 fi |
3827 rm -f conftest* | 3851 rm -f conftest* |
3828 | 3852 |
3829 | 3853 |
3830 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3854 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3831 echo "configure:3832: checking return type of signal handlers" >&5 | 3855 echo "configure:3856: checking return type of signal handlers" >&5 |
3832 | 3856 |
3833 cat > conftest.$ac_ext <<EOF | 3857 cat > conftest.$ac_ext <<EOF |
3834 #line 3835 "configure" | 3858 #line 3859 "configure" |
3835 #include "confdefs.h" | 3859 #include "confdefs.h" |
3836 #include <sys/types.h> | 3860 #include <sys/types.h> |
3837 #include <signal.h> | 3861 #include <signal.h> |
3838 #ifdef signal | 3862 #ifdef signal |
3839 #undef signal | 3863 #undef signal |
3846 | 3870 |
3847 int main() { | 3871 int main() { |
3848 int i; | 3872 int i; |
3849 ; return 0; } | 3873 ; return 0; } |
3850 EOF | 3874 EOF |
3851 if { (eval echo configure:3852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3875 if { (eval echo configure:3876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3852 rm -rf conftest* | 3876 rm -rf conftest* |
3853 ac_cv_type_signal=void | 3877 ac_cv_type_signal=void |
3854 else | 3878 else |
3855 echo "configure: failed program was:" >&5 | 3879 echo "configure: failed program was:" >&5 |
3856 cat conftest.$ac_ext >&5 | 3880 cat conftest.$ac_ext >&5 |
3868 EOF | 3892 EOF |
3869 } | 3893 } |
3870 | 3894 |
3871 | 3895 |
3872 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3896 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3873 echo "configure:3874: checking for size_t" >&5 | 3897 echo "configure:3898: checking for size_t" >&5 |
3874 | 3898 |
3875 cat > conftest.$ac_ext <<EOF | 3899 cat > conftest.$ac_ext <<EOF |
3876 #line 3877 "configure" | 3900 #line 3901 "configure" |
3877 #include "confdefs.h" | 3901 #include "confdefs.h" |
3878 #include <sys/types.h> | 3902 #include <sys/types.h> |
3879 #if STDC_HEADERS | 3903 #if STDC_HEADERS |
3880 #include <stdlib.h> | 3904 #include <stdlib.h> |
3881 #include <stddef.h> | 3905 #include <stddef.h> |
3902 } | 3926 } |
3903 | 3927 |
3904 fi | 3928 fi |
3905 | 3929 |
3906 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3930 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3907 echo "configure:3908: checking for pid_t" >&5 | 3931 echo "configure:3932: checking for pid_t" >&5 |
3908 | 3932 |
3909 cat > conftest.$ac_ext <<EOF | 3933 cat > conftest.$ac_ext <<EOF |
3910 #line 3911 "configure" | 3934 #line 3935 "configure" |
3911 #include "confdefs.h" | 3935 #include "confdefs.h" |
3912 #include <sys/types.h> | 3936 #include <sys/types.h> |
3913 #if STDC_HEADERS | 3937 #if STDC_HEADERS |
3914 #include <stdlib.h> | 3938 #include <stdlib.h> |
3915 #include <stddef.h> | 3939 #include <stddef.h> |
3936 } | 3960 } |
3937 | 3961 |
3938 fi | 3962 fi |
3939 | 3963 |
3940 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3964 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3941 echo "configure:3942: checking for uid_t in sys/types.h" >&5 | 3965 echo "configure:3966: checking for uid_t in sys/types.h" >&5 |
3942 | 3966 |
3943 cat > conftest.$ac_ext <<EOF | 3967 cat > conftest.$ac_ext <<EOF |
3944 #line 3945 "configure" | 3968 #line 3969 "configure" |
3945 #include "confdefs.h" | 3969 #include "confdefs.h" |
3946 #include <sys/types.h> | 3970 #include <sys/types.h> |
3947 EOF | 3971 EOF |
3948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3949 egrep "uid_t" >/dev/null 2>&1; then | 3973 egrep "uid_t" >/dev/null 2>&1; then |
3975 } | 3999 } |
3976 | 4000 |
3977 fi | 4001 fi |
3978 | 4002 |
3979 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 4003 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3980 echo "configure:3981: checking for mode_t" >&5 | 4004 echo "configure:4005: checking for mode_t" >&5 |
3981 | 4005 |
3982 cat > conftest.$ac_ext <<EOF | 4006 cat > conftest.$ac_ext <<EOF |
3983 #line 3984 "configure" | 4007 #line 4008 "configure" |
3984 #include "confdefs.h" | 4008 #include "confdefs.h" |
3985 #include <sys/types.h> | 4009 #include <sys/types.h> |
3986 #if STDC_HEADERS | 4010 #if STDC_HEADERS |
3987 #include <stdlib.h> | 4011 #include <stdlib.h> |
3988 #include <stddef.h> | 4012 #include <stddef.h> |
4009 } | 4033 } |
4010 | 4034 |
4011 fi | 4035 fi |
4012 | 4036 |
4013 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 4037 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
4014 echo "configure:4015: checking for off_t" >&5 | 4038 echo "configure:4039: checking for off_t" >&5 |
4015 | 4039 |
4016 cat > conftest.$ac_ext <<EOF | 4040 cat > conftest.$ac_ext <<EOF |
4017 #line 4018 "configure" | 4041 #line 4042 "configure" |
4018 #include "confdefs.h" | 4042 #include "confdefs.h" |
4019 #include <sys/types.h> | 4043 #include <sys/types.h> |
4020 #if STDC_HEADERS | 4044 #if STDC_HEADERS |
4021 #include <stdlib.h> | 4045 #include <stdlib.h> |
4022 #include <stddef.h> | 4046 #include <stddef.h> |
4043 } | 4067 } |
4044 | 4068 |
4045 fi | 4069 fi |
4046 | 4070 |
4047 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4071 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4048 echo "configure:4049: checking for ssize_t" >&5 | 4072 echo "configure:4073: checking for ssize_t" >&5 |
4049 | 4073 |
4050 cat > conftest.$ac_ext <<EOF | 4074 cat > conftest.$ac_ext <<EOF |
4051 #line 4052 "configure" | 4075 #line 4076 "configure" |
4052 #include "confdefs.h" | 4076 #include "confdefs.h" |
4053 #include <sys/types.h> | 4077 #include <sys/types.h> |
4054 #if STDC_HEADERS | 4078 #if STDC_HEADERS |
4055 #include <stdlib.h> | 4079 #include <stdlib.h> |
4056 #include <stddef.h> | 4080 #include <stddef.h> |
4078 | 4102 |
4079 fi | 4103 fi |
4080 | 4104 |
4081 | 4105 |
4082 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4106 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4083 echo "configure:4084: checking for socklen_t" >&5 | 4107 echo "configure:4108: checking for socklen_t" >&5 |
4084 cat > conftest.$ac_ext <<EOF | 4108 cat > conftest.$ac_ext <<EOF |
4085 #line 4086 "configure" | 4109 #line 4110 "configure" |
4086 #include "confdefs.h" | 4110 #include "confdefs.h" |
4087 #include <sys/socket.h> | 4111 #include <sys/socket.h> |
4088 socklen_t x; | 4112 socklen_t x; |
4089 | 4113 |
4090 int main() { | 4114 int main() { |
4091 | 4115 |
4092 ; return 0; } | 4116 ; return 0; } |
4093 EOF | 4117 EOF |
4094 if { (eval echo configure:4095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4118 if { (eval echo configure:4119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4095 rm -rf conftest* | 4119 rm -rf conftest* |
4096 echo "$ac_t""yes" 1>&6 | 4120 echo "$ac_t""yes" 1>&6 |
4097 else | 4121 else |
4098 echo "configure: failed program was:" >&5 | 4122 echo "configure: failed program was:" >&5 |
4099 cat conftest.$ac_ext >&5 | 4123 cat conftest.$ac_ext >&5 |
4100 rm -rf conftest* | 4124 rm -rf conftest* |
4101 | 4125 |
4102 cat > conftest.$ac_ext <<EOF | 4126 cat > conftest.$ac_ext <<EOF |
4103 #line 4104 "configure" | 4127 #line 4128 "configure" |
4104 #include "confdefs.h" | 4128 #include "confdefs.h" |
4105 #include <sys/socket.h> | 4129 #include <sys/socket.h> |
4106 int accept (int, struct sockaddr *, size_t *); | 4130 int accept (int, struct sockaddr *, size_t *); |
4107 | 4131 |
4108 int main() { | 4132 int main() { |
4109 | 4133 |
4110 ; return 0; } | 4134 ; return 0; } |
4111 EOF | 4135 EOF |
4112 if { (eval echo configure:4113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4136 if { (eval echo configure:4137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4113 rm -rf conftest* | 4137 rm -rf conftest* |
4114 | 4138 |
4115 echo "$ac_t""size_t" 1>&6 | 4139 echo "$ac_t""size_t" 1>&6 |
4116 { test "$extra_verbose" = "yes" && cat << \EOF | 4140 { test "$extra_verbose" = "yes" && cat << \EOF |
4117 Defining socklen_t = size_t | 4141 Defining socklen_t = size_t |
4139 rm -f conftest* | 4163 rm -f conftest* |
4140 fi | 4164 fi |
4141 rm -f conftest* | 4165 rm -f conftest* |
4142 | 4166 |
4143 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4167 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4144 echo "configure:4145: checking for struct timeval" >&5 | 4168 echo "configure:4169: checking for struct timeval" >&5 |
4145 cat > conftest.$ac_ext <<EOF | 4169 cat > conftest.$ac_ext <<EOF |
4146 #line 4147 "configure" | 4170 #line 4171 "configure" |
4147 #include "confdefs.h" | 4171 #include "confdefs.h" |
4148 #ifdef TIME_WITH_SYS_TIME | 4172 #ifdef TIME_WITH_SYS_TIME |
4149 #include <sys/time.h> | 4173 #include <sys/time.h> |
4150 #include <time.h> | 4174 #include <time.h> |
4151 #else | 4175 #else |
4157 #endif | 4181 #endif |
4158 int main() { | 4182 int main() { |
4159 static struct timeval x; x.tv_sec = x.tv_usec; | 4183 static struct timeval x; x.tv_sec = x.tv_usec; |
4160 ; return 0; } | 4184 ; return 0; } |
4161 EOF | 4185 EOF |
4162 if { (eval echo configure:4163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4186 if { (eval echo configure:4187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4163 rm -rf conftest* | 4187 rm -rf conftest* |
4164 echo "$ac_t""yes" 1>&6 | 4188 echo "$ac_t""yes" 1>&6 |
4165 HAVE_TIMEVAL=yes | 4189 HAVE_TIMEVAL=yes |
4166 { test "$extra_verbose" = "yes" && cat << \EOF | 4190 { test "$extra_verbose" = "yes" && cat << \EOF |
4167 Defining HAVE_TIMEVAL | 4191 Defining HAVE_TIMEVAL |
4179 HAVE_TIMEVAL=no | 4203 HAVE_TIMEVAL=no |
4180 fi | 4204 fi |
4181 rm -f conftest* | 4205 rm -f conftest* |
4182 | 4206 |
4183 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4207 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4184 echo "configure:4185: checking whether struct tm is in sys/time.h or time.h" >&5 | 4208 echo "configure:4209: checking whether struct tm is in sys/time.h or time.h" >&5 |
4185 | 4209 |
4186 cat > conftest.$ac_ext <<EOF | 4210 cat > conftest.$ac_ext <<EOF |
4187 #line 4188 "configure" | 4211 #line 4212 "configure" |
4188 #include "confdefs.h" | 4212 #include "confdefs.h" |
4189 #include <sys/types.h> | 4213 #include <sys/types.h> |
4190 #include <time.h> | 4214 #include <time.h> |
4191 int main() { | 4215 int main() { |
4192 struct tm *tp; tp->tm_sec; | 4216 struct tm *tp; tp->tm_sec; |
4193 ; return 0; } | 4217 ; return 0; } |
4194 EOF | 4218 EOF |
4195 if { (eval echo configure:4196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4219 if { (eval echo configure:4220: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4196 rm -rf conftest* | 4220 rm -rf conftest* |
4197 ac_cv_struct_tm=time.h | 4221 ac_cv_struct_tm=time.h |
4198 else | 4222 else |
4199 echo "configure: failed program was:" >&5 | 4223 echo "configure: failed program was:" >&5 |
4200 cat conftest.$ac_ext >&5 | 4224 cat conftest.$ac_ext >&5 |
4214 } | 4238 } |
4215 | 4239 |
4216 fi | 4240 fi |
4217 | 4241 |
4218 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4242 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4219 echo "configure:4220: checking for tm_zone in struct tm" >&5 | 4243 echo "configure:4244: checking for tm_zone in struct tm" >&5 |
4220 | 4244 |
4221 cat > conftest.$ac_ext <<EOF | 4245 cat > conftest.$ac_ext <<EOF |
4222 #line 4223 "configure" | 4246 #line 4247 "configure" |
4223 #include "confdefs.h" | 4247 #include "confdefs.h" |
4224 #include <sys/types.h> | 4248 #include <sys/types.h> |
4225 #include <$ac_cv_struct_tm> | 4249 #include <$ac_cv_struct_tm> |
4226 int main() { | 4250 int main() { |
4227 struct tm tm; tm.tm_zone; | 4251 struct tm tm; tm.tm_zone; |
4228 ; return 0; } | 4252 ; return 0; } |
4229 EOF | 4253 EOF |
4230 if { (eval echo configure:4231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4254 if { (eval echo configure:4255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4231 rm -rf conftest* | 4255 rm -rf conftest* |
4232 ac_cv_struct_tm_zone=yes | 4256 ac_cv_struct_tm_zone=yes |
4233 else | 4257 else |
4234 echo "configure: failed program was:" >&5 | 4258 echo "configure: failed program was:" >&5 |
4235 cat conftest.$ac_ext >&5 | 4259 cat conftest.$ac_ext >&5 |
4248 EOF | 4272 EOF |
4249 } | 4273 } |
4250 | 4274 |
4251 else | 4275 else |
4252 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4276 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4253 echo "configure:4254: checking for tzname" >&5 | 4277 echo "configure:4278: checking for tzname" >&5 |
4254 | 4278 |
4255 cat > conftest.$ac_ext <<EOF | 4279 cat > conftest.$ac_ext <<EOF |
4256 #line 4257 "configure" | 4280 #line 4281 "configure" |
4257 #include "confdefs.h" | 4281 #include "confdefs.h" |
4258 #include <time.h> | 4282 #include <time.h> |
4259 #ifndef tzname /* For SGI. */ | 4283 #ifndef tzname /* For SGI. */ |
4260 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4284 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4261 #endif | 4285 #endif |
4262 int main() { | 4286 int main() { |
4263 atoi(*tzname); | 4287 atoi(*tzname); |
4264 ; return 0; } | 4288 ; return 0; } |
4265 EOF | 4289 EOF |
4266 if { (eval echo configure:4267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4290 if { (eval echo configure:4291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4267 rm -rf conftest* | 4291 rm -rf conftest* |
4268 ac_cv_var_tzname=yes | 4292 ac_cv_var_tzname=yes |
4269 else | 4293 else |
4270 echo "configure: failed program was:" >&5 | 4294 echo "configure: failed program was:" >&5 |
4271 cat conftest.$ac_ext >&5 | 4295 cat conftest.$ac_ext >&5 |
4287 fi | 4311 fi |
4288 fi | 4312 fi |
4289 | 4313 |
4290 | 4314 |
4291 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4315 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4292 echo "configure:4293: checking for working const" >&5 | 4316 echo "configure:4317: checking for working const" >&5 |
4293 | 4317 |
4294 cat > conftest.$ac_ext <<EOF | 4318 cat > conftest.$ac_ext <<EOF |
4295 #line 4296 "configure" | 4319 #line 4320 "configure" |
4296 #include "confdefs.h" | 4320 #include "confdefs.h" |
4297 | 4321 |
4298 int main() { | 4322 int main() { |
4299 | 4323 |
4300 /* Ultrix mips cc rejects this. */ | 4324 /* Ultrix mips cc rejects this. */ |
4339 const int foo = 10; | 4363 const int foo = 10; |
4340 } | 4364 } |
4341 | 4365 |
4342 ; return 0; } | 4366 ; return 0; } |
4343 EOF | 4367 EOF |
4344 if { (eval echo configure:4345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4368 if { (eval echo configure:4369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4345 rm -rf conftest* | 4369 rm -rf conftest* |
4346 ac_cv_c_const=yes | 4370 ac_cv_c_const=yes |
4347 else | 4371 else |
4348 echo "configure: failed program was:" >&5 | 4372 echo "configure: failed program was:" >&5 |
4349 cat conftest.$ac_ext >&5 | 4373 cat conftest.$ac_ext >&5 |
4364 | 4388 |
4365 fi | 4389 fi |
4366 | 4390 |
4367 | 4391 |
4368 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4392 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4369 echo "configure:4370: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4393 echo "configure:4394: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4370 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4394 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4371 | 4395 |
4372 cat > conftestmake <<\EOF | 4396 cat > conftestmake <<\EOF |
4373 all: | 4397 all: |
4374 @echo 'ac_maketemp="${MAKE}"' | 4398 @echo 'ac_maketemp="${MAKE}"' |
4389 SET_MAKE="MAKE=${MAKE-make}" | 4413 SET_MAKE="MAKE=${MAKE-make}" |
4390 fi | 4414 fi |
4391 | 4415 |
4392 | 4416 |
4393 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4417 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4394 echo "configure:4395: checking whether byte ordering is bigendian" >&5 | 4418 echo "configure:4419: checking whether byte ordering is bigendian" >&5 |
4395 | 4419 |
4396 ac_cv_c_bigendian=unknown | 4420 ac_cv_c_bigendian=unknown |
4397 # See if sys/param.h defines the BYTE_ORDER macro. | 4421 # See if sys/param.h defines the BYTE_ORDER macro. |
4398 cat > conftest.$ac_ext <<EOF | 4422 cat > conftest.$ac_ext <<EOF |
4399 #line 4400 "configure" | 4423 #line 4424 "configure" |
4400 #include "confdefs.h" | 4424 #include "confdefs.h" |
4401 #include <sys/types.h> | 4425 #include <sys/types.h> |
4402 #include <sys/param.h> | 4426 #include <sys/param.h> |
4403 int main() { | 4427 int main() { |
4404 | 4428 |
4405 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4429 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4406 bogus endian macros | 4430 bogus endian macros |
4407 #endif | 4431 #endif |
4408 ; return 0; } | 4432 ; return 0; } |
4409 EOF | 4433 EOF |
4410 if { (eval echo configure:4411: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4434 if { (eval echo configure:4435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4411 rm -rf conftest* | 4435 rm -rf conftest* |
4412 # It does; now see whether it defined to BIG_ENDIAN or not. | 4436 # It does; now see whether it defined to BIG_ENDIAN or not. |
4413 cat > conftest.$ac_ext <<EOF | 4437 cat > conftest.$ac_ext <<EOF |
4414 #line 4415 "configure" | 4438 #line 4439 "configure" |
4415 #include "confdefs.h" | 4439 #include "confdefs.h" |
4416 #include <sys/types.h> | 4440 #include <sys/types.h> |
4417 #include <sys/param.h> | 4441 #include <sys/param.h> |
4418 int main() { | 4442 int main() { |
4419 | 4443 |
4420 #if BYTE_ORDER != BIG_ENDIAN | 4444 #if BYTE_ORDER != BIG_ENDIAN |
4421 not big endian | 4445 not big endian |
4422 #endif | 4446 #endif |
4423 ; return 0; } | 4447 ; return 0; } |
4424 EOF | 4448 EOF |
4425 if { (eval echo configure:4426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4449 if { (eval echo configure:4450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4426 rm -rf conftest* | 4450 rm -rf conftest* |
4427 ac_cv_c_bigendian=yes | 4451 ac_cv_c_bigendian=yes |
4428 else | 4452 else |
4429 echo "configure: failed program was:" >&5 | 4453 echo "configure: failed program was:" >&5 |
4430 cat conftest.$ac_ext >&5 | 4454 cat conftest.$ac_ext >&5 |
4437 cat conftest.$ac_ext >&5 | 4461 cat conftest.$ac_ext >&5 |
4438 fi | 4462 fi |
4439 rm -f conftest* | 4463 rm -f conftest* |
4440 if test $ac_cv_c_bigendian = unknown; then | 4464 if test $ac_cv_c_bigendian = unknown; then |
4441 cat > conftest.$ac_ext <<EOF | 4465 cat > conftest.$ac_ext <<EOF |
4442 #line 4443 "configure" | 4466 #line 4467 "configure" |
4443 #include "confdefs.h" | 4467 #include "confdefs.h" |
4444 main () { | 4468 main () { |
4445 /* Are we little or big endian? From Harbison&Steele. */ | 4469 /* Are we little or big endian? From Harbison&Steele. */ |
4446 union | 4470 union |
4447 { | 4471 { |
4450 } u; | 4474 } u; |
4451 u.l = 1; | 4475 u.l = 1; |
4452 exit (u.c[sizeof (long) - 1] == 1); | 4476 exit (u.c[sizeof (long) - 1] == 1); |
4453 } | 4477 } |
4454 EOF | 4478 EOF |
4455 if { (eval echo configure:4456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4479 if { (eval echo configure:4480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4456 then | 4480 then |
4457 ac_cv_c_bigendian=no | 4481 ac_cv_c_bigendian=no |
4458 else | 4482 else |
4459 conftest_rc="$?" | 4483 conftest_rc="$?" |
4460 echo "configure: failed program was:" >&5 | 4484 echo "configure: failed program was:" >&5 |
4477 | 4501 |
4478 fi | 4502 fi |
4479 | 4503 |
4480 | 4504 |
4481 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4505 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4482 echo "configure:4483: checking size of short" >&5 | 4506 echo "configure:4507: checking size of short" >&5 |
4483 | 4507 |
4484 cat > conftest.$ac_ext <<EOF | 4508 cat > conftest.$ac_ext <<EOF |
4485 #line 4486 "configure" | 4509 #line 4510 "configure" |
4486 #include "confdefs.h" | 4510 #include "confdefs.h" |
4487 #include <stdio.h> | 4511 #include <stdio.h> |
4488 main() | 4512 main() |
4489 { | 4513 { |
4490 FILE *f=fopen("conftestval", "w"); | 4514 FILE *f=fopen("conftestval", "w"); |
4491 if (!f) exit(1); | 4515 if (!f) exit(1); |
4492 fprintf(f, "%d\n", sizeof(short)); | 4516 fprintf(f, "%d\n", sizeof(short)); |
4493 exit(0); | 4517 exit(0); |
4494 } | 4518 } |
4495 EOF | 4519 EOF |
4496 if { (eval echo configure:4497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4520 if { (eval echo configure:4521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4497 then | 4521 then |
4498 ac_cv_sizeof_short=`cat conftestval` | 4522 ac_cv_sizeof_short=`cat conftestval` |
4499 else | 4523 else |
4500 conftest_rc="$?" | 4524 conftest_rc="$?" |
4501 echo "configure: failed program was:" >&5 | 4525 echo "configure: failed program was:" >&5 |
4519 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4543 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4520 echo "*** PANIC *** Please examine config.log for compilation errors." | 4544 echo "*** PANIC *** Please examine config.log for compilation errors." |
4521 exit 1 | 4545 exit 1 |
4522 fi | 4546 fi |
4523 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4547 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4524 echo "configure:4525: checking size of int" >&5 | 4548 echo "configure:4549: checking size of int" >&5 |
4525 | 4549 |
4526 cat > conftest.$ac_ext <<EOF | 4550 cat > conftest.$ac_ext <<EOF |
4527 #line 4528 "configure" | 4551 #line 4552 "configure" |
4528 #include "confdefs.h" | 4552 #include "confdefs.h" |
4529 #include <stdio.h> | 4553 #include <stdio.h> |
4530 main() | 4554 main() |
4531 { | 4555 { |
4532 FILE *f=fopen("conftestval", "w"); | 4556 FILE *f=fopen("conftestval", "w"); |
4533 if (!f) exit(1); | 4557 if (!f) exit(1); |
4534 fprintf(f, "%d\n", sizeof(int)); | 4558 fprintf(f, "%d\n", sizeof(int)); |
4535 exit(0); | 4559 exit(0); |
4536 } | 4560 } |
4537 EOF | 4561 EOF |
4538 if { (eval echo configure:4539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4562 if { (eval echo configure:4563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4539 then | 4563 then |
4540 ac_cv_sizeof_int=`cat conftestval` | 4564 ac_cv_sizeof_int=`cat conftestval` |
4541 else | 4565 else |
4542 conftest_rc="$?" | 4566 conftest_rc="$?" |
4543 echo "configure: failed program was:" >&5 | 4567 echo "configure: failed program was:" >&5 |
4555 EOF | 4579 EOF |
4556 } | 4580 } |
4557 | 4581 |
4558 | 4582 |
4559 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4583 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4560 echo "configure:4561: checking size of long" >&5 | 4584 echo "configure:4585: checking size of long" >&5 |
4561 | 4585 |
4562 cat > conftest.$ac_ext <<EOF | 4586 cat > conftest.$ac_ext <<EOF |
4563 #line 4564 "configure" | 4587 #line 4588 "configure" |
4564 #include "confdefs.h" | 4588 #include "confdefs.h" |
4565 #include <stdio.h> | 4589 #include <stdio.h> |
4566 main() | 4590 main() |
4567 { | 4591 { |
4568 FILE *f=fopen("conftestval", "w"); | 4592 FILE *f=fopen("conftestval", "w"); |
4569 if (!f) exit(1); | 4593 if (!f) exit(1); |
4570 fprintf(f, "%d\n", sizeof(long)); | 4594 fprintf(f, "%d\n", sizeof(long)); |
4571 exit(0); | 4595 exit(0); |
4572 } | 4596 } |
4573 EOF | 4597 EOF |
4574 if { (eval echo configure:4575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4598 if { (eval echo configure:4599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4575 then | 4599 then |
4576 ac_cv_sizeof_long=`cat conftestval` | 4600 ac_cv_sizeof_long=`cat conftestval` |
4577 else | 4601 else |
4578 conftest_rc="$?" | 4602 conftest_rc="$?" |
4579 echo "configure: failed program was:" >&5 | 4603 echo "configure: failed program was:" >&5 |
4591 EOF | 4615 EOF |
4592 } | 4616 } |
4593 | 4617 |
4594 | 4618 |
4595 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4619 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4596 echo "configure:4597: checking size of long long" >&5 | 4620 echo "configure:4621: checking size of long long" >&5 |
4597 | 4621 |
4598 cat > conftest.$ac_ext <<EOF | 4622 cat > conftest.$ac_ext <<EOF |
4599 #line 4600 "configure" | 4623 #line 4624 "configure" |
4600 #include "confdefs.h" | 4624 #include "confdefs.h" |
4601 #include <stdio.h> | 4625 #include <stdio.h> |
4602 main() | 4626 main() |
4603 { | 4627 { |
4604 FILE *f=fopen("conftestval", "w"); | 4628 FILE *f=fopen("conftestval", "w"); |
4605 if (!f) exit(1); | 4629 if (!f) exit(1); |
4606 fprintf(f, "%d\n", sizeof(long long)); | 4630 fprintf(f, "%d\n", sizeof(long long)); |
4607 exit(0); | 4631 exit(0); |
4608 } | 4632 } |
4609 EOF | 4633 EOF |
4610 if { (eval echo configure:4611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4634 if { (eval echo configure:4635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4611 then | 4635 then |
4612 ac_cv_sizeof_long_long=`cat conftestval` | 4636 ac_cv_sizeof_long_long=`cat conftestval` |
4613 else | 4637 else |
4614 conftest_rc="$?" | 4638 conftest_rc="$?" |
4615 echo "configure: failed program was:" >&5 | 4639 echo "configure: failed program was:" >&5 |
4627 EOF | 4651 EOF |
4628 } | 4652 } |
4629 | 4653 |
4630 | 4654 |
4631 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4655 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4632 echo "configure:4633: checking size of void *" >&5 | 4656 echo "configure:4657: checking size of void *" >&5 |
4633 | 4657 |
4634 cat > conftest.$ac_ext <<EOF | 4658 cat > conftest.$ac_ext <<EOF |
4635 #line 4636 "configure" | 4659 #line 4660 "configure" |
4636 #include "confdefs.h" | 4660 #include "confdefs.h" |
4637 #include <stdio.h> | 4661 #include <stdio.h> |
4638 main() | 4662 main() |
4639 { | 4663 { |
4640 FILE *f=fopen("conftestval", "w"); | 4664 FILE *f=fopen("conftestval", "w"); |
4641 if (!f) exit(1); | 4665 if (!f) exit(1); |
4642 fprintf(f, "%d\n", sizeof(void *)); | 4666 fprintf(f, "%d\n", sizeof(void *)); |
4643 exit(0); | 4667 exit(0); |
4644 } | 4668 } |
4645 EOF | 4669 EOF |
4646 if { (eval echo configure:4647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4670 if { (eval echo configure:4671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4647 then | 4671 then |
4648 ac_cv_sizeof_void_p=`cat conftestval` | 4672 ac_cv_sizeof_void_p=`cat conftestval` |
4649 else | 4673 else |
4650 conftest_rc="$?" | 4674 conftest_rc="$?" |
4651 echo "configure: failed program was:" >&5 | 4675 echo "configure: failed program was:" >&5 |
4664 } | 4688 } |
4665 | 4689 |
4666 | 4690 |
4667 | 4691 |
4668 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4692 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4669 echo "configure:4670: checking for long file names" >&5 | 4693 echo "configure:4694: checking for long file names" >&5 |
4670 | 4694 |
4671 ac_cv_sys_long_file_names=yes | 4695 ac_cv_sys_long_file_names=yes |
4672 # Test for long file names in all the places we know might matter: | 4696 # Test for long file names in all the places we know might matter: |
4673 # . the current directory, where building will happen | 4697 # . the current directory, where building will happen |
4674 # $prefix/lib where we will be installing things | 4698 # $prefix/lib where we will be installing things |
4710 | 4734 |
4711 fi | 4735 fi |
4712 | 4736 |
4713 | 4737 |
4714 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4738 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4715 echo "configure:4716: checking for sin" >&5 | 4739 echo "configure:4740: checking for sin" >&5 |
4716 | 4740 |
4717 cat > conftest.$ac_ext <<EOF | 4741 cat > conftest.$ac_ext <<EOF |
4718 #line 4719 "configure" | 4742 #line 4743 "configure" |
4719 #include "confdefs.h" | 4743 #include "confdefs.h" |
4720 /* System header to define __stub macros and hopefully few prototypes, | 4744 /* System header to define __stub macros and hopefully few prototypes, |
4721 which can conflict with char sin(); below. */ | 4745 which can conflict with char sin(); below. */ |
4722 #include <assert.h> | 4746 #include <assert.h> |
4723 /* Override any gcc2 internal prototype to avoid an error. */ | 4747 /* Override any gcc2 internal prototype to avoid an error. */ |
4736 sin(); | 4760 sin(); |
4737 #endif | 4761 #endif |
4738 | 4762 |
4739 ; return 0; } | 4763 ; return 0; } |
4740 EOF | 4764 EOF |
4741 if { (eval echo configure:4742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4765 if { (eval echo configure:4766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4742 rm -rf conftest* | 4766 rm -rf conftest* |
4743 eval "ac_cv_func_sin=yes" | 4767 eval "ac_cv_func_sin=yes" |
4744 else | 4768 else |
4745 echo "configure: failed program was:" >&5 | 4769 echo "configure: failed program was:" >&5 |
4746 cat conftest.$ac_ext >&5 | 4770 cat conftest.$ac_ext >&5 |
4754 : | 4778 : |
4755 else | 4779 else |
4756 echo "$ac_t""no" 1>&6 | 4780 echo "$ac_t""no" 1>&6 |
4757 | 4781 |
4758 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4782 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4759 echo "configure:4760: checking for sin in -lm" >&5 | 4783 echo "configure:4784: checking for sin in -lm" >&5 |
4760 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4784 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4761 | 4785 |
4762 xe_check_libs=" -lm " | 4786 xe_check_libs=" -lm " |
4763 cat > conftest.$ac_ext <<EOF | 4787 cat > conftest.$ac_ext <<EOF |
4764 #line 4765 "configure" | 4788 #line 4789 "configure" |
4765 #include "confdefs.h" | 4789 #include "confdefs.h" |
4766 /* Override any gcc2 internal prototype to avoid an error. */ | 4790 /* Override any gcc2 internal prototype to avoid an error. */ |
4767 /* We use char because int might match the return type of a gcc2 | 4791 /* We use char because int might match the return type of a gcc2 |
4768 builtin and then its argument prototype would still apply. */ | 4792 builtin and then its argument prototype would still apply. */ |
4769 char sin(); | 4793 char sin(); |
4770 | 4794 |
4771 int main() { | 4795 int main() { |
4772 sin() | 4796 sin() |
4773 ; return 0; } | 4797 ; return 0; } |
4774 EOF | 4798 EOF |
4775 if { (eval echo configure:4776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4799 if { (eval echo configure:4800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4776 rm -rf conftest* | 4800 rm -rf conftest* |
4777 eval "ac_cv_lib_$ac_lib_var=yes" | 4801 eval "ac_cv_lib_$ac_lib_var=yes" |
4778 else | 4802 else |
4779 echo "configure: failed program was:" >&5 | 4803 echo "configure: failed program was:" >&5 |
4780 cat conftest.$ac_ext >&5 | 4804 cat conftest.$ac_ext >&5 |
4814 EOF | 4838 EOF |
4815 } | 4839 } |
4816 | 4840 |
4817 | 4841 |
4818 cat > conftest.$ac_ext <<EOF | 4842 cat > conftest.$ac_ext <<EOF |
4819 #line 4820 "configure" | 4843 #line 4844 "configure" |
4820 #include "confdefs.h" | 4844 #include "confdefs.h" |
4821 #include <math.h> | 4845 #include <math.h> |
4822 int main() { | 4846 int main() { |
4823 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4847 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4824 ; return 0; } | 4848 ; return 0; } |
4825 EOF | 4849 EOF |
4826 if { (eval echo configure:4827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4850 if { (eval echo configure:4851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4827 rm -rf conftest* | 4851 rm -rf conftest* |
4828 { test "$extra_verbose" = "yes" && cat << \EOF | 4852 { test "$extra_verbose" = "yes" && cat << \EOF |
4829 Defining HAVE_INVERSE_HYPERBOLIC | 4853 Defining HAVE_INVERSE_HYPERBOLIC |
4830 EOF | 4854 EOF |
4831 cat >> confdefs.h <<\EOF | 4855 cat >> confdefs.h <<\EOF |
4840 rm -f conftest* | 4864 rm -f conftest* |
4841 | 4865 |
4842 for ac_func in mkstemp | 4866 for ac_func in mkstemp |
4843 do | 4867 do |
4844 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4868 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4845 echo "configure:4846: checking for $ac_func" >&5 | 4869 echo "configure:4870: checking for $ac_func" >&5 |
4846 | 4870 |
4847 cat > conftest.$ac_ext <<EOF | 4871 cat > conftest.$ac_ext <<EOF |
4848 #line 4849 "configure" | 4872 #line 4873 "configure" |
4849 #include "confdefs.h" | 4873 #include "confdefs.h" |
4850 /* System header to define __stub macros and hopefully few prototypes, | 4874 /* System header to define __stub macros and hopefully few prototypes, |
4851 which can conflict with char $ac_func(); below. */ | 4875 which can conflict with char $ac_func(); below. */ |
4852 #include <assert.h> | 4876 #include <assert.h> |
4853 /* Override any gcc2 internal prototype to avoid an error. */ | 4877 /* Override any gcc2 internal prototype to avoid an error. */ |
4866 $ac_func(); | 4890 $ac_func(); |
4867 #endif | 4891 #endif |
4868 | 4892 |
4869 ; return 0; } | 4893 ; return 0; } |
4870 EOF | 4894 EOF |
4871 if { (eval echo configure:4872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4895 if { (eval echo configure:4896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4872 rm -rf conftest* | 4896 rm -rf conftest* |
4873 eval "ac_cv_func_$ac_func=yes" | 4897 eval "ac_cv_func_$ac_func=yes" |
4874 else | 4898 else |
4875 echo "configure: failed program was:" >&5 | 4899 echo "configure: failed program was:" >&5 |
4876 cat conftest.$ac_ext >&5 | 4900 cat conftest.$ac_ext >&5 |
4895 fi | 4919 fi |
4896 done | 4920 done |
4897 | 4921 |
4898 | 4922 |
4899 echo "checking type of mail spool file locking" 1>&6 | 4923 echo "checking type of mail spool file locking" 1>&6 |
4900 echo "configure:4901: checking type of mail spool file locking" >&5 | 4924 echo "configure:4925: checking type of mail spool file locking" >&5 |
4901 for ac_func in lockf flock | 4925 for ac_func in lockf flock |
4902 do | 4926 do |
4903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4904 echo "configure:4905: checking for $ac_func" >&5 | 4928 echo "configure:4929: checking for $ac_func" >&5 |
4905 | 4929 |
4906 cat > conftest.$ac_ext <<EOF | 4930 cat > conftest.$ac_ext <<EOF |
4907 #line 4908 "configure" | 4931 #line 4932 "configure" |
4908 #include "confdefs.h" | 4932 #include "confdefs.h" |
4909 /* System header to define __stub macros and hopefully few prototypes, | 4933 /* System header to define __stub macros and hopefully few prototypes, |
4910 which can conflict with char $ac_func(); below. */ | 4934 which can conflict with char $ac_func(); below. */ |
4911 #include <assert.h> | 4935 #include <assert.h> |
4912 /* Override any gcc2 internal prototype to avoid an error. */ | 4936 /* Override any gcc2 internal prototype to avoid an error. */ |
4925 $ac_func(); | 4949 $ac_func(); |
4926 #endif | 4950 #endif |
4927 | 4951 |
4928 ; return 0; } | 4952 ; return 0; } |
4929 EOF | 4953 EOF |
4930 if { (eval echo configure:4931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4954 if { (eval echo configure:4955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4931 rm -rf conftest* | 4955 rm -rf conftest* |
4932 eval "ac_cv_func_$ac_func=yes" | 4956 eval "ac_cv_func_$ac_func=yes" |
4933 else | 4957 else |
4934 echo "configure: failed program was:" >&5 | 4958 echo "configure: failed program was:" >&5 |
4935 cat conftest.$ac_ext >&5 | 4959 cat conftest.$ac_ext >&5 |
5007 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5031 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5008 | 5032 |
5009 case "$opsys" in decosf*) | 5033 case "$opsys" in decosf*) |
5010 | 5034 |
5011 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5035 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5012 echo "configure:5013: checking for cma_open in -lpthreads" >&5 | 5036 echo "configure:5037: checking for cma_open in -lpthreads" >&5 |
5013 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5037 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5014 | 5038 |
5015 xe_check_libs=" -lpthreads " | 5039 xe_check_libs=" -lpthreads " |
5016 cat > conftest.$ac_ext <<EOF | 5040 cat > conftest.$ac_ext <<EOF |
5017 #line 5018 "configure" | 5041 #line 5042 "configure" |
5018 #include "confdefs.h" | 5042 #include "confdefs.h" |
5019 /* Override any gcc2 internal prototype to avoid an error. */ | 5043 /* Override any gcc2 internal prototype to avoid an error. */ |
5020 /* We use char because int might match the return type of a gcc2 | 5044 /* We use char because int might match the return type of a gcc2 |
5021 builtin and then its argument prototype would still apply. */ | 5045 builtin and then its argument prototype would still apply. */ |
5022 char cma_open(); | 5046 char cma_open(); |
5023 | 5047 |
5024 int main() { | 5048 int main() { |
5025 cma_open() | 5049 cma_open() |
5026 ; return 0; } | 5050 ; return 0; } |
5027 EOF | 5051 EOF |
5028 if { (eval echo configure:5029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5052 if { (eval echo configure:5053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5029 rm -rf conftest* | 5053 rm -rf conftest* |
5030 eval "ac_cv_lib_$ac_lib_var=yes" | 5054 eval "ac_cv_lib_$ac_lib_var=yes" |
5031 else | 5055 else |
5032 echo "configure: failed program was:" >&5 | 5056 echo "configure: failed program was:" >&5 |
5033 cat conftest.$ac_ext >&5 | 5057 cat conftest.$ac_ext >&5 |
5060 c_switch_site="$c_switch_site -threads" ;; | 5084 c_switch_site="$c_switch_site -threads" ;; |
5061 esac | 5085 esac |
5062 | 5086 |
5063 | 5087 |
5064 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5088 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5065 echo "configure:5066: checking whether the -xildoff compiler flag is required" >&5 | 5089 echo "configure:5090: checking whether the -xildoff compiler flag is required" >&5 |
5066 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5090 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5067 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5091 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5068 then echo "$ac_t""no" 1>&6; | 5092 then echo "$ac_t""no" 1>&6; |
5069 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi | 5093 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi |
5070 fi | 5094 fi |
5072 fi | 5096 fi |
5073 | 5097 |
5074 if test "$opsys" = "sol2"; then | 5098 if test "$opsys" = "sol2"; then |
5075 if test "$os_release" -ge 56; then | 5099 if test "$os_release" -ge 56; then |
5076 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5100 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5077 echo "configure:5078: checking for \"-z ignore\" linker flag" >&5 | 5101 echo "configure:5102: checking for \"-z ignore\" linker flag" >&5 |
5078 case "`ld -h 2>&1`" in | 5102 case "`ld -h 2>&1`" in |
5079 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5103 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5080 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5104 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5081 *) echo "$ac_t""no" 1>&6 ;; | 5105 *) echo "$ac_t""no" 1>&6 ;; |
5082 esac | 5106 esac |
5083 fi | 5107 fi |
5084 fi | 5108 fi |
5085 | 5109 |
5086 if test "$pdump" != "yes"; then | |
5087 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | |
5088 echo "configure:5089: checking for \"-z nocombreloc\" linker flag" >&5 | |
5089 case "`ld --help 2>&1`" in | |
5090 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | |
5091 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | |
5092 *) echo "$ac_t""no" 1>&6 ;; | |
5093 esac | |
5094 fi | |
5095 | |
5096 | 5110 |
5097 echo "checking "for specified window system"" 1>&6 | 5111 echo "checking "for specified window system"" 1>&6 |
5098 echo "configure:5099: checking "for specified window system"" >&5 | 5112 echo "configure:5113: checking "for specified window system"" >&5 |
5099 | 5113 |
5100 | 5114 |
5101 GNOME_CONFIG=no | 5115 GNOME_CONFIG=no |
5102 GTK_CONFIG=no | 5116 GTK_CONFIG=no |
5103 | 5117 |
5104 if test "$with_gnome" != "no"; then | 5118 if test "$with_gnome" != "no"; then |
5105 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5119 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5106 echo "configure:5107: checking for GNOME configuration script" >&5 | 5120 echo "configure:5121: checking for GNOME configuration script" >&5 |
5107 for possible in gnome-config | 5121 for possible in gnome-config |
5108 do | 5122 do |
5109 possible_version=`${possible} --version 2> /dev/null` | 5123 possible_version=`${possible} --version 2> /dev/null` |
5110 if test "x${possible_version}" != "x"; then | 5124 if test "x${possible_version}" != "x"; then |
5111 GNOME_CONFIG="${possible}" | 5125 GNOME_CONFIG="${possible}" |
5132 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5146 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5133 fi | 5147 fi |
5134 | 5148 |
5135 if test "$with_gtk" != "no";then | 5149 if test "$with_gtk" != "no";then |
5136 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5150 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5137 echo "configure:5138: checking for GTK configuration script" >&5 | 5151 echo "configure:5152: checking for GTK configuration script" >&5 |
5138 for possible in gtk12-config gtk14-config gtk-config | 5152 for possible in gtk12-config gtk14-config gtk-config |
5139 do | 5153 do |
5140 possible_version=`${possible} --version 2> /dev/null` | 5154 possible_version=`${possible} --version 2> /dev/null` |
5141 if test "x${possible_version}" != "x"; then | 5155 if test "x${possible_version}" != "x"; then |
5142 GTK_CONFIG="${possible}" | 5156 GTK_CONFIG="${possible}" |
5154 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5168 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5155 fi | 5169 fi |
5156 | 5170 |
5157 if test "${GTK_CONFIG}" != "no"; then | 5171 if test "${GTK_CONFIG}" != "no"; then |
5158 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5172 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5159 echo "configure:5160: checking gtk version" >&5 | 5173 echo "configure:5174: checking gtk version" >&5 |
5160 GTK_VERSION=`${GTK_CONFIG} --version` | 5174 GTK_VERSION=`${GTK_CONFIG} --version` |
5161 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5175 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5162 | 5176 |
5163 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5177 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5164 echo "configure:5165: checking gtk libs" >&5 | 5178 echo "configure:5179: checking gtk libs" >&5 |
5165 GTK_LIBS=`${GTK_CONFIG} --libs` | 5179 GTK_LIBS=`${GTK_CONFIG} --libs` |
5166 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5180 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5167 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5181 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5168 | 5182 |
5169 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5183 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5170 echo "configure:5171: checking gtk cflags" >&5 | 5184 echo "configure:5185: checking gtk cflags" >&5 |
5171 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5185 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5172 if test "$GCC" = "yes"; then | 5186 if test "$GCC" = "yes"; then |
5173 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5187 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5174 fi | 5188 fi |
5175 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5189 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5176 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5190 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5177 | 5191 |
5178 | 5192 |
5179 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5193 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5180 echo "configure:5181: checking for main in -lgdk_imlib" >&5 | 5194 echo "configure:5195: checking for main in -lgdk_imlib" >&5 |
5181 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5195 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5182 | 5196 |
5183 xe_check_libs=" -lgdk_imlib " | 5197 xe_check_libs=" -lgdk_imlib " |
5184 cat > conftest.$ac_ext <<EOF | 5198 cat > conftest.$ac_ext <<EOF |
5185 #line 5186 "configure" | 5199 #line 5200 "configure" |
5186 #include "confdefs.h" | 5200 #include "confdefs.h" |
5187 | 5201 |
5188 int main() { | 5202 int main() { |
5189 main() | 5203 main() |
5190 ; return 0; } | 5204 ; return 0; } |
5191 EOF | 5205 EOF |
5192 if { (eval echo configure:5193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5206 if { (eval echo configure:5207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5193 rm -rf conftest* | 5207 rm -rf conftest* |
5194 eval "ac_cv_lib_$ac_lib_var=yes" | 5208 eval "ac_cv_lib_$ac_lib_var=yes" |
5195 else | 5209 else |
5196 echo "configure: failed program was:" >&5 | 5210 echo "configure: failed program was:" >&5 |
5197 cat conftest.$ac_ext >&5 | 5211 cat conftest.$ac_ext >&5 |
5209 fi | 5223 fi |
5210 | 5224 |
5211 | 5225 |
5212 | 5226 |
5213 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5227 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5214 echo "configure:5215: checking for Imlib_init in -lImlib" >&5 | 5228 echo "configure:5229: checking for Imlib_init in -lImlib" >&5 |
5215 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5229 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5216 | 5230 |
5217 xe_check_libs=" -lImlib " | 5231 xe_check_libs=" -lImlib " |
5218 cat > conftest.$ac_ext <<EOF | 5232 cat > conftest.$ac_ext <<EOF |
5219 #line 5220 "configure" | 5233 #line 5234 "configure" |
5220 #include "confdefs.h" | 5234 #include "confdefs.h" |
5221 /* Override any gcc2 internal prototype to avoid an error. */ | 5235 /* Override any gcc2 internal prototype to avoid an error. */ |
5222 /* We use char because int might match the return type of a gcc2 | 5236 /* We use char because int might match the return type of a gcc2 |
5223 builtin and then its argument prototype would still apply. */ | 5237 builtin and then its argument prototype would still apply. */ |
5224 char Imlib_init(); | 5238 char Imlib_init(); |
5225 | 5239 |
5226 int main() { | 5240 int main() { |
5227 Imlib_init() | 5241 Imlib_init() |
5228 ; return 0; } | 5242 ; return 0; } |
5229 EOF | 5243 EOF |
5230 if { (eval echo configure:5231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5244 if { (eval echo configure:5245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5231 rm -rf conftest* | 5245 rm -rf conftest* |
5232 eval "ac_cv_lib_$ac_lib_var=yes" | 5246 eval "ac_cv_lib_$ac_lib_var=yes" |
5233 else | 5247 else |
5234 echo "configure: failed program was:" >&5 | 5248 echo "configure: failed program was:" >&5 |
5235 cat conftest.$ac_ext >&5 | 5249 cat conftest.$ac_ext >&5 |
5248 | 5262 |
5249 | 5263 |
5250 for ac_func in gdk_imlib_init | 5264 for ac_func in gdk_imlib_init |
5251 do | 5265 do |
5252 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5266 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5253 echo "configure:5254: checking for $ac_func" >&5 | 5267 echo "configure:5268: checking for $ac_func" >&5 |
5254 | 5268 |
5255 cat > conftest.$ac_ext <<EOF | 5269 cat > conftest.$ac_ext <<EOF |
5256 #line 5257 "configure" | 5270 #line 5271 "configure" |
5257 #include "confdefs.h" | 5271 #include "confdefs.h" |
5258 /* System header to define __stub macros and hopefully few prototypes, | 5272 /* System header to define __stub macros and hopefully few prototypes, |
5259 which can conflict with char $ac_func(); below. */ | 5273 which can conflict with char $ac_func(); below. */ |
5260 #include <assert.h> | 5274 #include <assert.h> |
5261 /* Override any gcc2 internal prototype to avoid an error. */ | 5275 /* Override any gcc2 internal prototype to avoid an error. */ |
5274 $ac_func(); | 5288 $ac_func(); |
5275 #endif | 5289 #endif |
5276 | 5290 |
5277 ; return 0; } | 5291 ; return 0; } |
5278 EOF | 5292 EOF |
5279 if { (eval echo configure:5280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5293 if { (eval echo configure:5294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5280 rm -rf conftest* | 5294 rm -rf conftest* |
5281 eval "ac_cv_func_$ac_func=yes" | 5295 eval "ac_cv_func_$ac_func=yes" |
5282 else | 5296 else |
5283 echo "configure: failed program was:" >&5 | 5297 echo "configure: failed program was:" >&5 |
5284 cat conftest.$ac_ext >&5 | 5298 cat conftest.$ac_ext >&5 |
5340 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5354 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5341 for ac_hdr in glade/glade.h glade.h | 5355 for ac_hdr in glade/glade.h glade.h |
5342 do | 5356 do |
5343 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5357 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5344 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5358 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5345 echo "configure:5346: checking for $ac_hdr" >&5 | 5359 echo "configure:5360: checking for $ac_hdr" >&5 |
5346 | 5360 |
5347 cat > conftest.$ac_ext <<EOF | 5361 cat > conftest.$ac_ext <<EOF |
5348 #line 5349 "configure" | 5362 #line 5363 "configure" |
5349 #include "confdefs.h" | 5363 #include "confdefs.h" |
5350 #include <$ac_hdr> | 5364 #include <$ac_hdr> |
5351 EOF | 5365 EOF |
5352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5366 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5353 { (eval echo configure:5354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5367 { (eval echo configure:5368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5368 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5355 if test -z "$ac_err"; then | 5369 if test -z "$ac_err"; then |
5356 rm -rf conftest* | 5370 rm -rf conftest* |
5357 eval "ac_cv_header_$ac_safe=yes" | 5371 eval "ac_cv_header_$ac_safe=yes" |
5358 else | 5372 else |
5379 fi | 5393 fi |
5380 done | 5394 done |
5381 | 5395 |
5382 | 5396 |
5383 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5397 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5384 echo "configure:5385: checking for main in -lxml" >&5 | 5398 echo "configure:5399: checking for main in -lxml" >&5 |
5385 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5399 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5386 | 5400 |
5387 xe_check_libs=" -lxml " | 5401 xe_check_libs=" -lxml " |
5388 cat > conftest.$ac_ext <<EOF | 5402 cat > conftest.$ac_ext <<EOF |
5389 #line 5390 "configure" | 5403 #line 5404 "configure" |
5390 #include "confdefs.h" | 5404 #include "confdefs.h" |
5391 | 5405 |
5392 int main() { | 5406 int main() { |
5393 main() | 5407 main() |
5394 ; return 0; } | 5408 ; return 0; } |
5395 EOF | 5409 EOF |
5396 if { (eval echo configure:5397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5410 if { (eval echo configure:5411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5397 rm -rf conftest* | 5411 rm -rf conftest* |
5398 eval "ac_cv_lib_$ac_lib_var=yes" | 5412 eval "ac_cv_lib_$ac_lib_var=yes" |
5399 else | 5413 else |
5400 echo "configure: failed program was:" >&5 | 5414 echo "configure: failed program was:" >&5 |
5401 cat conftest.$ac_ext >&5 | 5415 cat conftest.$ac_ext >&5 |
5413 fi | 5427 fi |
5414 | 5428 |
5415 | 5429 |
5416 | 5430 |
5417 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5431 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5418 echo "configure:5419: checking for main in -lglade" >&5 | 5432 echo "configure:5433: checking for main in -lglade" >&5 |
5419 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5433 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5420 | 5434 |
5421 xe_check_libs=" -lglade " | 5435 xe_check_libs=" -lglade " |
5422 cat > conftest.$ac_ext <<EOF | 5436 cat > conftest.$ac_ext <<EOF |
5423 #line 5424 "configure" | 5437 #line 5438 "configure" |
5424 #include "confdefs.h" | 5438 #include "confdefs.h" |
5425 | 5439 |
5426 int main() { | 5440 int main() { |
5427 main() | 5441 main() |
5428 ; return 0; } | 5442 ; return 0; } |
5429 EOF | 5443 EOF |
5430 if { (eval echo configure:5431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5444 if { (eval echo configure:5445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5431 rm -rf conftest* | 5445 rm -rf conftest* |
5432 eval "ac_cv_lib_$ac_lib_var=yes" | 5446 eval "ac_cv_lib_$ac_lib_var=yes" |
5433 else | 5447 else |
5434 echo "configure: failed program was:" >&5 | 5448 echo "configure: failed program was:" >&5 |
5435 cat conftest.$ac_ext >&5 | 5449 cat conftest.$ac_ext >&5 |
5447 fi | 5461 fi |
5448 | 5462 |
5449 | 5463 |
5450 | 5464 |
5451 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5465 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5452 echo "configure:5453: checking for main in -lglade-gnome" >&5 | 5466 echo "configure:5467: checking for main in -lglade-gnome" >&5 |
5453 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5467 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5454 | 5468 |
5455 xe_check_libs=" -lglade-gnome " | 5469 xe_check_libs=" -lglade-gnome " |
5456 cat > conftest.$ac_ext <<EOF | 5470 cat > conftest.$ac_ext <<EOF |
5457 #line 5458 "configure" | 5471 #line 5472 "configure" |
5458 #include "confdefs.h" | 5472 #include "confdefs.h" |
5459 | 5473 |
5460 int main() { | 5474 int main() { |
5461 main() | 5475 main() |
5462 ; return 0; } | 5476 ; return 0; } |
5463 EOF | 5477 EOF |
5464 if { (eval echo configure:5465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5478 if { (eval echo configure:5479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5465 rm -rf conftest* | 5479 rm -rf conftest* |
5466 eval "ac_cv_lib_$ac_lib_var=yes" | 5480 eval "ac_cv_lib_$ac_lib_var=yes" |
5467 else | 5481 else |
5468 echo "configure: failed program was:" >&5 | 5482 echo "configure: failed program was:" >&5 |
5469 cat conftest.$ac_ext >&5 | 5483 cat conftest.$ac_ext >&5 |
5480 echo "$ac_t""no" 1>&6 | 5494 echo "$ac_t""no" 1>&6 |
5481 fi | 5495 fi |
5482 | 5496 |
5483 | 5497 |
5484 cat > conftest.$ac_ext <<EOF | 5498 cat > conftest.$ac_ext <<EOF |
5485 #line 5486 "configure" | 5499 #line 5500 "configure" |
5486 #include "confdefs.h" | 5500 #include "confdefs.h" |
5487 #include <glade/glade-xml.h> | 5501 #include <glade/glade-xml.h> |
5488 EOF | 5502 EOF |
5489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5490 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5504 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5539 # If we find X, set shell vars x_includes and x_libraries to the | 5553 # If we find X, set shell vars x_includes and x_libraries to the |
5540 # paths, otherwise set no_x=yes. | 5554 # paths, otherwise set no_x=yes. |
5541 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5555 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5542 # --without-x overrides everything else, but does not touch the cache. | 5556 # --without-x overrides everything else, but does not touch the cache. |
5543 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5557 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5544 echo "configure:5545: checking for X" >&5 | 5558 echo "configure:5559: checking for X" >&5 |
5545 | 5559 |
5546 # Check whether --with-x or --without-x was given. | 5560 # Check whether --with-x or --without-x was given. |
5547 if test "${with_x+set}" = set; then | 5561 if test "${with_x+set}" = set; then |
5548 withval="$with_x" | 5562 withval="$with_x" |
5549 : | 5563 : |
5599 # Guess where to find include files, by looking for this one X11 .h file. | 5613 # Guess where to find include files, by looking for this one X11 .h file. |
5600 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5614 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5601 | 5615 |
5602 # First, try using that file with no special directory specified. | 5616 # First, try using that file with no special directory specified. |
5603 cat > conftest.$ac_ext <<EOF | 5617 cat > conftest.$ac_ext <<EOF |
5604 #line 5605 "configure" | 5618 #line 5619 "configure" |
5605 #include "confdefs.h" | 5619 #include "confdefs.h" |
5606 #include <$x_direct_test_include> | 5620 #include <$x_direct_test_include> |
5607 EOF | 5621 EOF |
5608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5622 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5609 { (eval echo configure:5610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5623 { (eval echo configure:5624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5624 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5611 if test -z "$ac_err"; then | 5625 if test -z "$ac_err"; then |
5612 rm -rf conftest* | 5626 rm -rf conftest* |
5613 # We can compile using X headers with no special include directory. | 5627 # We can compile using X headers with no special include directory. |
5614 ac_x_includes= | 5628 ac_x_includes= |
5673 # See if we find them without any special options. | 5687 # See if we find them without any special options. |
5674 # Don't add to $LIBS permanently. | 5688 # Don't add to $LIBS permanently. |
5675 ac_save_LIBS="$LIBS" | 5689 ac_save_LIBS="$LIBS" |
5676 LIBS="-l$x_direct_test_library $LIBS" | 5690 LIBS="-l$x_direct_test_library $LIBS" |
5677 cat > conftest.$ac_ext <<EOF | 5691 cat > conftest.$ac_ext <<EOF |
5678 #line 5679 "configure" | 5692 #line 5693 "configure" |
5679 #include "confdefs.h" | 5693 #include "confdefs.h" |
5680 | 5694 |
5681 int main() { | 5695 int main() { |
5682 ${x_direct_test_function}() | 5696 ${x_direct_test_function}() |
5683 ; return 0; } | 5697 ; return 0; } |
5684 EOF | 5698 EOF |
5685 if { (eval echo configure:5686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5699 if { (eval echo configure:5700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5686 rm -rf conftest* | 5700 rm -rf conftest* |
5687 LIBS="$ac_save_LIBS" | 5701 LIBS="$ac_save_LIBS" |
5688 # We can link X programs with no special library path. | 5702 # We can link X programs with no special library path. |
5689 ac_x_libraries= | 5703 ac_x_libraries= |
5690 else | 5704 else |
5789 # For Solaris; some versions of Sun CC require a space after -R and | 5803 # For Solaris; some versions of Sun CC require a space after -R and |
5790 # others require no space. Words are not sufficient . . . . | 5804 # others require no space. Words are not sufficient . . . . |
5791 case "`(uname -sr) 2>/dev/null`" in | 5805 case "`(uname -sr) 2>/dev/null`" in |
5792 "SunOS 5"*) | 5806 "SunOS 5"*) |
5793 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5807 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5794 echo "configure:5795: checking whether -R must be followed by a space" >&5 | 5808 echo "configure:5809: checking whether -R must be followed by a space" >&5 |
5795 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5809 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5796 cat > conftest.$ac_ext <<EOF | 5810 cat > conftest.$ac_ext <<EOF |
5797 #line 5798 "configure" | 5811 #line 5812 "configure" |
5798 #include "confdefs.h" | 5812 #include "confdefs.h" |
5799 | 5813 |
5800 int main() { | 5814 int main() { |
5801 | 5815 |
5802 ; return 0; } | 5816 ; return 0; } |
5803 EOF | 5817 EOF |
5804 if { (eval echo configure:5805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5818 if { (eval echo configure:5819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5805 rm -rf conftest* | 5819 rm -rf conftest* |
5806 ac_R_nospace=yes | 5820 ac_R_nospace=yes |
5807 else | 5821 else |
5808 echo "configure: failed program was:" >&5 | 5822 echo "configure: failed program was:" >&5 |
5809 cat conftest.$ac_ext >&5 | 5823 cat conftest.$ac_ext >&5 |
5815 echo "$ac_t""no" 1>&6 | 5829 echo "$ac_t""no" 1>&6 |
5816 X_LIBS="$X_LIBS -R$x_libraries" | 5830 X_LIBS="$X_LIBS -R$x_libraries" |
5817 else | 5831 else |
5818 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5832 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5819 cat > conftest.$ac_ext <<EOF | 5833 cat > conftest.$ac_ext <<EOF |
5820 #line 5821 "configure" | 5834 #line 5835 "configure" |
5821 #include "confdefs.h" | 5835 #include "confdefs.h" |
5822 | 5836 |
5823 int main() { | 5837 int main() { |
5824 | 5838 |
5825 ; return 0; } | 5839 ; return 0; } |
5826 EOF | 5840 EOF |
5827 if { (eval echo configure:5828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5841 if { (eval echo configure:5842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5828 rm -rf conftest* | 5842 rm -rf conftest* |
5829 ac_R_space=yes | 5843 ac_R_space=yes |
5830 else | 5844 else |
5831 echo "configure: failed program was:" >&5 | 5845 echo "configure: failed program was:" >&5 |
5832 cat conftest.$ac_ext >&5 | 5846 cat conftest.$ac_ext >&5 |
5858 if test "$with_dnet" = "no" ; then | 5872 if test "$with_dnet" = "no" ; then |
5859 ac_cv_lib_dnet_dnet_ntoa=no | 5873 ac_cv_lib_dnet_dnet_ntoa=no |
5860 else | 5874 else |
5861 | 5875 |
5862 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5876 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5863 echo "configure:5864: checking for dnet_ntoa in -ldnet" >&5 | 5877 echo "configure:5878: checking for dnet_ntoa in -ldnet" >&5 |
5864 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5878 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5865 | 5879 |
5866 xe_check_libs=" -ldnet " | 5880 xe_check_libs=" -ldnet " |
5867 cat > conftest.$ac_ext <<EOF | 5881 cat > conftest.$ac_ext <<EOF |
5868 #line 5869 "configure" | 5882 #line 5883 "configure" |
5869 #include "confdefs.h" | 5883 #include "confdefs.h" |
5870 /* Override any gcc2 internal prototype to avoid an error. */ | 5884 /* Override any gcc2 internal prototype to avoid an error. */ |
5871 /* We use char because int might match the return type of a gcc2 | 5885 /* We use char because int might match the return type of a gcc2 |
5872 builtin and then its argument prototype would still apply. */ | 5886 builtin and then its argument prototype would still apply. */ |
5873 char dnet_ntoa(); | 5887 char dnet_ntoa(); |
5874 | 5888 |
5875 int main() { | 5889 int main() { |
5876 dnet_ntoa() | 5890 dnet_ntoa() |
5877 ; return 0; } | 5891 ; return 0; } |
5878 EOF | 5892 EOF |
5879 if { (eval echo configure:5880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5893 if { (eval echo configure:5894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5880 rm -rf conftest* | 5894 rm -rf conftest* |
5881 eval "ac_cv_lib_$ac_lib_var=yes" | 5895 eval "ac_cv_lib_$ac_lib_var=yes" |
5882 else | 5896 else |
5883 echo "configure: failed program was:" >&5 | 5897 echo "configure: failed program was:" >&5 |
5884 cat conftest.$ac_ext >&5 | 5898 cat conftest.$ac_ext >&5 |
5898 fi | 5912 fi |
5899 | 5913 |
5900 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5914 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5901 | 5915 |
5902 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5916 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5903 echo "configure:5904: checking for dnet_ntoa in -ldnet_stub" >&5 | 5917 echo "configure:5918: checking for dnet_ntoa in -ldnet_stub" >&5 |
5904 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5918 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5905 | 5919 |
5906 xe_check_libs=" -ldnet_stub " | 5920 xe_check_libs=" -ldnet_stub " |
5907 cat > conftest.$ac_ext <<EOF | 5921 cat > conftest.$ac_ext <<EOF |
5908 #line 5909 "configure" | 5922 #line 5923 "configure" |
5909 #include "confdefs.h" | 5923 #include "confdefs.h" |
5910 /* Override any gcc2 internal prototype to avoid an error. */ | 5924 /* Override any gcc2 internal prototype to avoid an error. */ |
5911 /* We use char because int might match the return type of a gcc2 | 5925 /* We use char because int might match the return type of a gcc2 |
5912 builtin and then its argument prototype would still apply. */ | 5926 builtin and then its argument prototype would still apply. */ |
5913 char dnet_ntoa(); | 5927 char dnet_ntoa(); |
5914 | 5928 |
5915 int main() { | 5929 int main() { |
5916 dnet_ntoa() | 5930 dnet_ntoa() |
5917 ; return 0; } | 5931 ; return 0; } |
5918 EOF | 5932 EOF |
5919 if { (eval echo configure:5920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5933 if { (eval echo configure:5934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5920 rm -rf conftest* | 5934 rm -rf conftest* |
5921 eval "ac_cv_lib_$ac_lib_var=yes" | 5935 eval "ac_cv_lib_$ac_lib_var=yes" |
5922 else | 5936 else |
5923 echo "configure: failed program was:" >&5 | 5937 echo "configure: failed program was:" >&5 |
5924 cat conftest.$ac_ext >&5 | 5938 cat conftest.$ac_ext >&5 |
5943 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5957 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5944 # needs -lnsl. | 5958 # needs -lnsl. |
5945 # The nsl library prevents programs from opening the X display | 5959 # The nsl library prevents programs from opening the X display |
5946 # on Irix 5.2, according to dickey@clark.net. | 5960 # on Irix 5.2, according to dickey@clark.net. |
5947 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5961 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5948 echo "configure:5949: checking for gethostbyname" >&5 | 5962 echo "configure:5963: checking for gethostbyname" >&5 |
5949 | 5963 |
5950 cat > conftest.$ac_ext <<EOF | 5964 cat > conftest.$ac_ext <<EOF |
5951 #line 5952 "configure" | 5965 #line 5966 "configure" |
5952 #include "confdefs.h" | 5966 #include "confdefs.h" |
5953 /* System header to define __stub macros and hopefully few prototypes, | 5967 /* System header to define __stub macros and hopefully few prototypes, |
5954 which can conflict with char gethostbyname(); below. */ | 5968 which can conflict with char gethostbyname(); below. */ |
5955 #include <assert.h> | 5969 #include <assert.h> |
5956 /* Override any gcc2 internal prototype to avoid an error. */ | 5970 /* Override any gcc2 internal prototype to avoid an error. */ |
5969 gethostbyname(); | 5983 gethostbyname(); |
5970 #endif | 5984 #endif |
5971 | 5985 |
5972 ; return 0; } | 5986 ; return 0; } |
5973 EOF | 5987 EOF |
5974 if { (eval echo configure:5975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5988 if { (eval echo configure:5989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5975 rm -rf conftest* | 5989 rm -rf conftest* |
5976 eval "ac_cv_func_gethostbyname=yes" | 5990 eval "ac_cv_func_gethostbyname=yes" |
5977 else | 5991 else |
5978 echo "configure: failed program was:" >&5 | 5992 echo "configure: failed program was:" >&5 |
5979 cat conftest.$ac_ext >&5 | 5993 cat conftest.$ac_ext >&5 |
5990 fi | 6004 fi |
5991 | 6005 |
5992 if test $ac_cv_func_gethostbyname = no; then | 6006 if test $ac_cv_func_gethostbyname = no; then |
5993 | 6007 |
5994 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6008 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5995 echo "configure:5996: checking for gethostbyname in -lnsl" >&5 | 6009 echo "configure:6010: checking for gethostbyname in -lnsl" >&5 |
5996 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6010 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5997 | 6011 |
5998 xe_check_libs=" -lnsl " | 6012 xe_check_libs=" -lnsl " |
5999 cat > conftest.$ac_ext <<EOF | 6013 cat > conftest.$ac_ext <<EOF |
6000 #line 6001 "configure" | 6014 #line 6015 "configure" |
6001 #include "confdefs.h" | 6015 #include "confdefs.h" |
6002 /* Override any gcc2 internal prototype to avoid an error. */ | 6016 /* Override any gcc2 internal prototype to avoid an error. */ |
6003 /* We use char because int might match the return type of a gcc2 | 6017 /* We use char because int might match the return type of a gcc2 |
6004 builtin and then its argument prototype would still apply. */ | 6018 builtin and then its argument prototype would still apply. */ |
6005 char gethostbyname(); | 6019 char gethostbyname(); |
6006 | 6020 |
6007 int main() { | 6021 int main() { |
6008 gethostbyname() | 6022 gethostbyname() |
6009 ; return 0; } | 6023 ; return 0; } |
6010 EOF | 6024 EOF |
6011 if { (eval echo configure:6012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6025 if { (eval echo configure:6026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6012 rm -rf conftest* | 6026 rm -rf conftest* |
6013 eval "ac_cv_lib_$ac_lib_var=yes" | 6027 eval "ac_cv_lib_$ac_lib_var=yes" |
6014 else | 6028 else |
6015 echo "configure: failed program was:" >&5 | 6029 echo "configure: failed program was:" >&5 |
6016 cat conftest.$ac_ext >&5 | 6030 cat conftest.$ac_ext >&5 |
6036 # on later versions), says simon@lia.di.epfl.ch: it contains | 6050 # on later versions), says simon@lia.di.epfl.ch: it contains |
6037 # gethostby* variants that don't use the nameserver (or something). | 6051 # gethostby* variants that don't use the nameserver (or something). |
6038 # -lsocket must be given before -lnsl if both are needed. | 6052 # -lsocket must be given before -lnsl if both are needed. |
6039 # We assume that if connect needs -lnsl, so does gethostbyname. | 6053 # We assume that if connect needs -lnsl, so does gethostbyname. |
6040 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6054 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6041 echo "configure:6042: checking for connect" >&5 | 6055 echo "configure:6056: checking for connect" >&5 |
6042 | 6056 |
6043 cat > conftest.$ac_ext <<EOF | 6057 cat > conftest.$ac_ext <<EOF |
6044 #line 6045 "configure" | 6058 #line 6059 "configure" |
6045 #include "confdefs.h" | 6059 #include "confdefs.h" |
6046 /* System header to define __stub macros and hopefully few prototypes, | 6060 /* System header to define __stub macros and hopefully few prototypes, |
6047 which can conflict with char connect(); below. */ | 6061 which can conflict with char connect(); below. */ |
6048 #include <assert.h> | 6062 #include <assert.h> |
6049 /* Override any gcc2 internal prototype to avoid an error. */ | 6063 /* Override any gcc2 internal prototype to avoid an error. */ |
6062 connect(); | 6076 connect(); |
6063 #endif | 6077 #endif |
6064 | 6078 |
6065 ; return 0; } | 6079 ; return 0; } |
6066 EOF | 6080 EOF |
6067 if { (eval echo configure:6068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6081 if { (eval echo configure:6082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6068 rm -rf conftest* | 6082 rm -rf conftest* |
6069 eval "ac_cv_func_connect=yes" | 6083 eval "ac_cv_func_connect=yes" |
6070 else | 6084 else |
6071 echo "configure: failed program was:" >&5 | 6085 echo "configure: failed program was:" >&5 |
6072 cat conftest.$ac_ext >&5 | 6086 cat conftest.$ac_ext >&5 |
6085 if test $ac_cv_func_connect = no; then | 6099 if test $ac_cv_func_connect = no; then |
6086 | 6100 |
6087 xe_msg_checking="for connect in -lsocket" | 6101 xe_msg_checking="for connect in -lsocket" |
6088 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6102 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6089 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6103 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6090 echo "configure:6091: checking "$xe_msg_checking"" >&5 | 6104 echo "configure:6105: checking "$xe_msg_checking"" >&5 |
6091 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6105 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6092 | 6106 |
6093 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6107 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6094 cat > conftest.$ac_ext <<EOF | 6108 cat > conftest.$ac_ext <<EOF |
6095 #line 6096 "configure" | 6109 #line 6110 "configure" |
6096 #include "confdefs.h" | 6110 #include "confdefs.h" |
6097 /* Override any gcc2 internal prototype to avoid an error. */ | 6111 /* Override any gcc2 internal prototype to avoid an error. */ |
6098 /* We use char because int might match the return type of a gcc2 | 6112 /* We use char because int might match the return type of a gcc2 |
6099 builtin and then its argument prototype would still apply. */ | 6113 builtin and then its argument prototype would still apply. */ |
6100 char connect(); | 6114 char connect(); |
6101 | 6115 |
6102 int main() { | 6116 int main() { |
6103 connect() | 6117 connect() |
6104 ; return 0; } | 6118 ; return 0; } |
6105 EOF | 6119 EOF |
6106 if { (eval echo configure:6107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6120 if { (eval echo configure:6121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6107 rm -rf conftest* | 6121 rm -rf conftest* |
6108 eval "ac_cv_lib_$ac_lib_var=yes" | 6122 eval "ac_cv_lib_$ac_lib_var=yes" |
6109 else | 6123 else |
6110 echo "configure: failed program was:" >&5 | 6124 echo "configure: failed program was:" >&5 |
6111 cat conftest.$ac_ext >&5 | 6125 cat conftest.$ac_ext >&5 |
6125 | 6139 |
6126 fi | 6140 fi |
6127 | 6141 |
6128 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6142 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6129 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6143 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6130 echo "configure:6131: checking for remove" >&5 | 6144 echo "configure:6145: checking for remove" >&5 |
6131 | 6145 |
6132 cat > conftest.$ac_ext <<EOF | 6146 cat > conftest.$ac_ext <<EOF |
6133 #line 6134 "configure" | 6147 #line 6148 "configure" |
6134 #include "confdefs.h" | 6148 #include "confdefs.h" |
6135 /* System header to define __stub macros and hopefully few prototypes, | 6149 /* System header to define __stub macros and hopefully few prototypes, |
6136 which can conflict with char remove(); below. */ | 6150 which can conflict with char remove(); below. */ |
6137 #include <assert.h> | 6151 #include <assert.h> |
6138 /* Override any gcc2 internal prototype to avoid an error. */ | 6152 /* Override any gcc2 internal prototype to avoid an error. */ |
6151 remove(); | 6165 remove(); |
6152 #endif | 6166 #endif |
6153 | 6167 |
6154 ; return 0; } | 6168 ; return 0; } |
6155 EOF | 6169 EOF |
6156 if { (eval echo configure:6157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6170 if { (eval echo configure:6171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6157 rm -rf conftest* | 6171 rm -rf conftest* |
6158 eval "ac_cv_func_remove=yes" | 6172 eval "ac_cv_func_remove=yes" |
6159 else | 6173 else |
6160 echo "configure: failed program was:" >&5 | 6174 echo "configure: failed program was:" >&5 |
6161 cat conftest.$ac_ext >&5 | 6175 cat conftest.$ac_ext >&5 |
6172 fi | 6186 fi |
6173 | 6187 |
6174 if test $ac_cv_func_remove = no; then | 6188 if test $ac_cv_func_remove = no; then |
6175 | 6189 |
6176 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6190 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6177 echo "configure:6178: checking for remove in -lposix" >&5 | 6191 echo "configure:6192: checking for remove in -lposix" >&5 |
6178 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6192 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6179 | 6193 |
6180 xe_check_libs=" -lposix " | 6194 xe_check_libs=" -lposix " |
6181 cat > conftest.$ac_ext <<EOF | 6195 cat > conftest.$ac_ext <<EOF |
6182 #line 6183 "configure" | 6196 #line 6197 "configure" |
6183 #include "confdefs.h" | 6197 #include "confdefs.h" |
6184 /* Override any gcc2 internal prototype to avoid an error. */ | 6198 /* Override any gcc2 internal prototype to avoid an error. */ |
6185 /* We use char because int might match the return type of a gcc2 | 6199 /* We use char because int might match the return type of a gcc2 |
6186 builtin and then its argument prototype would still apply. */ | 6200 builtin and then its argument prototype would still apply. */ |
6187 char remove(); | 6201 char remove(); |
6188 | 6202 |
6189 int main() { | 6203 int main() { |
6190 remove() | 6204 remove() |
6191 ; return 0; } | 6205 ; return 0; } |
6192 EOF | 6206 EOF |
6193 if { (eval echo configure:6194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6207 if { (eval echo configure:6208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6194 rm -rf conftest* | 6208 rm -rf conftest* |
6195 eval "ac_cv_lib_$ac_lib_var=yes" | 6209 eval "ac_cv_lib_$ac_lib_var=yes" |
6196 else | 6210 else |
6197 echo "configure: failed program was:" >&5 | 6211 echo "configure: failed program was:" >&5 |
6198 cat conftest.$ac_ext >&5 | 6212 cat conftest.$ac_ext >&5 |
6212 | 6226 |
6213 fi | 6227 fi |
6214 | 6228 |
6215 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6229 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6216 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6230 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6217 echo "configure:6218: checking for shmat" >&5 | 6231 echo "configure:6232: checking for shmat" >&5 |
6218 | 6232 |
6219 cat > conftest.$ac_ext <<EOF | 6233 cat > conftest.$ac_ext <<EOF |
6220 #line 6221 "configure" | 6234 #line 6235 "configure" |
6221 #include "confdefs.h" | 6235 #include "confdefs.h" |
6222 /* System header to define __stub macros and hopefully few prototypes, | 6236 /* System header to define __stub macros and hopefully few prototypes, |
6223 which can conflict with char shmat(); below. */ | 6237 which can conflict with char shmat(); below. */ |
6224 #include <assert.h> | 6238 #include <assert.h> |
6225 /* Override any gcc2 internal prototype to avoid an error. */ | 6239 /* Override any gcc2 internal prototype to avoid an error. */ |
6238 shmat(); | 6252 shmat(); |
6239 #endif | 6253 #endif |
6240 | 6254 |
6241 ; return 0; } | 6255 ; return 0; } |
6242 EOF | 6256 EOF |
6243 if { (eval echo configure:6244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6257 if { (eval echo configure:6258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6244 rm -rf conftest* | 6258 rm -rf conftest* |
6245 eval "ac_cv_func_shmat=yes" | 6259 eval "ac_cv_func_shmat=yes" |
6246 else | 6260 else |
6247 echo "configure: failed program was:" >&5 | 6261 echo "configure: failed program was:" >&5 |
6248 cat conftest.$ac_ext >&5 | 6262 cat conftest.$ac_ext >&5 |
6259 fi | 6273 fi |
6260 | 6274 |
6261 if test $ac_cv_func_shmat = no; then | 6275 if test $ac_cv_func_shmat = no; then |
6262 | 6276 |
6263 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6277 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6264 echo "configure:6265: checking for shmat in -lipc" >&5 | 6278 echo "configure:6279: checking for shmat in -lipc" >&5 |
6265 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6279 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6266 | 6280 |
6267 xe_check_libs=" -lipc " | 6281 xe_check_libs=" -lipc " |
6268 cat > conftest.$ac_ext <<EOF | 6282 cat > conftest.$ac_ext <<EOF |
6269 #line 6270 "configure" | 6283 #line 6284 "configure" |
6270 #include "confdefs.h" | 6284 #include "confdefs.h" |
6271 /* Override any gcc2 internal prototype to avoid an error. */ | 6285 /* Override any gcc2 internal prototype to avoid an error. */ |
6272 /* We use char because int might match the return type of a gcc2 | 6286 /* We use char because int might match the return type of a gcc2 |
6273 builtin and then its argument prototype would still apply. */ | 6287 builtin and then its argument prototype would still apply. */ |
6274 char shmat(); | 6288 char shmat(); |
6275 | 6289 |
6276 int main() { | 6290 int main() { |
6277 shmat() | 6291 shmat() |
6278 ; return 0; } | 6292 ; return 0; } |
6279 EOF | 6293 EOF |
6280 if { (eval echo configure:6281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6294 if { (eval echo configure:6295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6281 rm -rf conftest* | 6295 rm -rf conftest* |
6282 eval "ac_cv_lib_$ac_lib_var=yes" | 6296 eval "ac_cv_lib_$ac_lib_var=yes" |
6283 else | 6297 else |
6284 echo "configure: failed program was:" >&5 | 6298 echo "configure: failed program was:" >&5 |
6285 cat conftest.$ac_ext >&5 | 6299 cat conftest.$ac_ext >&5 |
6311 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6325 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6312 | 6326 |
6313 xe_msg_checking="for IceConnectionNumber in -lICE" | 6327 xe_msg_checking="for IceConnectionNumber in -lICE" |
6314 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6328 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6315 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6329 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6316 echo "configure:6317: checking "$xe_msg_checking"" >&5 | 6330 echo "configure:6331: checking "$xe_msg_checking"" >&5 |
6317 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6331 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6318 | 6332 |
6319 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6333 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6320 cat > conftest.$ac_ext <<EOF | 6334 cat > conftest.$ac_ext <<EOF |
6321 #line 6322 "configure" | 6335 #line 6336 "configure" |
6322 #include "confdefs.h" | 6336 #include "confdefs.h" |
6323 /* Override any gcc2 internal prototype to avoid an error. */ | 6337 /* Override any gcc2 internal prototype to avoid an error. */ |
6324 /* We use char because int might match the return type of a gcc2 | 6338 /* We use char because int might match the return type of a gcc2 |
6325 builtin and then its argument prototype would still apply. */ | 6339 builtin and then its argument prototype would still apply. */ |
6326 char IceConnectionNumber(); | 6340 char IceConnectionNumber(); |
6327 | 6341 |
6328 int main() { | 6342 int main() { |
6329 IceConnectionNumber() | 6343 IceConnectionNumber() |
6330 ; return 0; } | 6344 ; return 0; } |
6331 EOF | 6345 EOF |
6332 if { (eval echo configure:6333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6346 if { (eval echo configure:6347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6333 rm -rf conftest* | 6347 rm -rf conftest* |
6334 eval "ac_cv_lib_$ac_lib_var=yes" | 6348 eval "ac_cv_lib_$ac_lib_var=yes" |
6335 else | 6349 else |
6336 echo "configure: failed program was:" >&5 | 6350 echo "configure: failed program was:" >&5 |
6337 cat conftest.$ac_ext >&5 | 6351 cat conftest.$ac_ext >&5 |
6494 EOF | 6508 EOF |
6495 } | 6509 } |
6496 | 6510 |
6497 | 6511 |
6498 echo "checking for X defines extracted by xmkmf" 1>&6 | 6512 echo "checking for X defines extracted by xmkmf" 1>&6 |
6499 echo "configure:6500: checking for X defines extracted by xmkmf" >&5 | 6513 echo "configure:6514: checking for X defines extracted by xmkmf" >&5 |
6500 rm -fr conftestdir | 6514 rm -fr conftestdir |
6501 if mkdir conftestdir; then | 6515 if mkdir conftestdir; then |
6502 cd conftestdir | 6516 cd conftestdir |
6503 cat > Imakefile <<'EOF' | 6517 cat > Imakefile <<'EOF' |
6504 xetest: | 6518 xetest: |
6543 done | 6557 done |
6544 fi | 6558 fi |
6545 | 6559 |
6546 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6560 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6547 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6561 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6548 echo "configure:6549: checking for X11/Intrinsic.h" >&5 | 6562 echo "configure:6563: checking for X11/Intrinsic.h" >&5 |
6549 | 6563 |
6550 cat > conftest.$ac_ext <<EOF | 6564 cat > conftest.$ac_ext <<EOF |
6551 #line 6552 "configure" | 6565 #line 6566 "configure" |
6552 #include "confdefs.h" | 6566 #include "confdefs.h" |
6553 #include <X11/Intrinsic.h> | 6567 #include <X11/Intrinsic.h> |
6554 EOF | 6568 EOF |
6555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6569 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6556 { (eval echo configure:6557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6570 { (eval echo configure:6571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6557 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6571 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6558 if test -z "$ac_err"; then | 6572 if test -z "$ac_err"; then |
6559 rm -rf conftest* | 6573 rm -rf conftest* |
6560 eval "ac_cv_header_$ac_safe=yes" | 6574 eval "ac_cv_header_$ac_safe=yes" |
6561 else | 6575 else |
6575 fi | 6589 fi |
6576 | 6590 |
6577 | 6591 |
6578 | 6592 |
6579 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6593 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6580 echo "configure:6581: checking for XOpenDisplay in -lX11" >&5 | 6594 echo "configure:6595: checking for XOpenDisplay in -lX11" >&5 |
6581 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6595 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6582 | 6596 |
6583 xe_check_libs=" -lX11 " | 6597 xe_check_libs=" -lX11 " |
6584 cat > conftest.$ac_ext <<EOF | 6598 cat > conftest.$ac_ext <<EOF |
6585 #line 6586 "configure" | 6599 #line 6600 "configure" |
6586 #include "confdefs.h" | 6600 #include "confdefs.h" |
6587 /* Override any gcc2 internal prototype to avoid an error. */ | 6601 /* Override any gcc2 internal prototype to avoid an error. */ |
6588 /* We use char because int might match the return type of a gcc2 | 6602 /* We use char because int might match the return type of a gcc2 |
6589 builtin and then its argument prototype would still apply. */ | 6603 builtin and then its argument prototype would still apply. */ |
6590 char XOpenDisplay(); | 6604 char XOpenDisplay(); |
6591 | 6605 |
6592 int main() { | 6606 int main() { |
6593 XOpenDisplay() | 6607 XOpenDisplay() |
6594 ; return 0; } | 6608 ; return 0; } |
6595 EOF | 6609 EOF |
6596 if { (eval echo configure:6597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6610 if { (eval echo configure:6611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6597 rm -rf conftest* | 6611 rm -rf conftest* |
6598 eval "ac_cv_lib_$ac_lib_var=yes" | 6612 eval "ac_cv_lib_$ac_lib_var=yes" |
6599 else | 6613 else |
6600 echo "configure: failed program was:" >&5 | 6614 echo "configure: failed program was:" >&5 |
6601 cat conftest.$ac_ext >&5 | 6615 cat conftest.$ac_ext >&5 |
6616 if test "$have_lib_x11" != "yes"; then | 6630 if test "$have_lib_x11" != "yes"; then |
6617 | 6631 |
6618 xe_msg_checking="for XGetFontProperty in -lX11" | 6632 xe_msg_checking="for XGetFontProperty in -lX11" |
6619 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6633 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6620 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6634 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6621 echo "configure:6622: checking "$xe_msg_checking"" >&5 | 6635 echo "configure:6636: checking "$xe_msg_checking"" >&5 |
6622 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6636 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6623 | 6637 |
6624 xe_check_libs=" -lX11 -b i486-linuxaout" | 6638 xe_check_libs=" -lX11 -b i486-linuxaout" |
6625 cat > conftest.$ac_ext <<EOF | 6639 cat > conftest.$ac_ext <<EOF |
6626 #line 6627 "configure" | 6640 #line 6641 "configure" |
6627 #include "confdefs.h" | 6641 #include "confdefs.h" |
6628 /* Override any gcc2 internal prototype to avoid an error. */ | 6642 /* Override any gcc2 internal prototype to avoid an error. */ |
6629 /* 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 |
6630 builtin and then its argument prototype would still apply. */ | 6644 builtin and then its argument prototype would still apply. */ |
6631 char XGetFontProperty(); | 6645 char XGetFontProperty(); |
6632 | 6646 |
6633 int main() { | 6647 int main() { |
6634 XGetFontProperty() | 6648 XGetFontProperty() |
6635 ; return 0; } | 6649 ; return 0; } |
6636 EOF | 6650 EOF |
6637 if { (eval echo configure:6638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6651 if { (eval echo configure:6652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6638 rm -rf conftest* | 6652 rm -rf conftest* |
6639 eval "ac_cv_lib_$ac_lib_var=yes" | 6653 eval "ac_cv_lib_$ac_lib_var=yes" |
6640 else | 6654 else |
6641 echo "configure: failed program was:" >&5 | 6655 echo "configure: failed program was:" >&5 |
6642 cat conftest.$ac_ext >&5 | 6656 cat conftest.$ac_ext >&5 |
6659 libs_x="-lX11" | 6673 libs_x="-lX11" |
6660 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6674 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6661 | 6675 |
6662 | 6676 |
6663 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6677 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6664 echo "configure:6665: checking for XShapeSelectInput in -lXext" >&5 | 6678 echo "configure:6679: checking for XShapeSelectInput in -lXext" >&5 |
6665 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6679 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6666 | 6680 |
6667 xe_check_libs=" -lXext " | 6681 xe_check_libs=" -lXext " |
6668 cat > conftest.$ac_ext <<EOF | 6682 cat > conftest.$ac_ext <<EOF |
6669 #line 6670 "configure" | 6683 #line 6684 "configure" |
6670 #include "confdefs.h" | 6684 #include "confdefs.h" |
6671 /* Override any gcc2 internal prototype to avoid an error. */ | 6685 /* Override any gcc2 internal prototype to avoid an error. */ |
6672 /* We use char because int might match the return type of a gcc2 | 6686 /* We use char because int might match the return type of a gcc2 |
6673 builtin and then its argument prototype would still apply. */ | 6687 builtin and then its argument prototype would still apply. */ |
6674 char XShapeSelectInput(); | 6688 char XShapeSelectInput(); |
6675 | 6689 |
6676 int main() { | 6690 int main() { |
6677 XShapeSelectInput() | 6691 XShapeSelectInput() |
6678 ; return 0; } | 6692 ; return 0; } |
6679 EOF | 6693 EOF |
6680 if { (eval echo configure:6681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6694 if { (eval echo configure:6695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6681 rm -rf conftest* | 6695 rm -rf conftest* |
6682 eval "ac_cv_lib_$ac_lib_var=yes" | 6696 eval "ac_cv_lib_$ac_lib_var=yes" |
6683 else | 6697 else |
6684 echo "configure: failed program was:" >&5 | 6698 echo "configure: failed program was:" >&5 |
6685 cat conftest.$ac_ext >&5 | 6699 cat conftest.$ac_ext >&5 |
6698 | 6712 |
6699 | 6713 |
6700 | 6714 |
6701 | 6715 |
6702 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6716 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6703 echo "configure:6704: checking for XtOpenDisplay in -lXt" >&5 | 6717 echo "configure:6718: checking for XtOpenDisplay in -lXt" >&5 |
6704 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6718 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6705 | 6719 |
6706 xe_check_libs=" -lXt " | 6720 xe_check_libs=" -lXt " |
6707 cat > conftest.$ac_ext <<EOF | 6721 cat > conftest.$ac_ext <<EOF |
6708 #line 6709 "configure" | 6722 #line 6723 "configure" |
6709 #include "confdefs.h" | 6723 #include "confdefs.h" |
6710 /* Override any gcc2 internal prototype to avoid an error. */ | 6724 /* Override any gcc2 internal prototype to avoid an error. */ |
6711 /* We use char because int might match the return type of a gcc2 | 6725 /* We use char because int might match the return type of a gcc2 |
6712 builtin and then its argument prototype would still apply. */ | 6726 builtin and then its argument prototype would still apply. */ |
6713 char XtOpenDisplay(); | 6727 char XtOpenDisplay(); |
6714 | 6728 |
6715 int main() { | 6729 int main() { |
6716 XtOpenDisplay() | 6730 XtOpenDisplay() |
6717 ; return 0; } | 6731 ; return 0; } |
6718 EOF | 6732 EOF |
6719 if { (eval echo configure:6720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6733 if { (eval echo configure:6734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6720 rm -rf conftest* | 6734 rm -rf conftest* |
6721 eval "ac_cv_lib_$ac_lib_var=yes" | 6735 eval "ac_cv_lib_$ac_lib_var=yes" |
6722 else | 6736 else |
6723 echo "configure: failed program was:" >&5 | 6737 echo "configure: failed program was:" >&5 |
6724 cat conftest.$ac_ext >&5 | 6738 cat conftest.$ac_ext >&5 |
6737 fi | 6751 fi |
6738 | 6752 |
6739 | 6753 |
6740 | 6754 |
6741 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6755 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6742 echo "configure:6743: checking the version of X11 being used" >&5 | 6756 echo "configure:6757: checking the version of X11 being used" >&5 |
6743 cat > conftest.$ac_ext <<EOF | 6757 cat > conftest.$ac_ext <<EOF |
6744 #line 6745 "configure" | 6758 #line 6759 "configure" |
6745 #include "confdefs.h" | 6759 #include "confdefs.h" |
6746 #include <X11/Intrinsic.h> | 6760 #include <X11/Intrinsic.h> |
6747 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6761 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6748 EOF | 6762 EOF |
6749 if { (eval echo configure:6750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6763 if { (eval echo configure:6764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6750 then | 6764 then |
6751 ./conftest foobar; x11_release=$? | 6765 ./conftest foobar; x11_release=$? |
6752 else | 6766 else |
6753 conftest_rc="$?" | 6767 conftest_rc="$?" |
6754 echo "configure: failed program was:" >&5 | 6768 echo "configure: failed program was:" >&5 |
6775 fi | 6789 fi |
6776 | 6790 |
6777 for ac_func in XConvertCase | 6791 for ac_func in XConvertCase |
6778 do | 6792 do |
6779 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6793 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6780 echo "configure:6781: checking for $ac_func" >&5 | 6794 echo "configure:6795: checking for $ac_func" >&5 |
6781 | 6795 |
6782 cat > conftest.$ac_ext <<EOF | 6796 cat > conftest.$ac_ext <<EOF |
6783 #line 6784 "configure" | 6797 #line 6798 "configure" |
6784 #include "confdefs.h" | 6798 #include "confdefs.h" |
6785 /* System header to define __stub macros and hopefully few prototypes, | 6799 /* System header to define __stub macros and hopefully few prototypes, |
6786 which can conflict with char $ac_func(); below. */ | 6800 which can conflict with char $ac_func(); below. */ |
6787 #include <assert.h> | 6801 #include <assert.h> |
6788 /* Override any gcc2 internal prototype to avoid an error. */ | 6802 /* Override any gcc2 internal prototype to avoid an error. */ |
6801 $ac_func(); | 6815 $ac_func(); |
6802 #endif | 6816 #endif |
6803 | 6817 |
6804 ; return 0; } | 6818 ; return 0; } |
6805 EOF | 6819 EOF |
6806 if { (eval echo configure:6807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6820 if { (eval echo configure:6821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6807 rm -rf conftest* | 6821 rm -rf conftest* |
6808 eval "ac_cv_func_$ac_func=yes" | 6822 eval "ac_cv_func_$ac_func=yes" |
6809 else | 6823 else |
6810 echo "configure: failed program was:" >&5 | 6824 echo "configure: failed program was:" >&5 |
6811 cat conftest.$ac_ext >&5 | 6825 cat conftest.$ac_ext >&5 |
6833 | 6847 |
6834 for ac_hdr in X11/Xlocale.h | 6848 for ac_hdr in X11/Xlocale.h |
6835 do | 6849 do |
6836 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6850 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6837 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6851 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6838 echo "configure:6839: checking for $ac_hdr" >&5 | 6852 echo "configure:6853: checking for $ac_hdr" >&5 |
6839 | 6853 |
6840 cat > conftest.$ac_ext <<EOF | 6854 cat > conftest.$ac_ext <<EOF |
6841 #line 6842 "configure" | 6855 #line 6856 "configure" |
6842 #include "confdefs.h" | 6856 #include "confdefs.h" |
6843 #include <$ac_hdr> | 6857 #include <$ac_hdr> |
6844 EOF | 6858 EOF |
6845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6859 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6846 { (eval echo configure:6847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6860 { (eval echo configure:6861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6847 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6861 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6848 if test -z "$ac_err"; then | 6862 if test -z "$ac_err"; then |
6849 rm -rf conftest* | 6863 rm -rf conftest* |
6850 eval "ac_cv_header_$ac_safe=yes" | 6864 eval "ac_cv_header_$ac_safe=yes" |
6851 else | 6865 else |
6874 | 6888 |
6875 | 6889 |
6876 for ac_func in XRegisterIMInstantiateCallback | 6890 for ac_func in XRegisterIMInstantiateCallback |
6877 do | 6891 do |
6878 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6892 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6879 echo "configure:6880: checking for $ac_func" >&5 | 6893 echo "configure:6894: checking for $ac_func" >&5 |
6880 | 6894 |
6881 cat > conftest.$ac_ext <<EOF | 6895 cat > conftest.$ac_ext <<EOF |
6882 #line 6883 "configure" | 6896 #line 6897 "configure" |
6883 #include "confdefs.h" | 6897 #include "confdefs.h" |
6884 /* System header to define __stub macros and hopefully few prototypes, | 6898 /* System header to define __stub macros and hopefully few prototypes, |
6885 which can conflict with char $ac_func(); below. */ | 6899 which can conflict with char $ac_func(); below. */ |
6886 #include <assert.h> | 6900 #include <assert.h> |
6887 /* Override any gcc2 internal prototype to avoid an error. */ | 6901 /* Override any gcc2 internal prototype to avoid an error. */ |
6900 $ac_func(); | 6914 $ac_func(); |
6901 #endif | 6915 #endif |
6902 | 6916 |
6903 ; return 0; } | 6917 ; return 0; } |
6904 EOF | 6918 EOF |
6905 if { (eval echo configure:6906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6919 if { (eval echo configure:6920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6906 rm -rf conftest* | 6920 rm -rf conftest* |
6907 eval "ac_cv_func_$ac_func=yes" | 6921 eval "ac_cv_func_$ac_func=yes" |
6908 else | 6922 else |
6909 echo "configure: failed program was:" >&5 | 6923 echo "configure: failed program was:" >&5 |
6910 cat conftest.$ac_ext >&5 | 6924 cat conftest.$ac_ext >&5 |
6928 echo "$ac_t""no" 1>&6 | 6942 echo "$ac_t""no" 1>&6 |
6929 fi | 6943 fi |
6930 done | 6944 done |
6931 | 6945 |
6932 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 6946 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
6933 echo "configure:6934: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 6947 echo "configure:6948: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
6934 cat > conftest.$ac_ext <<EOF | 6948 cat > conftest.$ac_ext <<EOF |
6935 #line 6936 "configure" | 6949 #line 6950 "configure" |
6936 #include "confdefs.h" | 6950 #include "confdefs.h" |
6937 | 6951 |
6938 #define NeedFunctionPrototypes 1 | 6952 #define NeedFunctionPrototypes 1 |
6939 #include <X11/Xlib.h> | 6953 #include <X11/Xlib.h> |
6940 extern Bool XRegisterIMInstantiateCallback( | 6954 extern Bool XRegisterIMInstantiateCallback( |
6942 | 6956 |
6943 int main() { | 6957 int main() { |
6944 | 6958 |
6945 ; return 0; } | 6959 ; return 0; } |
6946 EOF | 6960 EOF |
6947 if { (eval echo configure:6948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6961 if { (eval echo configure:6962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6948 rm -rf conftest* | 6962 rm -rf conftest* |
6949 echo "$ac_t""yes" 1>&6 | 6963 echo "$ac_t""yes" 1>&6 |
6950 else | 6964 else |
6951 echo "configure: failed program was:" >&5 | 6965 echo "configure: failed program was:" >&5 |
6952 cat conftest.$ac_ext >&5 | 6966 cat conftest.$ac_ext >&5 |
6963 fi | 6977 fi |
6964 rm -f conftest* | 6978 rm -f conftest* |
6965 | 6979 |
6966 test -z "$with_xmu" && { | 6980 test -z "$with_xmu" && { |
6967 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6981 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6968 echo "configure:6969: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6982 echo "configure:6983: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6969 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6983 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6970 | 6984 |
6971 xe_check_libs=" -lXmu " | 6985 xe_check_libs=" -lXmu " |
6972 cat > conftest.$ac_ext <<EOF | 6986 cat > conftest.$ac_ext <<EOF |
6973 #line 6974 "configure" | 6987 #line 6988 "configure" |
6974 #include "confdefs.h" | 6988 #include "confdefs.h" |
6975 /* Override any gcc2 internal prototype to avoid an error. */ | 6989 /* Override any gcc2 internal prototype to avoid an error. */ |
6976 /* We use char because int might match the return type of a gcc2 | 6990 /* We use char because int might match the return type of a gcc2 |
6977 builtin and then its argument prototype would still apply. */ | 6991 builtin and then its argument prototype would still apply. */ |
6978 char XmuReadBitmapDataFromFile(); | 6992 char XmuReadBitmapDataFromFile(); |
6979 | 6993 |
6980 int main() { | 6994 int main() { |
6981 XmuReadBitmapDataFromFile() | 6995 XmuReadBitmapDataFromFile() |
6982 ; return 0; } | 6996 ; return 0; } |
6983 EOF | 6997 EOF |
6984 if { (eval echo configure:6985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6998 if { (eval echo configure:6999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6985 rm -rf conftest* | 6999 rm -rf conftest* |
6986 eval "ac_cv_lib_$ac_lib_var=yes" | 7000 eval "ac_cv_lib_$ac_lib_var=yes" |
6987 else | 7001 else |
6988 echo "configure: failed program was:" >&5 | 7002 echo "configure: failed program was:" >&5 |
6989 cat conftest.$ac_ext >&5 | 7003 cat conftest.$ac_ext >&5 |
7018 | 7032 |
7019 fi | 7033 fi |
7020 | 7034 |
7021 | 7035 |
7022 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7036 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7023 echo "configure:7024: checking for main in -lXbsd" >&5 | 7037 echo "configure:7038: checking for main in -lXbsd" >&5 |
7024 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7038 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7025 | 7039 |
7026 xe_check_libs=" -lXbsd " | 7040 xe_check_libs=" -lXbsd " |
7027 cat > conftest.$ac_ext <<EOF | 7041 cat > conftest.$ac_ext <<EOF |
7028 #line 7029 "configure" | 7042 #line 7043 "configure" |
7029 #include "confdefs.h" | 7043 #include "confdefs.h" |
7030 | 7044 |
7031 int main() { | 7045 int main() { |
7032 main() | 7046 main() |
7033 ; return 0; } | 7047 ; return 0; } |
7034 EOF | 7048 EOF |
7035 if { (eval echo configure:7036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7049 if { (eval echo configure:7050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7036 rm -rf conftest* | 7050 rm -rf conftest* |
7037 eval "ac_cv_lib_$ac_lib_var=yes" | 7051 eval "ac_cv_lib_$ac_lib_var=yes" |
7038 else | 7052 else |
7039 echo "configure: failed program was:" >&5 | 7053 echo "configure: failed program was:" >&5 |
7040 cat conftest.$ac_ext >&5 | 7054 cat conftest.$ac_ext >&5 |
7067 fi | 7081 fi |
7068 | 7082 |
7069 fi | 7083 fi |
7070 if test "$with_msw" != "no"; then | 7084 if test "$with_msw" != "no"; then |
7071 echo "checking for MS-Windows" 1>&6 | 7085 echo "checking for MS-Windows" 1>&6 |
7072 echo "configure:7073: checking for MS-Windows" >&5 | 7086 echo "configure:7087: checking for MS-Windows" >&5 |
7073 | 7087 |
7074 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7088 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7075 echo "configure:7076: checking for main in -lgdi32" >&5 | 7089 echo "configure:7090: checking for main in -lgdi32" >&5 |
7076 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7090 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7077 | 7091 |
7078 xe_check_libs=" -lgdi32 " | 7092 xe_check_libs=" -lgdi32 " |
7079 cat > conftest.$ac_ext <<EOF | 7093 cat > conftest.$ac_ext <<EOF |
7080 #line 7081 "configure" | 7094 #line 7095 "configure" |
7081 #include "confdefs.h" | 7095 #include "confdefs.h" |
7082 | 7096 |
7083 int main() { | 7097 int main() { |
7084 main() | 7098 main() |
7085 ; return 0; } | 7099 ; return 0; } |
7086 EOF | 7100 EOF |
7087 if { (eval echo configure:7088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7101 if { (eval echo configure:7102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7088 rm -rf conftest* | 7102 rm -rf conftest* |
7089 eval "ac_cv_lib_$ac_lib_var=yes" | 7103 eval "ac_cv_lib_$ac_lib_var=yes" |
7090 else | 7104 else |
7091 echo "configure: failed program was:" >&5 | 7105 echo "configure: failed program was:" >&5 |
7092 cat conftest.$ac_ext >&5 | 7106 cat conftest.$ac_ext >&5 |
7133 test "$with_toolbars" != "no" && with_toolbars=msw | 7147 test "$with_toolbars" != "no" && with_toolbars=msw |
7134 test "$with_dialogs" != "no" && with_dialogs=msw | 7148 test "$with_dialogs" != "no" && with_dialogs=msw |
7135 test "$with_widgets" != "no" && with_widgets=msw | 7149 test "$with_widgets" != "no" && with_widgets=msw |
7136 fi | 7150 fi |
7137 cat > conftest.$ac_ext <<EOF | 7151 cat > conftest.$ac_ext <<EOF |
7138 #line 7139 "configure" | 7152 #line 7153 "configure" |
7139 #include "confdefs.h" | 7153 #include "confdefs.h" |
7140 #include <fcntl.h> | 7154 #include <fcntl.h> |
7141 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7155 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7142 EOF | 7156 EOF |
7143 if { (eval echo configure:7144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7157 if { (eval echo configure:7158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7144 then | 7158 then |
7145 { test "$extra_verbose" = "yes" && cat << \EOF | 7159 { test "$extra_verbose" = "yes" && cat << \EOF |
7146 Defining HAVE_MSG_SELECT | 7160 Defining HAVE_MSG_SELECT |
7147 EOF | 7161 EOF |
7148 cat >> confdefs.h <<\EOF | 7162 cat >> confdefs.h <<\EOF |
7199 fi | 7213 fi |
7200 | 7214 |
7201 if test "$with_x11" = "yes"; then | 7215 if test "$with_x11" = "yes"; then |
7202 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7216 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7203 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7217 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7204 echo "configure:7205: checking for X11/extensions/shape.h" >&5 | 7218 echo "configure:7219: checking for X11/extensions/shape.h" >&5 |
7205 | 7219 |
7206 cat > conftest.$ac_ext <<EOF | 7220 cat > conftest.$ac_ext <<EOF |
7207 #line 7208 "configure" | 7221 #line 7222 "configure" |
7208 #include "confdefs.h" | 7222 #include "confdefs.h" |
7209 #include <X11/extensions/shape.h> | 7223 #include <X11/extensions/shape.h> |
7210 EOF | 7224 EOF |
7211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7225 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7212 { (eval echo configure:7213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7226 { (eval echo configure:7227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7227 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7214 if test -z "$ac_err"; then | 7228 if test -z "$ac_err"; then |
7215 rm -rf conftest* | 7229 rm -rf conftest* |
7216 eval "ac_cv_header_$ac_safe=yes" | 7230 eval "ac_cv_header_$ac_safe=yes" |
7217 else | 7231 else |
7257 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7271 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7258 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7272 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7259 esac | 7273 esac |
7260 | 7274 |
7261 echo "checking for WM_COMMAND option" 1>&6 | 7275 echo "checking for WM_COMMAND option" 1>&6 |
7262 echo "configure:7263: checking for WM_COMMAND option" >&5; | 7276 echo "configure:7277: checking for WM_COMMAND option" >&5; |
7263 if test "$with_wmcommand" != "no"; then | 7277 if test "$with_wmcommand" != "no"; then |
7264 { test "$extra_verbose" = "yes" && cat << \EOF | 7278 { test "$extra_verbose" = "yes" && cat << \EOF |
7265 Defining HAVE_WMCOMMAND | 7279 Defining HAVE_WMCOMMAND |
7266 EOF | 7280 EOF |
7267 cat >> confdefs.h <<\EOF | 7281 cat >> confdefs.h <<\EOF |
7272 fi | 7286 fi |
7273 | 7287 |
7274 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7288 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7275 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7289 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7276 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7290 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7277 echo "configure:7278: checking for X11/Xauth.h" >&5 | 7291 echo "configure:7292: checking for X11/Xauth.h" >&5 |
7278 | 7292 |
7279 cat > conftest.$ac_ext <<EOF | 7293 cat > conftest.$ac_ext <<EOF |
7280 #line 7281 "configure" | 7294 #line 7295 "configure" |
7281 #include "confdefs.h" | 7295 #include "confdefs.h" |
7282 #include <X11/Xauth.h> | 7296 #include <X11/Xauth.h> |
7283 EOF | 7297 EOF |
7284 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7298 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7285 { (eval echo configure:7286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7299 { (eval echo configure:7300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7286 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7300 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7287 if test -z "$ac_err"; then | 7301 if test -z "$ac_err"; then |
7288 rm -rf conftest* | 7302 rm -rf conftest* |
7289 eval "ac_cv_header_$ac_safe=yes" | 7303 eval "ac_cv_header_$ac_safe=yes" |
7290 else | 7304 else |
7303 with_xauth=no | 7317 with_xauth=no |
7304 fi | 7318 fi |
7305 } | 7319 } |
7306 test -z "$with_xauth" && { | 7320 test -z "$with_xauth" && { |
7307 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7321 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7308 echo "configure:7309: checking for XauGetAuthByAddr in -lXau" >&5 | 7322 echo "configure:7323: checking for XauGetAuthByAddr in -lXau" >&5 |
7309 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7323 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7310 | 7324 |
7311 xe_check_libs=" -lXau " | 7325 xe_check_libs=" -lXau " |
7312 cat > conftest.$ac_ext <<EOF | 7326 cat > conftest.$ac_ext <<EOF |
7313 #line 7314 "configure" | 7327 #line 7328 "configure" |
7314 #include "confdefs.h" | 7328 #include "confdefs.h" |
7315 /* Override any gcc2 internal prototype to avoid an error. */ | 7329 /* Override any gcc2 internal prototype to avoid an error. */ |
7316 /* We use char because int might match the return type of a gcc2 | 7330 /* We use char because int might match the return type of a gcc2 |
7317 builtin and then its argument prototype would still apply. */ | 7331 builtin and then its argument prototype would still apply. */ |
7318 char XauGetAuthByAddr(); | 7332 char XauGetAuthByAddr(); |
7319 | 7333 |
7320 int main() { | 7334 int main() { |
7321 XauGetAuthByAddr() | 7335 XauGetAuthByAddr() |
7322 ; return 0; } | 7336 ; return 0; } |
7323 EOF | 7337 EOF |
7324 if { (eval echo configure:7325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7338 if { (eval echo configure:7339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7325 rm -rf conftest* | 7339 rm -rf conftest* |
7326 eval "ac_cv_lib_$ac_lib_var=yes" | 7340 eval "ac_cv_lib_$ac_lib_var=yes" |
7327 else | 7341 else |
7328 echo "configure: failed program was:" >&5 | 7342 echo "configure: failed program was:" >&5 |
7329 cat conftest.$ac_ext >&5 | 7343 cat conftest.$ac_ext >&5 |
7364 | 7378 |
7365 if test "$with_tooltalk" != "no" ; then | 7379 if test "$with_tooltalk" != "no" ; then |
7366 for dir in "" "Tt/" "desktop/" ; do | 7380 for dir in "" "Tt/" "desktop/" ; do |
7367 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 7381 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
7368 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 7382 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
7369 echo "configure:7370: checking for ${dir}tt_c.h" >&5 | 7383 echo "configure:7384: checking for ${dir}tt_c.h" >&5 |
7370 | 7384 |
7371 cat > conftest.$ac_ext <<EOF | 7385 cat > conftest.$ac_ext <<EOF |
7372 #line 7373 "configure" | 7386 #line 7387 "configure" |
7373 #include "confdefs.h" | 7387 #include "confdefs.h" |
7374 #include <${dir}tt_c.h> | 7388 #include <${dir}tt_c.h> |
7375 EOF | 7389 EOF |
7376 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7390 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7377 { (eval echo configure:7378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7391 { (eval echo configure:7392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7378 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7392 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7379 if test -z "$ac_err"; then | 7393 if test -z "$ac_err"; then |
7380 rm -rf conftest* | 7394 rm -rf conftest* |
7381 eval "ac_cv_header_$ac_safe=yes" | 7395 eval "ac_cv_header_$ac_safe=yes" |
7382 else | 7396 else |
7408 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 7422 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
7409 | 7423 |
7410 xe_msg_checking="for tt_message_create in -ltt" | 7424 xe_msg_checking="for tt_message_create in -ltt" |
7411 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 7425 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
7412 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7426 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7413 echo "configure:7414: checking "$xe_msg_checking"" >&5 | 7427 echo "configure:7428: checking "$xe_msg_checking"" >&5 |
7414 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 7428 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
7415 | 7429 |
7416 xe_check_libs=" -ltt $extra_libs" | 7430 xe_check_libs=" -ltt $extra_libs" |
7417 cat > conftest.$ac_ext <<EOF | 7431 cat > conftest.$ac_ext <<EOF |
7418 #line 7419 "configure" | 7432 #line 7433 "configure" |
7419 #include "confdefs.h" | 7433 #include "confdefs.h" |
7420 /* Override any gcc2 internal prototype to avoid an error. */ | 7434 /* Override any gcc2 internal prototype to avoid an error. */ |
7421 /* We use char because int might match the return type of a gcc2 | 7435 /* We use char because int might match the return type of a gcc2 |
7422 builtin and then its argument prototype would still apply. */ | 7436 builtin and then its argument prototype would still apply. */ |
7423 char tt_message_create(); | 7437 char tt_message_create(); |
7424 | 7438 |
7425 int main() { | 7439 int main() { |
7426 tt_message_create() | 7440 tt_message_create() |
7427 ; return 0; } | 7441 ; return 0; } |
7428 EOF | 7442 EOF |
7429 if { (eval echo configure:7430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7443 if { (eval echo configure:7444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7430 rm -rf conftest* | 7444 rm -rf conftest* |
7431 eval "ac_cv_lib_$ac_lib_var=yes" | 7445 eval "ac_cv_lib_$ac_lib_var=yes" |
7432 else | 7446 else |
7433 echo "configure: failed program was:" >&5 | 7447 echo "configure: failed program was:" >&5 |
7434 cat conftest.$ac_ext >&5 | 7448 cat conftest.$ac_ext >&5 |
7478 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 7492 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
7479 fi | 7493 fi |
7480 | 7494 |
7481 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 7495 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
7482 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 7496 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
7483 echo "configure:7484: checking for Dt/Dt.h" >&5 | 7497 echo "configure:7498: checking for Dt/Dt.h" >&5 |
7484 | 7498 |
7485 cat > conftest.$ac_ext <<EOF | 7499 cat > conftest.$ac_ext <<EOF |
7486 #line 7487 "configure" | 7500 #line 7501 "configure" |
7487 #include "confdefs.h" | 7501 #include "confdefs.h" |
7488 #include <Dt/Dt.h> | 7502 #include <Dt/Dt.h> |
7489 EOF | 7503 EOF |
7490 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7504 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7491 { (eval echo configure:7492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7505 { (eval echo configure:7506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7492 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7506 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7493 if test -z "$ac_err"; then | 7507 if test -z "$ac_err"; then |
7494 rm -rf conftest* | 7508 rm -rf conftest* |
7495 eval "ac_cv_header_$ac_safe=yes" | 7509 eval "ac_cv_header_$ac_safe=yes" |
7496 else | 7510 else |
7509 with_cde=no | 7523 with_cde=no |
7510 fi | 7524 fi |
7511 } | 7525 } |
7512 test -z "$with_cde" && { | 7526 test -z "$with_cde" && { |
7513 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7527 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
7514 echo "configure:7515: checking for DtDndDragStart in -lDtSvc" >&5 | 7528 echo "configure:7529: checking for DtDndDragStart in -lDtSvc" >&5 |
7515 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7529 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
7516 | 7530 |
7517 xe_check_libs=" -lDtSvc " | 7531 xe_check_libs=" -lDtSvc " |
7518 cat > conftest.$ac_ext <<EOF | 7532 cat > conftest.$ac_ext <<EOF |
7519 #line 7520 "configure" | 7533 #line 7534 "configure" |
7520 #include "confdefs.h" | 7534 #include "confdefs.h" |
7521 /* Override any gcc2 internal prototype to avoid an error. */ | 7535 /* Override any gcc2 internal prototype to avoid an error. */ |
7522 /* We use char because int might match the return type of a gcc2 | 7536 /* We use char because int might match the return type of a gcc2 |
7523 builtin and then its argument prototype would still apply. */ | 7537 builtin and then its argument prototype would still apply. */ |
7524 char DtDndDragStart(); | 7538 char DtDndDragStart(); |
7525 | 7539 |
7526 int main() { | 7540 int main() { |
7527 DtDndDragStart() | 7541 DtDndDragStart() |
7528 ; return 0; } | 7542 ; return 0; } |
7529 EOF | 7543 EOF |
7530 if { (eval echo configure:7531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7544 if { (eval echo configure:7545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7531 rm -rf conftest* | 7545 rm -rf conftest* |
7532 eval "ac_cv_lib_$ac_lib_var=yes" | 7546 eval "ac_cv_lib_$ac_lib_var=yes" |
7533 else | 7547 else |
7534 echo "configure: failed program was:" >&5 | 7548 echo "configure: failed program was:" >&5 |
7535 cat conftest.$ac_ext >&5 | 7549 cat conftest.$ac_ext >&5 |
7606 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7620 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
7607 fi | 7621 fi |
7608 | 7622 |
7609 if test "$with_dragndrop" != "no" ; then | 7623 if test "$with_dragndrop" != "no" ; then |
7610 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7624 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
7611 echo "configure:7612: checking if drag and drop API is needed" >&5 | 7625 echo "configure:7626: checking if drag and drop API is needed" >&5 |
7612 if test -n "$dragndrop_proto" ; then | 7626 if test -n "$dragndrop_proto" ; then |
7613 with_dragndrop=yes | 7627 with_dragndrop=yes |
7614 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7628 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
7615 { test "$extra_verbose" = "yes" && cat << \EOF | 7629 { test "$extra_verbose" = "yes" && cat << \EOF |
7616 Defining HAVE_DRAGNDROP | 7630 Defining HAVE_DRAGNDROP |
7626 echo "$ac_t""no" 1>&6 | 7640 echo "$ac_t""no" 1>&6 |
7627 fi | 7641 fi |
7628 fi | 7642 fi |
7629 | 7643 |
7630 echo "checking for LDAP" 1>&6 | 7644 echo "checking for LDAP" 1>&6 |
7631 echo "configure:7632: checking for LDAP" >&5 | 7645 echo "configure:7646: checking for LDAP" >&5 |
7632 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7646 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
7633 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7647 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
7634 echo "configure:7635: checking for ldap.h" >&5 | 7648 echo "configure:7649: checking for ldap.h" >&5 |
7635 | 7649 |
7636 cat > conftest.$ac_ext <<EOF | 7650 cat > conftest.$ac_ext <<EOF |
7637 #line 7638 "configure" | 7651 #line 7652 "configure" |
7638 #include "confdefs.h" | 7652 #include "confdefs.h" |
7639 #include <ldap.h> | 7653 #include <ldap.h> |
7640 EOF | 7654 EOF |
7641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7655 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7642 { (eval echo configure:7643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7656 { (eval echo configure:7657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7643 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7657 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7644 if test -z "$ac_err"; then | 7658 if test -z "$ac_err"; then |
7645 rm -rf conftest* | 7659 rm -rf conftest* |
7646 eval "ac_cv_header_$ac_safe=yes" | 7660 eval "ac_cv_header_$ac_safe=yes" |
7647 else | 7661 else |
7660 with_ldap=no | 7674 with_ldap=no |
7661 fi | 7675 fi |
7662 } | 7676 } |
7663 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7677 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
7664 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7678 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
7665 echo "configure:7666: checking for lber.h" >&5 | 7679 echo "configure:7680: checking for lber.h" >&5 |
7666 | 7680 |
7667 cat > conftest.$ac_ext <<EOF | 7681 cat > conftest.$ac_ext <<EOF |
7668 #line 7669 "configure" | 7682 #line 7683 "configure" |
7669 #include "confdefs.h" | 7683 #include "confdefs.h" |
7670 #include <lber.h> | 7684 #include <lber.h> |
7671 EOF | 7685 EOF |
7672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7686 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7673 { (eval echo configure:7674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7687 { (eval echo configure:7688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7688 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7675 if test -z "$ac_err"; then | 7689 if test -z "$ac_err"; then |
7676 rm -rf conftest* | 7690 rm -rf conftest* |
7677 eval "ac_cv_header_$ac_safe=yes" | 7691 eval "ac_cv_header_$ac_safe=yes" |
7678 else | 7692 else |
7692 fi | 7706 fi |
7693 } | 7707 } |
7694 if test "$with_ldap" != "no"; then | 7708 if test "$with_ldap" != "no"; then |
7695 | 7709 |
7696 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7710 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
7697 echo "configure:7698: checking for ldap_search in -lldap" >&5 | 7711 echo "configure:7712: checking for ldap_search in -lldap" >&5 |
7698 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7712 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
7699 | 7713 |
7700 xe_check_libs=" -lldap " | 7714 xe_check_libs=" -lldap " |
7701 cat > conftest.$ac_ext <<EOF | 7715 cat > conftest.$ac_ext <<EOF |
7702 #line 7703 "configure" | 7716 #line 7717 "configure" |
7703 #include "confdefs.h" | 7717 #include "confdefs.h" |
7704 /* Override any gcc2 internal prototype to avoid an error. */ | 7718 /* Override any gcc2 internal prototype to avoid an error. */ |
7705 /* We use char because int might match the return type of a gcc2 | 7719 /* We use char because int might match the return type of a gcc2 |
7706 builtin and then its argument prototype would still apply. */ | 7720 builtin and then its argument prototype would still apply. */ |
7707 char ldap_search(); | 7721 char ldap_search(); |
7708 | 7722 |
7709 int main() { | 7723 int main() { |
7710 ldap_search() | 7724 ldap_search() |
7711 ; return 0; } | 7725 ; return 0; } |
7712 EOF | 7726 EOF |
7713 if { (eval echo configure:7714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7727 if { (eval echo configure:7728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7714 rm -rf conftest* | 7728 rm -rf conftest* |
7715 eval "ac_cv_lib_$ac_lib_var=yes" | 7729 eval "ac_cv_lib_$ac_lib_var=yes" |
7716 else | 7730 else |
7717 echo "configure: failed program was:" >&5 | 7731 echo "configure: failed program was:" >&5 |
7718 cat conftest.$ac_ext >&5 | 7732 cat conftest.$ac_ext >&5 |
7733 | 7747 |
7734 test "$with_ldap_nolber" = "no" && { | 7748 test "$with_ldap_nolber" = "no" && { |
7735 xe_msg_checking="for ldap_open in -lldap" | 7749 xe_msg_checking="for ldap_open in -lldap" |
7736 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7750 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
7737 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7751 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7738 echo "configure:7739: checking "$xe_msg_checking"" >&5 | 7752 echo "configure:7753: checking "$xe_msg_checking"" >&5 |
7739 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7753 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7740 | 7754 |
7741 xe_check_libs=" -lldap -llber" | 7755 xe_check_libs=" -lldap -llber" |
7742 cat > conftest.$ac_ext <<EOF | 7756 cat > conftest.$ac_ext <<EOF |
7743 #line 7744 "configure" | 7757 #line 7758 "configure" |
7744 #include "confdefs.h" | 7758 #include "confdefs.h" |
7745 /* Override any gcc2 internal prototype to avoid an error. */ | 7759 /* Override any gcc2 internal prototype to avoid an error. */ |
7746 /* We use char because int might match the return type of a gcc2 | 7760 /* We use char because int might match the return type of a gcc2 |
7747 builtin and then its argument prototype would still apply. */ | 7761 builtin and then its argument prototype would still apply. */ |
7748 char ldap_open(); | 7762 char ldap_open(); |
7749 | 7763 |
7750 int main() { | 7764 int main() { |
7751 ldap_open() | 7765 ldap_open() |
7752 ; return 0; } | 7766 ; return 0; } |
7753 EOF | 7767 EOF |
7754 if { (eval echo configure:7755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7768 if { (eval echo configure:7769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7755 rm -rf conftest* | 7769 rm -rf conftest* |
7756 eval "ac_cv_lib_$ac_lib_var=yes" | 7770 eval "ac_cv_lib_$ac_lib_var=yes" |
7757 else | 7771 else |
7758 echo "configure: failed program was:" >&5 | 7772 echo "configure: failed program was:" >&5 |
7759 cat conftest.$ac_ext >&5 | 7773 cat conftest.$ac_ext >&5 |
7774 } | 7788 } |
7775 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7789 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7776 xe_msg_checking="for ldap_open in -lldap" | 7790 xe_msg_checking="for ldap_open in -lldap" |
7777 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7791 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7778 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7792 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7779 echo "configure:7780: checking "$xe_msg_checking"" >&5 | 7793 echo "configure:7794: checking "$xe_msg_checking"" >&5 |
7780 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7794 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7781 | 7795 |
7782 xe_check_libs=" -lldap -llber -lkrb" | 7796 xe_check_libs=" -lldap -llber -lkrb" |
7783 cat > conftest.$ac_ext <<EOF | 7797 cat > conftest.$ac_ext <<EOF |
7784 #line 7785 "configure" | 7798 #line 7799 "configure" |
7785 #include "confdefs.h" | 7799 #include "confdefs.h" |
7786 /* Override any gcc2 internal prototype to avoid an error. */ | 7800 /* Override any gcc2 internal prototype to avoid an error. */ |
7787 /* We use char because int might match the return type of a gcc2 | 7801 /* We use char because int might match the return type of a gcc2 |
7788 builtin and then its argument prototype would still apply. */ | 7802 builtin and then its argument prototype would still apply. */ |
7789 char ldap_open(); | 7803 char ldap_open(); |
7790 | 7804 |
7791 int main() { | 7805 int main() { |
7792 ldap_open() | 7806 ldap_open() |
7793 ; return 0; } | 7807 ; return 0; } |
7794 EOF | 7808 EOF |
7795 if { (eval echo configure:7796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7809 if { (eval echo configure:7810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7796 rm -rf conftest* | 7810 rm -rf conftest* |
7797 eval "ac_cv_lib_$ac_lib_var=yes" | 7811 eval "ac_cv_lib_$ac_lib_var=yes" |
7798 else | 7812 else |
7799 echo "configure: failed program was:" >&5 | 7813 echo "configure: failed program was:" >&5 |
7800 cat conftest.$ac_ext >&5 | 7814 cat conftest.$ac_ext >&5 |
7815 } | 7829 } |
7816 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7830 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7817 xe_msg_checking="for ldap_open in -lldap" | 7831 xe_msg_checking="for ldap_open in -lldap" |
7818 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7832 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7819 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7833 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7820 echo "configure:7821: checking "$xe_msg_checking"" >&5 | 7834 echo "configure:7835: checking "$xe_msg_checking"" >&5 |
7821 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7835 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7822 | 7836 |
7823 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7837 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7824 cat > conftest.$ac_ext <<EOF | 7838 cat > conftest.$ac_ext <<EOF |
7825 #line 7826 "configure" | 7839 #line 7840 "configure" |
7826 #include "confdefs.h" | 7840 #include "confdefs.h" |
7827 /* Override any gcc2 internal prototype to avoid an error. */ | 7841 /* Override any gcc2 internal prototype to avoid an error. */ |
7828 /* We use char because int might match the return type of a gcc2 | 7842 /* We use char because int might match the return type of a gcc2 |
7829 builtin and then its argument prototype would still apply. */ | 7843 builtin and then its argument prototype would still apply. */ |
7830 char ldap_open(); | 7844 char ldap_open(); |
7831 | 7845 |
7832 int main() { | 7846 int main() { |
7833 ldap_open() | 7847 ldap_open() |
7834 ; return 0; } | 7848 ; return 0; } |
7835 EOF | 7849 EOF |
7836 if { (eval echo configure:7837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7850 if { (eval echo configure:7851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7837 rm -rf conftest* | 7851 rm -rf conftest* |
7838 eval "ac_cv_lib_$ac_lib_var=yes" | 7852 eval "ac_cv_lib_$ac_lib_var=yes" |
7839 else | 7853 else |
7840 echo "configure: failed program was:" >&5 | 7854 echo "configure: failed program was:" >&5 |
7841 cat conftest.$ac_ext >&5 | 7855 cat conftest.$ac_ext >&5 |
7879 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7893 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7880 fi | 7894 fi |
7881 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7895 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7882 do | 7896 do |
7883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7897 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7884 echo "configure:7885: checking for $ac_func" >&5 | 7898 echo "configure:7899: checking for $ac_func" >&5 |
7885 | 7899 |
7886 cat > conftest.$ac_ext <<EOF | 7900 cat > conftest.$ac_ext <<EOF |
7887 #line 7888 "configure" | 7901 #line 7902 "configure" |
7888 #include "confdefs.h" | 7902 #include "confdefs.h" |
7889 /* System header to define __stub macros and hopefully few prototypes, | 7903 /* System header to define __stub macros and hopefully few prototypes, |
7890 which can conflict with char $ac_func(); below. */ | 7904 which can conflict with char $ac_func(); below. */ |
7891 #include <assert.h> | 7905 #include <assert.h> |
7892 /* Override any gcc2 internal prototype to avoid an error. */ | 7906 /* Override any gcc2 internal prototype to avoid an error. */ |
7905 $ac_func(); | 7919 $ac_func(); |
7906 #endif | 7920 #endif |
7907 | 7921 |
7908 ; return 0; } | 7922 ; return 0; } |
7909 EOF | 7923 EOF |
7910 if { (eval echo configure:7911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7924 if { (eval echo configure:7925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7911 rm -rf conftest* | 7925 rm -rf conftest* |
7912 eval "ac_cv_func_$ac_func=yes" | 7926 eval "ac_cv_func_$ac_func=yes" |
7913 else | 7927 else |
7914 echo "configure: failed program was:" >&5 | 7928 echo "configure: failed program was:" >&5 |
7915 cat conftest.$ac_ext >&5 | 7929 cat conftest.$ac_ext >&5 |
7936 | 7950 |
7937 fi | 7951 fi |
7938 | 7952 |
7939 if test "$with_postgresql" != "no"; then | 7953 if test "$with_postgresql" != "no"; then |
7940 echo "checking for PostgreSQL" 1>&6 | 7954 echo "checking for PostgreSQL" 1>&6 |
7941 echo "configure:7942: checking for PostgreSQL" >&5 | 7955 echo "configure:7956: checking for PostgreSQL" >&5 |
7942 | 7956 |
7943 for header_dir in "" "pgsql/" "postgresql/"; do | 7957 for header_dir in "" "pgsql/" "postgresql/"; do |
7944 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7958 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
7945 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7959 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
7946 echo "configure:7947: checking for ${header_dir}libpq-fe.h" >&5 | 7960 echo "configure:7961: checking for ${header_dir}libpq-fe.h" >&5 |
7947 | 7961 |
7948 cat > conftest.$ac_ext <<EOF | 7962 cat > conftest.$ac_ext <<EOF |
7949 #line 7950 "configure" | 7963 #line 7964 "configure" |
7950 #include "confdefs.h" | 7964 #include "confdefs.h" |
7951 #include <${header_dir}libpq-fe.h> | 7965 #include <${header_dir}libpq-fe.h> |
7952 EOF | 7966 EOF |
7953 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7954 { (eval echo configure:7955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7968 { (eval echo configure:7969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7955 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7969 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7956 if test -z "$ac_err"; then | 7970 if test -z "$ac_err"; then |
7957 rm -rf conftest* | 7971 rm -rf conftest* |
7958 eval "ac_cv_header_$ac_safe=yes" | 7972 eval "ac_cv_header_$ac_safe=yes" |
7959 else | 7973 else |
7973 | 7987 |
7974 done | 7988 done |
7975 | 7989 |
7976 test -n "$libpq_fe_h_file" && { | 7990 test -n "$libpq_fe_h_file" && { |
7977 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 7991 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
7978 echo "configure:7979: checking for PQconnectdb in -lpq" >&5 | 7992 echo "configure:7993: checking for PQconnectdb in -lpq" >&5 |
7979 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 7993 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
7980 | 7994 |
7981 xe_check_libs=" -lpq " | 7995 xe_check_libs=" -lpq " |
7982 cat > conftest.$ac_ext <<EOF | 7996 cat > conftest.$ac_ext <<EOF |
7983 #line 7984 "configure" | 7997 #line 7998 "configure" |
7984 #include "confdefs.h" | 7998 #include "confdefs.h" |
7985 /* Override any gcc2 internal prototype to avoid an error. */ | 7999 /* Override any gcc2 internal prototype to avoid an error. */ |
7986 /* We use char because int might match the return type of a gcc2 | 8000 /* We use char because int might match the return type of a gcc2 |
7987 builtin and then its argument prototype would still apply. */ | 8001 builtin and then its argument prototype would still apply. */ |
7988 char PQconnectdb(); | 8002 char PQconnectdb(); |
7989 | 8003 |
7990 int main() { | 8004 int main() { |
7991 PQconnectdb() | 8005 PQconnectdb() |
7992 ; return 0; } | 8006 ; return 0; } |
7993 EOF | 8007 EOF |
7994 if { (eval echo configure:7995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8008 if { (eval echo configure:8009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7995 rm -rf conftest* | 8009 rm -rf conftest* |
7996 eval "ac_cv_lib_$ac_lib_var=yes" | 8010 eval "ac_cv_lib_$ac_lib_var=yes" |
7997 else | 8011 else |
7998 echo "configure: failed program was:" >&5 | 8012 echo "configure: failed program was:" >&5 |
7999 cat conftest.$ac_ext >&5 | 8013 cat conftest.$ac_ext >&5 |
8022 EOF | 8036 EOF |
8023 } | 8037 } |
8024 | 8038 |
8025 | 8039 |
8026 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 8040 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
8027 echo "configure:8028: checking for PQconnectStart in -lpq" >&5 | 8041 echo "configure:8042: checking for PQconnectStart in -lpq" >&5 |
8028 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 8042 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
8029 | 8043 |
8030 xe_check_libs=" -lpq " | 8044 xe_check_libs=" -lpq " |
8031 cat > conftest.$ac_ext <<EOF | 8045 cat > conftest.$ac_ext <<EOF |
8032 #line 8033 "configure" | 8046 #line 8047 "configure" |
8033 #include "confdefs.h" | 8047 #include "confdefs.h" |
8034 /* Override any gcc2 internal prototype to avoid an error. */ | 8048 /* Override any gcc2 internal prototype to avoid an error. */ |
8035 /* We use char because int might match the return type of a gcc2 | 8049 /* We use char because int might match the return type of a gcc2 |
8036 builtin and then its argument prototype would still apply. */ | 8050 builtin and then its argument prototype would still apply. */ |
8037 char PQconnectStart(); | 8051 char PQconnectStart(); |
8038 | 8052 |
8039 int main() { | 8053 int main() { |
8040 PQconnectStart() | 8054 PQconnectStart() |
8041 ; return 0; } | 8055 ; return 0; } |
8042 EOF | 8056 EOF |
8043 if { (eval echo configure:8044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8057 if { (eval echo configure:8058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8044 rm -rf conftest* | 8058 rm -rf conftest* |
8045 eval "ac_cv_lib_$ac_lib_var=yes" | 8059 eval "ac_cv_lib_$ac_lib_var=yes" |
8046 else | 8060 else |
8047 echo "configure: failed program was:" >&5 | 8061 echo "configure: failed program was:" >&5 |
8048 cat conftest.$ac_ext >&5 | 8062 cat conftest.$ac_ext >&5 |
8083 fi | 8097 fi |
8084 | 8098 |
8085 | 8099 |
8086 if test "$window_system" != "none"; then | 8100 if test "$window_system" != "none"; then |
8087 echo "checking for graphics libraries" 1>&6 | 8101 echo "checking for graphics libraries" 1>&6 |
8088 echo "configure:8089: checking for graphics libraries" >&5 | 8102 echo "configure:8103: checking for graphics libraries" >&5 |
8089 | 8103 |
8090 libpath_xpm= | 8104 libpath_xpm= |
8091 incpath_xpm= | 8105 incpath_xpm= |
8092 case "$opsys" in | 8106 case "$opsys" in |
8093 cygwin*) | 8107 cygwin*) |
8109 xpm_problem="" | 8123 xpm_problem="" |
8110 if test -z "$with_xpm"; then | 8124 if test -z "$with_xpm"; then |
8111 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 8125 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
8112 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 8126 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
8113 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 8127 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
8114 echo "configure:8115: checking for Xpm - no older than 3.4f" >&5 | 8128 echo "configure:8129: checking for Xpm - no older than 3.4f" >&5 |
8115 xe_check_libs=-lXpm | 8129 xe_check_libs=-lXpm |
8116 cat > conftest.$ac_ext <<EOF | 8130 cat > conftest.$ac_ext <<EOF |
8117 #line 8118 "configure" | 8131 #line 8132 "configure" |
8118 #include "confdefs.h" | 8132 #include "confdefs.h" |
8119 #define XPM_NUMBERS | 8133 #define XPM_NUMBERS |
8120 #include <X11/xpm.h> | 8134 #include <X11/xpm.h> |
8121 int main(int c, char **v) { | 8135 int main(int c, char **v) { |
8122 return c == 1 ? 0 : | 8136 return c == 1 ? 0 : |
8123 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 8137 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
8124 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 8138 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
8125 EOF | 8139 EOF |
8126 if { (eval echo configure:8127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8140 if { (eval echo configure:8141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8127 then | 8141 then |
8128 ./conftest dummy_arg; xpm_status=$?; | 8142 ./conftest dummy_arg; xpm_status=$?; |
8129 if test "$xpm_status" = "0"; then | 8143 if test "$xpm_status" = "0"; then |
8130 with_xpm=yes; | 8144 with_xpm=yes; |
8131 else | 8145 else |
8165 | 8179 |
8166 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 8180 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
8167 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 8181 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
8168 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 8182 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
8169 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 8183 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
8170 echo "configure:8171: checking for \"FOR_MSW\" xpm" >&5 | 8184 echo "configure:8185: checking for \"FOR_MSW\" xpm" >&5 |
8171 xe_check_libs=-lXpm | 8185 xe_check_libs=-lXpm |
8172 cat > conftest.$ac_ext <<EOF | 8186 cat > conftest.$ac_ext <<EOF |
8173 #line 8174 "configure" | 8187 #line 8188 "configure" |
8174 #include "confdefs.h" | 8188 #include "confdefs.h" |
8175 | 8189 |
8176 int main() { | 8190 int main() { |
8177 XpmCreatePixmapFromData() | 8191 XpmCreatePixmapFromData() |
8178 ; return 0; } | 8192 ; return 0; } |
8179 EOF | 8193 EOF |
8180 if { (eval echo configure:8181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8194 if { (eval echo configure:8195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8181 rm -rf conftest* | 8195 rm -rf conftest* |
8182 xpm_for_msw=no | 8196 xpm_for_msw=no |
8183 else | 8197 else |
8184 echo "configure: failed program was:" >&5 | 8198 echo "configure: failed program was:" >&5 |
8185 cat conftest.$ac_ext >&5 | 8199 cat conftest.$ac_ext >&5 |
8201 fi | 8215 fi |
8202 fi | 8216 fi |
8203 | 8217 |
8204 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8218 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8205 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8219 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8206 echo "configure:8207: checking for compface.h" >&5 | 8220 echo "configure:8221: checking for compface.h" >&5 |
8207 | 8221 |
8208 cat > conftest.$ac_ext <<EOF | 8222 cat > conftest.$ac_ext <<EOF |
8209 #line 8210 "configure" | 8223 #line 8224 "configure" |
8210 #include "confdefs.h" | 8224 #include "confdefs.h" |
8211 #include <compface.h> | 8225 #include <compface.h> |
8212 EOF | 8226 EOF |
8213 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8227 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8214 { (eval echo configure:8215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8228 { (eval echo configure:8229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8215 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8229 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8216 if test -z "$ac_err"; then | 8230 if test -z "$ac_err"; then |
8217 rm -rf conftest* | 8231 rm -rf conftest* |
8218 eval "ac_cv_header_$ac_safe=yes" | 8232 eval "ac_cv_header_$ac_safe=yes" |
8219 else | 8233 else |
8232 with_xface=no | 8246 with_xface=no |
8233 fi | 8247 fi |
8234 } | 8248 } |
8235 test -z "$with_xface" && { | 8249 test -z "$with_xface" && { |
8236 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8250 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8237 echo "configure:8238: checking for UnGenFace in -lcompface" >&5 | 8251 echo "configure:8252: checking for UnGenFace in -lcompface" >&5 |
8238 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8252 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8239 | 8253 |
8240 xe_check_libs=" -lcompface " | 8254 xe_check_libs=" -lcompface " |
8241 cat > conftest.$ac_ext <<EOF | 8255 cat > conftest.$ac_ext <<EOF |
8242 #line 8243 "configure" | 8256 #line 8257 "configure" |
8243 #include "confdefs.h" | 8257 #include "confdefs.h" |
8244 /* Override any gcc2 internal prototype to avoid an error. */ | 8258 /* Override any gcc2 internal prototype to avoid an error. */ |
8245 /* We use char because int might match the return type of a gcc2 | 8259 /* We use char because int might match the return type of a gcc2 |
8246 builtin and then its argument prototype would still apply. */ | 8260 builtin and then its argument prototype would still apply. */ |
8247 char UnGenFace(); | 8261 char UnGenFace(); |
8248 | 8262 |
8249 int main() { | 8263 int main() { |
8250 UnGenFace() | 8264 UnGenFace() |
8251 ; return 0; } | 8265 ; return 0; } |
8252 EOF | 8266 EOF |
8253 if { (eval echo configure:8254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8267 if { (eval echo configure:8268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8254 rm -rf conftest* | 8268 rm -rf conftest* |
8255 eval "ac_cv_lib_$ac_lib_var=yes" | 8269 eval "ac_cv_lib_$ac_lib_var=yes" |
8256 else | 8270 else |
8257 echo "configure: failed program was:" >&5 | 8271 echo "configure: failed program was:" >&5 |
8258 cat conftest.$ac_ext >&5 | 8272 cat conftest.$ac_ext >&5 |
8297 fi | 8311 fi |
8298 | 8312 |
8299 if test "$with_png $with_tiff" != "no no"; then | 8313 if test "$with_png $with_tiff" != "no no"; then |
8300 | 8314 |
8301 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 8315 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
8302 echo "configure:8303: checking for inflate in -lc" >&5 | 8316 echo "configure:8317: checking for inflate in -lc" >&5 |
8303 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 8317 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
8304 | 8318 |
8305 xe_check_libs=" -lc " | 8319 xe_check_libs=" -lc " |
8306 cat > conftest.$ac_ext <<EOF | 8320 cat > conftest.$ac_ext <<EOF |
8307 #line 8308 "configure" | 8321 #line 8322 "configure" |
8308 #include "confdefs.h" | 8322 #include "confdefs.h" |
8309 /* Override any gcc2 internal prototype to avoid an error. */ | 8323 /* Override any gcc2 internal prototype to avoid an error. */ |
8310 /* We use char because int might match the return type of a gcc2 | 8324 /* We use char because int might match the return type of a gcc2 |
8311 builtin and then its argument prototype would still apply. */ | 8325 builtin and then its argument prototype would still apply. */ |
8312 char inflate(); | 8326 char inflate(); |
8313 | 8327 |
8314 int main() { | 8328 int main() { |
8315 inflate() | 8329 inflate() |
8316 ; return 0; } | 8330 ; return 0; } |
8317 EOF | 8331 EOF |
8318 if { (eval echo configure:8319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8332 if { (eval echo configure:8333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8319 rm -rf conftest* | 8333 rm -rf conftest* |
8320 eval "ac_cv_lib_$ac_lib_var=yes" | 8334 eval "ac_cv_lib_$ac_lib_var=yes" |
8321 else | 8335 else |
8322 echo "configure: failed program was:" >&5 | 8336 echo "configure: failed program was:" >&5 |
8323 cat conftest.$ac_ext >&5 | 8337 cat conftest.$ac_ext >&5 |
8332 : | 8346 : |
8333 else | 8347 else |
8334 echo "$ac_t""no" 1>&6 | 8348 echo "$ac_t""no" 1>&6 |
8335 | 8349 |
8336 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8350 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
8337 echo "configure:8338: checking for inflate in -lz" >&5 | 8351 echo "configure:8352: checking for inflate in -lz" >&5 |
8338 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8352 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
8339 | 8353 |
8340 xe_check_libs=" -lz " | 8354 xe_check_libs=" -lz " |
8341 cat > conftest.$ac_ext <<EOF | 8355 cat > conftest.$ac_ext <<EOF |
8342 #line 8343 "configure" | 8356 #line 8357 "configure" |
8343 #include "confdefs.h" | 8357 #include "confdefs.h" |
8344 /* Override any gcc2 internal prototype to avoid an error. */ | 8358 /* Override any gcc2 internal prototype to avoid an error. */ |
8345 /* We use char because int might match the return type of a gcc2 | 8359 /* We use char because int might match the return type of a gcc2 |
8346 builtin and then its argument prototype would still apply. */ | 8360 builtin and then its argument prototype would still apply. */ |
8347 char inflate(); | 8361 char inflate(); |
8348 | 8362 |
8349 int main() { | 8363 int main() { |
8350 inflate() | 8364 inflate() |
8351 ; return 0; } | 8365 ; return 0; } |
8352 EOF | 8366 EOF |
8353 if { (eval echo configure:8354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8367 if { (eval echo configure:8368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8354 rm -rf conftest* | 8368 rm -rf conftest* |
8355 eval "ac_cv_lib_$ac_lib_var=yes" | 8369 eval "ac_cv_lib_$ac_lib_var=yes" |
8356 else | 8370 else |
8357 echo "configure: failed program was:" >&5 | 8371 echo "configure: failed program was:" >&5 |
8358 cat conftest.$ac_ext >&5 | 8372 cat conftest.$ac_ext >&5 |
8367 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8381 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
8368 else | 8382 else |
8369 echo "$ac_t""no" 1>&6 | 8383 echo "$ac_t""no" 1>&6 |
8370 | 8384 |
8371 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8385 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
8372 echo "configure:8373: checking for inflate in -lgz" >&5 | 8386 echo "configure:8387: checking for inflate in -lgz" >&5 |
8373 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8387 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
8374 | 8388 |
8375 xe_check_libs=" -lgz " | 8389 xe_check_libs=" -lgz " |
8376 cat > conftest.$ac_ext <<EOF | 8390 cat > conftest.$ac_ext <<EOF |
8377 #line 8378 "configure" | 8391 #line 8392 "configure" |
8378 #include "confdefs.h" | 8392 #include "confdefs.h" |
8379 /* Override any gcc2 internal prototype to avoid an error. */ | 8393 /* Override any gcc2 internal prototype to avoid an error. */ |
8380 /* We use char because int might match the return type of a gcc2 | 8394 /* We use char because int might match the return type of a gcc2 |
8381 builtin and then its argument prototype would still apply. */ | 8395 builtin and then its argument prototype would still apply. */ |
8382 char inflate(); | 8396 char inflate(); |
8383 | 8397 |
8384 int main() { | 8398 int main() { |
8385 inflate() | 8399 inflate() |
8386 ; return 0; } | 8400 ; return 0; } |
8387 EOF | 8401 EOF |
8388 if { (eval echo configure:8389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8402 if { (eval echo configure:8403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8389 rm -rf conftest* | 8403 rm -rf conftest* |
8390 eval "ac_cv_lib_$ac_lib_var=yes" | 8404 eval "ac_cv_lib_$ac_lib_var=yes" |
8391 else | 8405 else |
8392 echo "configure: failed program was:" >&5 | 8406 echo "configure: failed program was:" >&5 |
8393 cat conftest.$ac_ext >&5 | 8407 cat conftest.$ac_ext >&5 |
8413 | 8427 |
8414 fi | 8428 fi |
8415 | 8429 |
8416 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8430 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
8417 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8431 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
8418 echo "configure:8419: checking for jpeglib.h" >&5 | 8432 echo "configure:8433: checking for jpeglib.h" >&5 |
8419 | 8433 |
8420 cat > conftest.$ac_ext <<EOF | 8434 cat > conftest.$ac_ext <<EOF |
8421 #line 8422 "configure" | 8435 #line 8436 "configure" |
8422 #include "confdefs.h" | 8436 #include "confdefs.h" |
8423 #include <jpeglib.h> | 8437 #include <jpeglib.h> |
8424 EOF | 8438 EOF |
8425 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8439 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8426 { (eval echo configure:8427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8440 { (eval echo configure:8441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8427 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8441 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8428 if test -z "$ac_err"; then | 8442 if test -z "$ac_err"; then |
8429 rm -rf conftest* | 8443 rm -rf conftest* |
8430 eval "ac_cv_header_$ac_safe=yes" | 8444 eval "ac_cv_header_$ac_safe=yes" |
8431 else | 8445 else |
8444 with_jpeg=no | 8458 with_jpeg=no |
8445 fi | 8459 fi |
8446 } | 8460 } |
8447 test -z "$with_jpeg" && { | 8461 test -z "$with_jpeg" && { |
8448 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8462 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
8449 echo "configure:8450: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8463 echo "configure:8464: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
8450 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8464 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
8451 | 8465 |
8452 xe_check_libs=" -ljpeg " | 8466 xe_check_libs=" -ljpeg " |
8453 cat > conftest.$ac_ext <<EOF | 8467 cat > conftest.$ac_ext <<EOF |
8454 #line 8455 "configure" | 8468 #line 8469 "configure" |
8455 #include "confdefs.h" | 8469 #include "confdefs.h" |
8456 /* Override any gcc2 internal prototype to avoid an error. */ | 8470 /* Override any gcc2 internal prototype to avoid an error. */ |
8457 /* We use char because int might match the return type of a gcc2 | 8471 /* We use char because int might match the return type of a gcc2 |
8458 builtin and then its argument prototype would still apply. */ | 8472 builtin and then its argument prototype would still apply. */ |
8459 char jpeg_destroy_decompress(); | 8473 char jpeg_destroy_decompress(); |
8460 | 8474 |
8461 int main() { | 8475 int main() { |
8462 jpeg_destroy_decompress() | 8476 jpeg_destroy_decompress() |
8463 ; return 0; } | 8477 ; return 0; } |
8464 EOF | 8478 EOF |
8465 if { (eval echo configure:8466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8479 if { (eval echo configure:8480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8466 rm -rf conftest* | 8480 rm -rf conftest* |
8467 eval "ac_cv_lib_$ac_lib_var=yes" | 8481 eval "ac_cv_lib_$ac_lib_var=yes" |
8468 else | 8482 else |
8469 echo "configure: failed program was:" >&5 | 8483 echo "configure: failed program was:" >&5 |
8470 cat conftest.$ac_ext >&5 | 8484 cat conftest.$ac_ext >&5 |
8496 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8510 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
8497 fi | 8511 fi |
8498 | 8512 |
8499 png_problem="" | 8513 png_problem="" |
8500 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8514 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
8501 echo "configure:8502: checking for pow" >&5 | 8515 echo "configure:8516: checking for pow" >&5 |
8502 | 8516 |
8503 cat > conftest.$ac_ext <<EOF | 8517 cat > conftest.$ac_ext <<EOF |
8504 #line 8505 "configure" | 8518 #line 8519 "configure" |
8505 #include "confdefs.h" | 8519 #include "confdefs.h" |
8506 /* System header to define __stub macros and hopefully few prototypes, | 8520 /* System header to define __stub macros and hopefully few prototypes, |
8507 which can conflict with char pow(); below. */ | 8521 which can conflict with char pow(); below. */ |
8508 #include <assert.h> | 8522 #include <assert.h> |
8509 /* Override any gcc2 internal prototype to avoid an error. */ | 8523 /* Override any gcc2 internal prototype to avoid an error. */ |
8522 pow(); | 8536 pow(); |
8523 #endif | 8537 #endif |
8524 | 8538 |
8525 ; return 0; } | 8539 ; return 0; } |
8526 EOF | 8540 EOF |
8527 if { (eval echo configure:8528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8541 if { (eval echo configure:8542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8528 rm -rf conftest* | 8542 rm -rf conftest* |
8529 eval "ac_cv_func_pow=yes" | 8543 eval "ac_cv_func_pow=yes" |
8530 else | 8544 else |
8531 echo "configure: failed program was:" >&5 | 8545 echo "configure: failed program was:" >&5 |
8532 cat conftest.$ac_ext >&5 | 8546 cat conftest.$ac_ext >&5 |
8543 with_png=no | 8557 with_png=no |
8544 fi | 8558 fi |
8545 } | 8559 } |
8546 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8560 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
8547 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8561 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
8548 echo "configure:8549: checking for png.h" >&5 | 8562 echo "configure:8563: checking for png.h" >&5 |
8549 | 8563 |
8550 cat > conftest.$ac_ext <<EOF | 8564 cat > conftest.$ac_ext <<EOF |
8551 #line 8552 "configure" | 8565 #line 8566 "configure" |
8552 #include "confdefs.h" | 8566 #include "confdefs.h" |
8553 #include <png.h> | 8567 #include <png.h> |
8554 EOF | 8568 EOF |
8555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8569 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8556 { (eval echo configure:8557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8570 { (eval echo configure:8571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8557 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8571 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8558 if test -z "$ac_err"; then | 8572 if test -z "$ac_err"; then |
8559 rm -rf conftest* | 8573 rm -rf conftest* |
8560 eval "ac_cv_header_$ac_safe=yes" | 8574 eval "ac_cv_header_$ac_safe=yes" |
8561 else | 8575 else |
8574 with_png=no | 8588 with_png=no |
8575 fi | 8589 fi |
8576 } | 8590 } |
8577 test -z "$with_png" && { | 8591 test -z "$with_png" && { |
8578 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8592 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
8579 echo "configure:8580: checking for png_read_image in -lpng" >&5 | 8593 echo "configure:8594: checking for png_read_image in -lpng" >&5 |
8580 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8594 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
8581 | 8595 |
8582 xe_check_libs=" -lpng " | 8596 xe_check_libs=" -lpng " |
8583 cat > conftest.$ac_ext <<EOF | 8597 cat > conftest.$ac_ext <<EOF |
8584 #line 8585 "configure" | 8598 #line 8599 "configure" |
8585 #include "confdefs.h" | 8599 #include "confdefs.h" |
8586 /* Override any gcc2 internal prototype to avoid an error. */ | 8600 /* Override any gcc2 internal prototype to avoid an error. */ |
8587 /* We use char because int might match the return type of a gcc2 | 8601 /* We use char because int might match the return type of a gcc2 |
8588 builtin and then its argument prototype would still apply. */ | 8602 builtin and then its argument prototype would still apply. */ |
8589 char png_read_image(); | 8603 char png_read_image(); |
8590 | 8604 |
8591 int main() { | 8605 int main() { |
8592 png_read_image() | 8606 png_read_image() |
8593 ; return 0; } | 8607 ; return 0; } |
8594 EOF | 8608 EOF |
8595 if { (eval echo configure:8596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8609 if { (eval echo configure:8610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8596 rm -rf conftest* | 8610 rm -rf conftest* |
8597 eval "ac_cv_lib_$ac_lib_var=yes" | 8611 eval "ac_cv_lib_$ac_lib_var=yes" |
8598 else | 8612 else |
8599 echo "configure: failed program was:" >&5 | 8613 echo "configure: failed program was:" >&5 |
8600 cat conftest.$ac_ext >&5 | 8614 cat conftest.$ac_ext >&5 |
8613 fi | 8627 fi |
8614 | 8628 |
8615 } | 8629 } |
8616 if test -z "$with_png"; then | 8630 if test -z "$with_png"; then |
8617 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8631 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
8618 echo "configure:8619: checking for workable png version information" >&5 | 8632 echo "configure:8633: checking for workable png version information" >&5 |
8619 xe_check_libs="-lpng -lz" | 8633 xe_check_libs="-lpng -lz" |
8620 cat > conftest.$ac_ext <<EOF | 8634 cat > conftest.$ac_ext <<EOF |
8621 #line 8622 "configure" | 8635 #line 8636 "configure" |
8622 #include "confdefs.h" | 8636 #include "confdefs.h" |
8623 #include <png.h> | 8637 #include <png.h> |
8624 int main(int c, char **v) { | 8638 int main(int c, char **v) { |
8625 if (c == 1) return 0; | 8639 if (c == 1) return 0; |
8626 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8640 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
8627 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8641 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
8628 EOF | 8642 EOF |
8629 if { (eval echo configure:8630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8643 if { (eval echo configure:8644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8630 then | 8644 then |
8631 ./conftest dummy_arg; png_status=$?; | 8645 ./conftest dummy_arg; png_status=$?; |
8632 if test "$png_status" = "0"; then | 8646 if test "$png_status" = "0"; then |
8633 with_png=yes; | 8647 with_png=yes; |
8634 else | 8648 else |
8667 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8681 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8668 fi | 8682 fi |
8669 | 8683 |
8670 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8684 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8671 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8685 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8672 echo "configure:8673: checking for tiffio.h" >&5 | 8686 echo "configure:8687: checking for tiffio.h" >&5 |
8673 | 8687 |
8674 cat > conftest.$ac_ext <<EOF | 8688 cat > conftest.$ac_ext <<EOF |
8675 #line 8676 "configure" | 8689 #line 8690 "configure" |
8676 #include "confdefs.h" | 8690 #include "confdefs.h" |
8677 #include <tiffio.h> | 8691 #include <tiffio.h> |
8678 EOF | 8692 EOF |
8679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8680 { (eval echo configure:8681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8694 { (eval echo configure:8695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8682 if test -z "$ac_err"; then | 8696 if test -z "$ac_err"; then |
8683 rm -rf conftest* | 8697 rm -rf conftest* |
8684 eval "ac_cv_header_$ac_safe=yes" | 8698 eval "ac_cv_header_$ac_safe=yes" |
8685 else | 8699 else |
8698 with_tiff=no | 8712 with_tiff=no |
8699 fi | 8713 fi |
8700 } | 8714 } |
8701 test -z "$with_tiff" && { | 8715 test -z "$with_tiff" && { |
8702 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8716 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8703 echo "configure:8704: checking for TIFFClientOpen in -ltiff" >&5 | 8717 echo "configure:8718: checking for TIFFClientOpen in -ltiff" >&5 |
8704 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8718 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8705 | 8719 |
8706 xe_check_libs=" -ltiff " | 8720 xe_check_libs=" -ltiff " |
8707 cat > conftest.$ac_ext <<EOF | 8721 cat > conftest.$ac_ext <<EOF |
8708 #line 8709 "configure" | 8722 #line 8723 "configure" |
8709 #include "confdefs.h" | 8723 #include "confdefs.h" |
8710 /* Override any gcc2 internal prototype to avoid an error. */ | 8724 /* Override any gcc2 internal prototype to avoid an error. */ |
8711 /* We use char because int might match the return type of a gcc2 | 8725 /* We use char because int might match the return type of a gcc2 |
8712 builtin and then its argument prototype would still apply. */ | 8726 builtin and then its argument prototype would still apply. */ |
8713 char TIFFClientOpen(); | 8727 char TIFFClientOpen(); |
8714 | 8728 |
8715 int main() { | 8729 int main() { |
8716 TIFFClientOpen() | 8730 TIFFClientOpen() |
8717 ; return 0; } | 8731 ; return 0; } |
8718 EOF | 8732 EOF |
8719 if { (eval echo configure:8720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8733 if { (eval echo configure:8734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8720 rm -rf conftest* | 8734 rm -rf conftest* |
8721 eval "ac_cv_lib_$ac_lib_var=yes" | 8735 eval "ac_cv_lib_$ac_lib_var=yes" |
8722 else | 8736 else |
8723 echo "configure: failed program was:" >&5 | 8737 echo "configure: failed program was:" >&5 |
8724 cat conftest.$ac_ext >&5 | 8738 cat conftest.$ac_ext >&5 |
8753 | 8767 |
8754 | 8768 |
8755 if test "$with_gtk" = "yes"; then | 8769 if test "$with_gtk" = "yes"; then |
8756 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8770 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8757 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8771 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8758 echo "configure:8759: checking for compface.h" >&5 | 8772 echo "configure:8773: checking for compface.h" >&5 |
8759 | 8773 |
8760 cat > conftest.$ac_ext <<EOF | 8774 cat > conftest.$ac_ext <<EOF |
8761 #line 8762 "configure" | 8775 #line 8776 "configure" |
8762 #include "confdefs.h" | 8776 #include "confdefs.h" |
8763 #include <compface.h> | 8777 #include <compface.h> |
8764 EOF | 8778 EOF |
8765 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8779 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8766 { (eval echo configure:8767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8780 { (eval echo configure:8781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8767 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8781 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8768 if test -z "$ac_err"; then | 8782 if test -z "$ac_err"; then |
8769 rm -rf conftest* | 8783 rm -rf conftest* |
8770 eval "ac_cv_header_$ac_safe=yes" | 8784 eval "ac_cv_header_$ac_safe=yes" |
8771 else | 8785 else |
8784 with_xface=no | 8798 with_xface=no |
8785 fi | 8799 fi |
8786 } | 8800 } |
8787 test -z "$with_xface" && { | 8801 test -z "$with_xface" && { |
8788 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8802 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8789 echo "configure:8790: checking for UnGenFace in -lcompface" >&5 | 8803 echo "configure:8804: checking for UnGenFace in -lcompface" >&5 |
8790 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8804 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8791 | 8805 |
8792 xe_check_libs=" -lcompface " | 8806 xe_check_libs=" -lcompface " |
8793 cat > conftest.$ac_ext <<EOF | 8807 cat > conftest.$ac_ext <<EOF |
8794 #line 8795 "configure" | 8808 #line 8809 "configure" |
8795 #include "confdefs.h" | 8809 #include "confdefs.h" |
8796 /* Override any gcc2 internal prototype to avoid an error. */ | 8810 /* Override any gcc2 internal prototype to avoid an error. */ |
8797 /* We use char because int might match the return type of a gcc2 | 8811 /* We use char because int might match the return type of a gcc2 |
8798 builtin and then its argument prototype would still apply. */ | 8812 builtin and then its argument prototype would still apply. */ |
8799 char UnGenFace(); | 8813 char UnGenFace(); |
8800 | 8814 |
8801 int main() { | 8815 int main() { |
8802 UnGenFace() | 8816 UnGenFace() |
8803 ; return 0; } | 8817 ; return 0; } |
8804 EOF | 8818 EOF |
8805 if { (eval echo configure:8806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8819 if { (eval echo configure:8820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8806 rm -rf conftest* | 8820 rm -rf conftest* |
8807 eval "ac_cv_lib_$ac_lib_var=yes" | 8821 eval "ac_cv_lib_$ac_lib_var=yes" |
8808 else | 8822 else |
8809 echo "configure: failed program was:" >&5 | 8823 echo "configure: failed program was:" >&5 |
8810 cat conftest.$ac_ext >&5 | 8824 cat conftest.$ac_ext >&5 |
8839 | 8853 |
8840 | 8854 |
8841 | 8855 |
8842 if test "$with_x11" = "yes"; then | 8856 if test "$with_x11" = "yes"; then |
8843 echo "checking for X11 graphics libraries" 1>&6 | 8857 echo "checking for X11 graphics libraries" 1>&6 |
8844 echo "configure:8845: checking for X11 graphics libraries" >&5 | 8858 echo "configure:8859: checking for X11 graphics libraries" >&5 |
8845 fi | 8859 fi |
8846 | 8860 |
8847 case "$with_widgets" in | 8861 case "$with_widgets" in |
8848 "yes" | "athena") detect_athena=yes ;; | 8862 "yes" | "athena") detect_athena=yes ;; |
8849 *) detect_athena=no ;; | 8863 *) detect_athena=no ;; |
8850 esac | 8864 esac |
8851 | 8865 |
8852 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 8866 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
8853 echo "checking for the Athena widgets" 1>&6 | 8867 echo "checking for the Athena widgets" 1>&6 |
8854 echo "configure:8855: checking for the Athena widgets" >&5 | 8868 echo "configure:8869: checking for the Athena widgets" >&5 |
8855 | 8869 |
8856 case "$with_athena" in | 8870 case "$with_athena" in |
8857 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8871 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8858 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8872 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8859 "next") athena_variant=neXtaw athena_3d=yes ;; | 8873 "next") athena_variant=neXtaw athena_3d=yes ;; |
8863 esac | 8877 esac |
8864 | 8878 |
8865 if test "$athena_3d" = "no"; then | 8879 if test "$athena_3d" = "no"; then |
8866 | 8880 |
8867 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8881 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8868 echo "configure:8869: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8882 echo "configure:8883: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8869 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8883 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8870 | 8884 |
8871 xe_check_libs=" -l$athena_variant " | 8885 xe_check_libs=" -l$athena_variant " |
8872 cat > conftest.$ac_ext <<EOF | 8886 cat > conftest.$ac_ext <<EOF |
8873 #line 8874 "configure" | 8887 #line 8888 "configure" |
8874 #include "confdefs.h" | 8888 #include "confdefs.h" |
8875 /* Override any gcc2 internal prototype to avoid an error. */ | 8889 /* Override any gcc2 internal prototype to avoid an error. */ |
8876 /* We use char because int might match the return type of a gcc2 | 8890 /* We use char because int might match the return type of a gcc2 |
8877 builtin and then its argument prototype would still apply. */ | 8891 builtin and then its argument prototype would still apply. */ |
8878 char XawScrollbarSetThumb(); | 8892 char XawScrollbarSetThumb(); |
8879 | 8893 |
8880 int main() { | 8894 int main() { |
8881 XawScrollbarSetThumb() | 8895 XawScrollbarSetThumb() |
8882 ; return 0; } | 8896 ; return 0; } |
8883 EOF | 8897 EOF |
8884 if { (eval echo configure:8885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8898 if { (eval echo configure:8899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8885 rm -rf conftest* | 8899 rm -rf conftest* |
8886 eval "ac_cv_lib_$ac_lib_var=yes" | 8900 eval "ac_cv_lib_$ac_lib_var=yes" |
8887 else | 8901 else |
8888 echo "configure: failed program was:" >&5 | 8902 echo "configure: failed program was:" >&5 |
8889 cat conftest.$ac_ext >&5 | 8903 cat conftest.$ac_ext >&5 |
8895 | 8909 |
8896 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8910 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8897 echo "$ac_t""yes" 1>&6 | 8911 echo "$ac_t""yes" 1>&6 |
8898 | 8912 |
8899 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8913 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8900 echo "configure:8901: checking for threeDClassRec in -l$athena_variant" >&5 | 8914 echo "configure:8915: checking for threeDClassRec in -l$athena_variant" >&5 |
8901 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8915 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8902 | 8916 |
8903 xe_check_libs=" -l$athena_variant " | 8917 xe_check_libs=" -l$athena_variant " |
8904 cat > conftest.$ac_ext <<EOF | 8918 cat > conftest.$ac_ext <<EOF |
8905 #line 8906 "configure" | 8919 #line 8920 "configure" |
8906 #include "confdefs.h" | 8920 #include "confdefs.h" |
8907 /* Override any gcc2 internal prototype to avoid an error. */ | 8921 /* Override any gcc2 internal prototype to avoid an error. */ |
8908 /* We use char because int might match the return type of a gcc2 | 8922 /* We use char because int might match the return type of a gcc2 |
8909 builtin and then its argument prototype would still apply. */ | 8923 builtin and then its argument prototype would still apply. */ |
8910 char threeDClassRec(); | 8924 char threeDClassRec(); |
8911 | 8925 |
8912 int main() { | 8926 int main() { |
8913 threeDClassRec() | 8927 threeDClassRec() |
8914 ; return 0; } | 8928 ; return 0; } |
8915 EOF | 8929 EOF |
8916 if { (eval echo configure:8917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8930 if { (eval echo configure:8931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8917 rm -rf conftest* | 8931 rm -rf conftest* |
8918 eval "ac_cv_lib_$ac_lib_var=yes" | 8932 eval "ac_cv_lib_$ac_lib_var=yes" |
8919 else | 8933 else |
8920 echo "configure: failed program was:" >&5 | 8934 echo "configure: failed program was:" >&5 |
8921 cat conftest.$ac_ext >&5 | 8935 cat conftest.$ac_ext >&5 |
8942 | 8956 |
8943 | 8957 |
8944 else | 8958 else |
8945 | 8959 |
8946 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8960 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8947 echo "configure:8948: checking for threeDClassRec in -l$athena_variant" >&5 | 8961 echo "configure:8962: checking for threeDClassRec in -l$athena_variant" >&5 |
8948 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8962 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8949 | 8963 |
8950 xe_check_libs=" -l$athena_variant " | 8964 xe_check_libs=" -l$athena_variant " |
8951 cat > conftest.$ac_ext <<EOF | 8965 cat > conftest.$ac_ext <<EOF |
8952 #line 8953 "configure" | 8966 #line 8967 "configure" |
8953 #include "confdefs.h" | 8967 #include "confdefs.h" |
8954 /* Override any gcc2 internal prototype to avoid an error. */ | 8968 /* Override any gcc2 internal prototype to avoid an error. */ |
8955 /* We use char because int might match the return type of a gcc2 | 8969 /* We use char because int might match the return type of a gcc2 |
8956 builtin and then its argument prototype would still apply. */ | 8970 builtin and then its argument prototype would still apply. */ |
8957 char threeDClassRec(); | 8971 char threeDClassRec(); |
8958 | 8972 |
8959 int main() { | 8973 int main() { |
8960 threeDClassRec() | 8974 threeDClassRec() |
8961 ; return 0; } | 8975 ; return 0; } |
8962 EOF | 8976 EOF |
8963 if { (eval echo configure:8964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8977 if { (eval echo configure:8978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8964 rm -rf conftest* | 8978 rm -rf conftest* |
8965 eval "ac_cv_lib_$ac_lib_var=yes" | 8979 eval "ac_cv_lib_$ac_lib_var=yes" |
8966 else | 8980 else |
8967 echo "configure: failed program was:" >&5 | 8981 echo "configure: failed program was:" >&5 |
8968 cat conftest.$ac_ext >&5 | 8982 cat conftest.$ac_ext >&5 |
8976 echo "$ac_t""yes" 1>&6 | 8990 echo "$ac_t""yes" 1>&6 |
8977 athena_lib=$athena_variant | 8991 athena_lib=$athena_variant |
8978 else | 8992 else |
8979 echo "$ac_t""no" 1>&6 | 8993 echo "$ac_t""no" 1>&6 |
8980 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8994 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
8981 echo "configure:8982: checking for threeDClassRec in -lXaw" >&5 | 8995 echo "configure:8996: checking for threeDClassRec in -lXaw" >&5 |
8982 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8996 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8983 | 8997 |
8984 xe_check_libs=" -lXaw " | 8998 xe_check_libs=" -lXaw " |
8985 cat > conftest.$ac_ext <<EOF | 8999 cat > conftest.$ac_ext <<EOF |
8986 #line 8987 "configure" | 9000 #line 9001 "configure" |
8987 #include "confdefs.h" | 9001 #include "confdefs.h" |
8988 /* Override any gcc2 internal prototype to avoid an error. */ | 9002 /* Override any gcc2 internal prototype to avoid an error. */ |
8989 /* We use char because int might match the return type of a gcc2 | 9003 /* We use char because int might match the return type of a gcc2 |
8990 builtin and then its argument prototype would still apply. */ | 9004 builtin and then its argument prototype would still apply. */ |
8991 char threeDClassRec(); | 9005 char threeDClassRec(); |
8992 | 9006 |
8993 int main() { | 9007 int main() { |
8994 threeDClassRec() | 9008 threeDClassRec() |
8995 ; return 0; } | 9009 ; return 0; } |
8996 EOF | 9010 EOF |
8997 if { (eval echo configure:8998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9011 if { (eval echo configure:9012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8998 rm -rf conftest* | 9012 rm -rf conftest* |
8999 eval "ac_cv_lib_$ac_lib_var=yes" | 9013 eval "ac_cv_lib_$ac_lib_var=yes" |
9000 else | 9014 else |
9001 echo "configure: failed program was:" >&5 | 9015 echo "configure: failed program was:" >&5 |
9002 cat conftest.$ac_ext >&5 | 9016 cat conftest.$ac_ext >&5 |
9023 fi | 9037 fi |
9024 | 9038 |
9025 if test "$athena_3d" = "no"; then | 9039 if test "$athena_3d" = "no"; then |
9026 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9040 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9027 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9041 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9028 echo "configure:9029: checking for X11/Xaw/ThreeD.h" >&5 | 9042 echo "configure:9043: checking for X11/Xaw/ThreeD.h" >&5 |
9029 | 9043 |
9030 cat > conftest.$ac_ext <<EOF | 9044 cat > conftest.$ac_ext <<EOF |
9031 #line 9032 "configure" | 9045 #line 9046 "configure" |
9032 #include "confdefs.h" | 9046 #include "confdefs.h" |
9033 #include <X11/Xaw/ThreeD.h> | 9047 #include <X11/Xaw/ThreeD.h> |
9034 EOF | 9048 EOF |
9035 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9036 { (eval echo configure:9037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9050 { (eval echo configure:9051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9037 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9038 if test -z "$ac_err"; then | 9052 if test -z "$ac_err"; then |
9039 rm -rf conftest* | 9053 rm -rf conftest* |
9040 eval "ac_cv_header_$ac_safe=yes" | 9054 eval "ac_cv_header_$ac_safe=yes" |
9041 else | 9055 else |
9051 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 9065 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
9052 else | 9066 else |
9053 echo "$ac_t""no" 1>&6 | 9067 echo "$ac_t""no" 1>&6 |
9054 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 9068 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
9055 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 9069 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
9056 echo "configure:9057: checking for X11/Xaw/XawInit.h" >&5 | 9070 echo "configure:9071: checking for X11/Xaw/XawInit.h" >&5 |
9057 | 9071 |
9058 cat > conftest.$ac_ext <<EOF | 9072 cat > conftest.$ac_ext <<EOF |
9059 #line 9060 "configure" | 9073 #line 9074 "configure" |
9060 #include "confdefs.h" | 9074 #include "confdefs.h" |
9061 #include <X11/Xaw/XawInit.h> | 9075 #include <X11/Xaw/XawInit.h> |
9062 EOF | 9076 EOF |
9063 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9064 { (eval echo configure:9065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9078 { (eval echo configure:9079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9065 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9079 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9066 if test -z "$ac_err"; then | 9080 if test -z "$ac_err"; then |
9067 rm -rf conftest* | 9081 rm -rf conftest* |
9068 eval "ac_cv_header_$ac_safe=yes" | 9082 eval "ac_cv_header_$ac_safe=yes" |
9069 else | 9083 else |
9085 fi | 9099 fi |
9086 | 9100 |
9087 else | 9101 else |
9088 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9102 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9089 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 9103 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
9090 echo "configure:9091: checking for X11/$athena_variant/XawInit.h" >&5 | 9104 echo "configure:9105: checking for X11/$athena_variant/XawInit.h" >&5 |
9091 | 9105 |
9092 cat > conftest.$ac_ext <<EOF | 9106 cat > conftest.$ac_ext <<EOF |
9093 #line 9094 "configure" | 9107 #line 9108 "configure" |
9094 #include "confdefs.h" | 9108 #include "confdefs.h" |
9095 #include <X11/$athena_variant/XawInit.h> | 9109 #include <X11/$athena_variant/XawInit.h> |
9096 EOF | 9110 EOF |
9097 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9111 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9098 { (eval echo configure:9099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9112 { (eval echo configure:9113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9099 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9113 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9100 if test -z "$ac_err"; then | 9114 if test -z "$ac_err"; then |
9101 rm -rf conftest* | 9115 rm -rf conftest* |
9102 eval "ac_cv_header_$ac_safe=yes" | 9116 eval "ac_cv_header_$ac_safe=yes" |
9103 else | 9117 else |
9110 rm -f conftest* | 9124 rm -f conftest* |
9111 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9125 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9112 echo "$ac_t""yes" 1>&6 | 9126 echo "$ac_t""yes" 1>&6 |
9113 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9127 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9114 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9128 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9115 echo "configure:9116: checking for X11/$athena_variant/ThreeD.h" >&5 | 9129 echo "configure:9130: checking for X11/$athena_variant/ThreeD.h" >&5 |
9116 | 9130 |
9117 cat > conftest.$ac_ext <<EOF | 9131 cat > conftest.$ac_ext <<EOF |
9118 #line 9119 "configure" | 9132 #line 9133 "configure" |
9119 #include "confdefs.h" | 9133 #include "confdefs.h" |
9120 #include <X11/$athena_variant/ThreeD.h> | 9134 #include <X11/$athena_variant/ThreeD.h> |
9121 EOF | 9135 EOF |
9122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9123 { (eval echo configure:9124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9137 { (eval echo configure:9138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9124 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9125 if test -z "$ac_err"; then | 9139 if test -z "$ac_err"; then |
9126 rm -rf conftest* | 9140 rm -rf conftest* |
9127 eval "ac_cv_header_$ac_safe=yes" | 9141 eval "ac_cv_header_$ac_safe=yes" |
9128 else | 9142 else |
9146 | 9160 |
9147 | 9161 |
9148 if test -z "$athena_h_path"; then | 9162 if test -z "$athena_h_path"; then |
9149 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9163 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9150 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 9164 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
9151 echo "configure:9152: checking for $athena_variant/XawInit.h" >&5 | 9165 echo "configure:9166: checking for $athena_variant/XawInit.h" >&5 |
9152 | 9166 |
9153 cat > conftest.$ac_ext <<EOF | 9167 cat > conftest.$ac_ext <<EOF |
9154 #line 9155 "configure" | 9168 #line 9169 "configure" |
9155 #include "confdefs.h" | 9169 #include "confdefs.h" |
9156 #include <$athena_variant/XawInit.h> | 9170 #include <$athena_variant/XawInit.h> |
9157 EOF | 9171 EOF |
9158 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9172 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9159 { (eval echo configure:9160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9173 { (eval echo configure:9174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9160 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9174 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9161 if test -z "$ac_err"; then | 9175 if test -z "$ac_err"; then |
9162 rm -rf conftest* | 9176 rm -rf conftest* |
9163 eval "ac_cv_header_$ac_safe=yes" | 9177 eval "ac_cv_header_$ac_safe=yes" |
9164 else | 9178 else |
9171 rm -f conftest* | 9185 rm -f conftest* |
9172 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9186 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9173 echo "$ac_t""yes" 1>&6 | 9187 echo "$ac_t""yes" 1>&6 |
9174 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9188 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9175 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9189 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9176 echo "configure:9177: checking for $athena_variant/ThreeD.h" >&5 | 9190 echo "configure:9191: checking for $athena_variant/ThreeD.h" >&5 |
9177 | 9191 |
9178 cat > conftest.$ac_ext <<EOF | 9192 cat > conftest.$ac_ext <<EOF |
9179 #line 9180 "configure" | 9193 #line 9194 "configure" |
9180 #include "confdefs.h" | 9194 #include "confdefs.h" |
9181 #include <$athena_variant/ThreeD.h> | 9195 #include <$athena_variant/ThreeD.h> |
9182 EOF | 9196 EOF |
9183 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9197 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9184 { (eval echo configure:9185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9198 { (eval echo configure:9199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9185 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9199 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9186 if test -z "$ac_err"; then | 9200 if test -z "$ac_err"; then |
9187 rm -rf conftest* | 9201 rm -rf conftest* |
9188 eval "ac_cv_header_$ac_safe=yes" | 9202 eval "ac_cv_header_$ac_safe=yes" |
9189 else | 9203 else |
9208 fi | 9222 fi |
9209 | 9223 |
9210 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9224 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9211 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9225 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9212 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9226 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9213 echo "configure:9214: checking for X11/Xaw3d/XawInit.h" >&5 | 9227 echo "configure:9228: checking for X11/Xaw3d/XawInit.h" >&5 |
9214 | 9228 |
9215 cat > conftest.$ac_ext <<EOF | 9229 cat > conftest.$ac_ext <<EOF |
9216 #line 9217 "configure" | 9230 #line 9231 "configure" |
9217 #include "confdefs.h" | 9231 #include "confdefs.h" |
9218 #include <X11/Xaw3d/XawInit.h> | 9232 #include <X11/Xaw3d/XawInit.h> |
9219 EOF | 9233 EOF |
9220 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9234 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9221 { (eval echo configure:9222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9235 { (eval echo configure:9236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9222 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9236 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9223 if test -z "$ac_err"; then | 9237 if test -z "$ac_err"; then |
9224 rm -rf conftest* | 9238 rm -rf conftest* |
9225 eval "ac_cv_header_$ac_safe=yes" | 9239 eval "ac_cv_header_$ac_safe=yes" |
9226 else | 9240 else |
9233 rm -f conftest* | 9247 rm -f conftest* |
9234 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9248 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9235 echo "$ac_t""yes" 1>&6 | 9249 echo "$ac_t""yes" 1>&6 |
9236 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9250 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9237 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9251 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9238 echo "configure:9239: checking for X11/Xaw3d/ThreeD.h" >&5 | 9252 echo "configure:9253: checking for X11/Xaw3d/ThreeD.h" >&5 |
9239 | 9253 |
9240 cat > conftest.$ac_ext <<EOF | 9254 cat > conftest.$ac_ext <<EOF |
9241 #line 9242 "configure" | 9255 #line 9256 "configure" |
9242 #include "confdefs.h" | 9256 #include "confdefs.h" |
9243 #include <X11/Xaw3d/ThreeD.h> | 9257 #include <X11/Xaw3d/ThreeD.h> |
9244 EOF | 9258 EOF |
9245 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9246 { (eval echo configure:9247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9260 { (eval echo configure:9261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9247 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9261 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9248 if test -z "$ac_err"; then | 9262 if test -z "$ac_err"; then |
9249 rm -rf conftest* | 9263 rm -rf conftest* |
9250 eval "ac_cv_header_$ac_safe=yes" | 9264 eval "ac_cv_header_$ac_safe=yes" |
9251 else | 9265 else |
9273 fi | 9287 fi |
9274 | 9288 |
9275 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9289 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9276 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9290 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9277 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9291 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9278 echo "configure:9279: checking for Xaw3d/XawInit.h" >&5 | 9292 echo "configure:9293: checking for Xaw3d/XawInit.h" >&5 |
9279 | 9293 |
9280 cat > conftest.$ac_ext <<EOF | 9294 cat > conftest.$ac_ext <<EOF |
9281 #line 9282 "configure" | 9295 #line 9296 "configure" |
9282 #include "confdefs.h" | 9296 #include "confdefs.h" |
9283 #include <Xaw3d/XawInit.h> | 9297 #include <Xaw3d/XawInit.h> |
9284 EOF | 9298 EOF |
9285 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9299 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9286 { (eval echo configure:9287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9300 { (eval echo configure:9301: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9287 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9301 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9288 if test -z "$ac_err"; then | 9302 if test -z "$ac_err"; then |
9289 rm -rf conftest* | 9303 rm -rf conftest* |
9290 eval "ac_cv_header_$ac_safe=yes" | 9304 eval "ac_cv_header_$ac_safe=yes" |
9291 else | 9305 else |
9298 rm -f conftest* | 9312 rm -f conftest* |
9299 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9313 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9300 echo "$ac_t""yes" 1>&6 | 9314 echo "$ac_t""yes" 1>&6 |
9301 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9315 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9302 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9316 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9303 echo "configure:9304: checking for Xaw3d/ThreeD.h" >&5 | 9317 echo "configure:9318: checking for Xaw3d/ThreeD.h" >&5 |
9304 | 9318 |
9305 cat > conftest.$ac_ext <<EOF | 9319 cat > conftest.$ac_ext <<EOF |
9306 #line 9307 "configure" | 9320 #line 9321 "configure" |
9307 #include "confdefs.h" | 9321 #include "confdefs.h" |
9308 #include <Xaw3d/ThreeD.h> | 9322 #include <Xaw3d/ThreeD.h> |
9309 EOF | 9323 EOF |
9310 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9324 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9311 { (eval echo configure:9312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9325 { (eval echo configure:9326: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9312 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9326 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9313 if test -z "$ac_err"; then | 9327 if test -z "$ac_err"; then |
9314 rm -rf conftest* | 9328 rm -rf conftest* |
9315 eval "ac_cv_header_$ac_safe=yes" | 9329 eval "ac_cv_header_$ac_safe=yes" |
9316 else | 9330 else |
9338 fi | 9352 fi |
9339 | 9353 |
9340 if test -z "$athena_h_path"; then | 9354 if test -z "$athena_h_path"; then |
9341 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9355 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9342 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9356 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9343 echo "configure:9344: checking for X11/Xaw/ThreeD.h" >&5 | 9357 echo "configure:9358: checking for X11/Xaw/ThreeD.h" >&5 |
9344 | 9358 |
9345 cat > conftest.$ac_ext <<EOF | 9359 cat > conftest.$ac_ext <<EOF |
9346 #line 9347 "configure" | 9360 #line 9361 "configure" |
9347 #include "confdefs.h" | 9361 #include "confdefs.h" |
9348 #include <X11/Xaw/ThreeD.h> | 9362 #include <X11/Xaw/ThreeD.h> |
9349 EOF | 9363 EOF |
9350 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9364 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9351 { (eval echo configure:9352: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9365 { (eval echo configure:9366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9352 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9366 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9353 if test -z "$ac_err"; then | 9367 if test -z "$ac_err"; then |
9354 rm -rf conftest* | 9368 rm -rf conftest* |
9355 eval "ac_cv_header_$ac_safe=yes" | 9369 eval "ac_cv_header_$ac_safe=yes" |
9356 else | 9370 else |
9385 have_xaw=no | 9399 have_xaw=no |
9386 fi | 9400 fi |
9387 if test "$with_x11" = "yes"; then | 9401 if test "$with_x11" = "yes"; then |
9388 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9402 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
9389 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9403 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
9390 echo "configure:9391: checking for Xm/Xm.h" >&5 | 9404 echo "configure:9405: checking for Xm/Xm.h" >&5 |
9391 | 9405 |
9392 cat > conftest.$ac_ext <<EOF | 9406 cat > conftest.$ac_ext <<EOF |
9393 #line 9394 "configure" | 9407 #line 9408 "configure" |
9394 #include "confdefs.h" | 9408 #include "confdefs.h" |
9395 #include <Xm/Xm.h> | 9409 #include <Xm/Xm.h> |
9396 EOF | 9410 EOF |
9397 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9411 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9398 { (eval echo configure:9399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9412 { (eval echo configure:9413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9399 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9413 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9400 if test -z "$ac_err"; then | 9414 if test -z "$ac_err"; then |
9401 rm -rf conftest* | 9415 rm -rf conftest* |
9402 eval "ac_cv_header_$ac_safe=yes" | 9416 eval "ac_cv_header_$ac_safe=yes" |
9403 else | 9417 else |
9410 rm -f conftest* | 9424 rm -f conftest* |
9411 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9425 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9412 echo "$ac_t""yes" 1>&6 | 9426 echo "$ac_t""yes" 1>&6 |
9413 | 9427 |
9414 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9428 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
9415 echo "configure:9416: checking for XmStringFree in -lXm" >&5 | 9429 echo "configure:9430: checking for XmStringFree in -lXm" >&5 |
9416 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9430 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
9417 | 9431 |
9418 xe_check_libs=" -lXm " | 9432 xe_check_libs=" -lXm " |
9419 cat > conftest.$ac_ext <<EOF | 9433 cat > conftest.$ac_ext <<EOF |
9420 #line 9421 "configure" | 9434 #line 9435 "configure" |
9421 #include "confdefs.h" | 9435 #include "confdefs.h" |
9422 /* Override any gcc2 internal prototype to avoid an error. */ | 9436 /* Override any gcc2 internal prototype to avoid an error. */ |
9423 /* We use char because int might match the return type of a gcc2 | 9437 /* We use char because int might match the return type of a gcc2 |
9424 builtin and then its argument prototype would still apply. */ | 9438 builtin and then its argument prototype would still apply. */ |
9425 char XmStringFree(); | 9439 char XmStringFree(); |
9426 | 9440 |
9427 int main() { | 9441 int main() { |
9428 XmStringFree() | 9442 XmStringFree() |
9429 ; return 0; } | 9443 ; return 0; } |
9430 EOF | 9444 EOF |
9431 if { (eval echo configure:9432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9445 if { (eval echo configure:9446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9432 rm -rf conftest* | 9446 rm -rf conftest* |
9433 eval "ac_cv_lib_$ac_lib_var=yes" | 9447 eval "ac_cv_lib_$ac_lib_var=yes" |
9434 else | 9448 else |
9435 echo "configure: failed program was:" >&5 | 9449 echo "configure: failed program was:" >&5 |
9436 cat conftest.$ac_ext >&5 | 9450 cat conftest.$ac_ext >&5 |
9455 fi | 9469 fi |
9456 | 9470 |
9457 | 9471 |
9458 if test "$have_motif" = "yes"; then | 9472 if test "$have_motif" = "yes"; then |
9459 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9473 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
9460 echo "configure:9461: checking for Lesstif" >&5 | 9474 echo "configure:9475: checking for Lesstif" >&5 |
9461 cat > conftest.$ac_ext <<EOF | 9475 cat > conftest.$ac_ext <<EOF |
9462 #line 9463 "configure" | 9476 #line 9477 "configure" |
9463 #include "confdefs.h" | 9477 #include "confdefs.h" |
9464 #include <Xm/Xm.h> | 9478 #include <Xm/Xm.h> |
9465 #ifdef LESSTIF_VERSION | 9479 #ifdef LESSTIF_VERSION |
9466 yes | 9480 yes |
9467 #endif | 9481 #endif |
9830 | 9844 |
9831 fi | 9845 fi |
9832 | 9846 |
9833 if test "$with_mule" = "yes" ; then | 9847 if test "$with_mule" = "yes" ; then |
9834 echo "checking for Mule-related features" 1>&6 | 9848 echo "checking for Mule-related features" 1>&6 |
9835 echo "configure:9836: checking for Mule-related features" >&5 | 9849 echo "configure:9850: checking for Mule-related features" >&5 |
9836 { test "$extra_verbose" = "yes" && cat << \EOF | 9850 { test "$extra_verbose" = "yes" && cat << \EOF |
9837 Defining MULE | 9851 Defining MULE |
9838 EOF | 9852 EOF |
9839 cat >> confdefs.h <<\EOF | 9853 cat >> confdefs.h <<\EOF |
9840 #define MULE 1 | 9854 #define MULE 1 |
9844 | 9858 |
9845 for ac_hdr in libintl.h | 9859 for ac_hdr in libintl.h |
9846 do | 9860 do |
9847 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9861 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9848 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9862 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9849 echo "configure:9850: checking for $ac_hdr" >&5 | 9863 echo "configure:9864: checking for $ac_hdr" >&5 |
9850 | 9864 |
9851 cat > conftest.$ac_ext <<EOF | 9865 cat > conftest.$ac_ext <<EOF |
9852 #line 9853 "configure" | 9866 #line 9867 "configure" |
9853 #include "confdefs.h" | 9867 #include "confdefs.h" |
9854 #include <$ac_hdr> | 9868 #include <$ac_hdr> |
9855 EOF | 9869 EOF |
9856 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9870 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9857 { (eval echo configure:9858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9871 { (eval echo configure:9872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9858 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9872 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9859 if test -z "$ac_err"; then | 9873 if test -z "$ac_err"; then |
9860 rm -rf conftest* | 9874 rm -rf conftest* |
9861 eval "ac_cv_header_$ac_safe=yes" | 9875 eval "ac_cv_header_$ac_safe=yes" |
9862 else | 9876 else |
9883 fi | 9897 fi |
9884 done | 9898 done |
9885 | 9899 |
9886 | 9900 |
9887 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9901 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9888 echo "configure:9889: checking for strerror in -lintl" >&5 | 9902 echo "configure:9903: checking for strerror in -lintl" >&5 |
9889 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9903 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9890 | 9904 |
9891 xe_check_libs=" -lintl " | 9905 xe_check_libs=" -lintl " |
9892 cat > conftest.$ac_ext <<EOF | 9906 cat > conftest.$ac_ext <<EOF |
9893 #line 9894 "configure" | 9907 #line 9908 "configure" |
9894 #include "confdefs.h" | 9908 #include "confdefs.h" |
9895 /* Override any gcc2 internal prototype to avoid an error. */ | 9909 /* Override any gcc2 internal prototype to avoid an error. */ |
9896 /* We use char because int might match the return type of a gcc2 | 9910 /* We use char because int might match the return type of a gcc2 |
9897 builtin and then its argument prototype would still apply. */ | 9911 builtin and then its argument prototype would still apply. */ |
9898 char strerror(); | 9912 char strerror(); |
9899 | 9913 |
9900 int main() { | 9914 int main() { |
9901 strerror() | 9915 strerror() |
9902 ; return 0; } | 9916 ; return 0; } |
9903 EOF | 9917 EOF |
9904 if { (eval echo configure:9905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9918 if { (eval echo configure:9919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9905 rm -rf conftest* | 9919 rm -rf conftest* |
9906 eval "ac_cv_lib_$ac_lib_var=yes" | 9920 eval "ac_cv_lib_$ac_lib_var=yes" |
9907 else | 9921 else |
9908 echo "configure: failed program was:" >&5 | 9922 echo "configure: failed program was:" >&5 |
9909 cat conftest.$ac_ext >&5 | 9923 cat conftest.$ac_ext >&5 |
9932 fi | 9946 fi |
9933 | 9947 |
9934 | 9948 |
9935 | 9949 |
9936 echo "checking for Mule input methods" 1>&6 | 9950 echo "checking for Mule input methods" 1>&6 |
9937 echo "configure:9938: checking for Mule input methods" >&5 | 9951 echo "configure:9952: checking for Mule input methods" >&5 |
9938 case "$with_xim" in "" | "yes" ) | 9952 case "$with_xim" in "" | "yes" ) |
9939 echo "checking for XIM" 1>&6 | 9953 echo "checking for XIM" 1>&6 |
9940 echo "configure:9941: checking for XIM" >&5 | 9954 echo "configure:9955: checking for XIM" >&5 |
9941 | 9955 |
9942 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9956 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
9943 echo "configure:9944: checking for XOpenIM in -lX11" >&5 | 9957 echo "configure:9958: checking for XOpenIM in -lX11" >&5 |
9944 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9958 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
9945 | 9959 |
9946 xe_check_libs=" -lX11 " | 9960 xe_check_libs=" -lX11 " |
9947 cat > conftest.$ac_ext <<EOF | 9961 cat > conftest.$ac_ext <<EOF |
9948 #line 9949 "configure" | 9962 #line 9963 "configure" |
9949 #include "confdefs.h" | 9963 #include "confdefs.h" |
9950 /* Override any gcc2 internal prototype to avoid an error. */ | 9964 /* Override any gcc2 internal prototype to avoid an error. */ |
9951 /* We use char because int might match the return type of a gcc2 | 9965 /* We use char because int might match the return type of a gcc2 |
9952 builtin and then its argument prototype would still apply. */ | 9966 builtin and then its argument prototype would still apply. */ |
9953 char XOpenIM(); | 9967 char XOpenIM(); |
9954 | 9968 |
9955 int main() { | 9969 int main() { |
9956 XOpenIM() | 9970 XOpenIM() |
9957 ; return 0; } | 9971 ; return 0; } |
9958 EOF | 9972 EOF |
9959 if { (eval echo configure:9960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9973 if { (eval echo configure:9974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9960 rm -rf conftest* | 9974 rm -rf conftest* |
9961 eval "ac_cv_lib_$ac_lib_var=yes" | 9975 eval "ac_cv_lib_$ac_lib_var=yes" |
9962 else | 9976 else |
9963 echo "configure: failed program was:" >&5 | 9977 echo "configure: failed program was:" >&5 |
9964 cat conftest.$ac_ext >&5 | 9978 cat conftest.$ac_ext >&5 |
9978 | 9992 |
9979 | 9993 |
9980 if test "$have_motif $have_lesstif" = "yes no"; then | 9994 if test "$have_motif $have_lesstif" = "yes no"; then |
9981 | 9995 |
9982 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 9996 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
9983 echo "configure:9984: checking for XmImMbLookupString in -lXm" >&5 | 9997 echo "configure:9998: checking for XmImMbLookupString in -lXm" >&5 |
9984 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 9998 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
9985 | 9999 |
9986 xe_check_libs=" -lXm " | 10000 xe_check_libs=" -lXm " |
9987 cat > conftest.$ac_ext <<EOF | 10001 cat > conftest.$ac_ext <<EOF |
9988 #line 9989 "configure" | 10002 #line 10003 "configure" |
9989 #include "confdefs.h" | 10003 #include "confdefs.h" |
9990 /* Override any gcc2 internal prototype to avoid an error. */ | 10004 /* Override any gcc2 internal prototype to avoid an error. */ |
9991 /* We use char because int might match the return type of a gcc2 | 10005 /* We use char because int might match the return type of a gcc2 |
9992 builtin and then its argument prototype would still apply. */ | 10006 builtin and then its argument prototype would still apply. */ |
9993 char XmImMbLookupString(); | 10007 char XmImMbLookupString(); |
9994 | 10008 |
9995 int main() { | 10009 int main() { |
9996 XmImMbLookupString() | 10010 XmImMbLookupString() |
9997 ; return 0; } | 10011 ; return 0; } |
9998 EOF | 10012 EOF |
9999 if { (eval echo configure:10000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10013 if { (eval echo configure:10014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10000 rm -rf conftest* | 10014 rm -rf conftest* |
10001 eval "ac_cv_lib_$ac_lib_var=yes" | 10015 eval "ac_cv_lib_$ac_lib_var=yes" |
10002 else | 10016 else |
10003 echo "configure: failed program was:" >&5 | 10017 echo "configure: failed program was:" >&5 |
10004 cat conftest.$ac_ext >&5 | 10018 cat conftest.$ac_ext >&5 |
10059 fi | 10073 fi |
10060 fi | 10074 fi |
10061 | 10075 |
10062 if test "$with_xfs" = "yes" ; then | 10076 if test "$with_xfs" = "yes" ; then |
10063 echo "checking for XFontSet" 1>&6 | 10077 echo "checking for XFontSet" 1>&6 |
10064 echo "configure:10065: checking for XFontSet" >&5 | 10078 echo "configure:10079: checking for XFontSet" >&5 |
10065 | 10079 |
10066 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 10080 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
10067 echo "configure:10068: checking for XmbDrawString in -lX11" >&5 | 10081 echo "configure:10082: checking for XmbDrawString in -lX11" >&5 |
10068 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 10082 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
10069 | 10083 |
10070 xe_check_libs=" -lX11 " | 10084 xe_check_libs=" -lX11 " |
10071 cat > conftest.$ac_ext <<EOF | 10085 cat > conftest.$ac_ext <<EOF |
10072 #line 10073 "configure" | 10086 #line 10087 "configure" |
10073 #include "confdefs.h" | 10087 #include "confdefs.h" |
10074 /* Override any gcc2 internal prototype to avoid an error. */ | 10088 /* Override any gcc2 internal prototype to avoid an error. */ |
10075 /* We use char because int might match the return type of a gcc2 | 10089 /* We use char because int might match the return type of a gcc2 |
10076 builtin and then its argument prototype would still apply. */ | 10090 builtin and then its argument prototype would still apply. */ |
10077 char XmbDrawString(); | 10091 char XmbDrawString(); |
10078 | 10092 |
10079 int main() { | 10093 int main() { |
10080 XmbDrawString() | 10094 XmbDrawString() |
10081 ; return 0; } | 10095 ; return 0; } |
10082 EOF | 10096 EOF |
10083 if { (eval echo configure:10084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10097 if { (eval echo configure:10098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10084 rm -rf conftest* | 10098 rm -rf conftest* |
10085 eval "ac_cv_lib_$ac_lib_var=yes" | 10099 eval "ac_cv_lib_$ac_lib_var=yes" |
10086 else | 10100 else |
10087 echo "configure: failed program was:" >&5 | 10101 echo "configure: failed program was:" >&5 |
10088 cat conftest.$ac_ext >&5 | 10102 cat conftest.$ac_ext >&5 |
10118 fi | 10132 fi |
10119 fi | 10133 fi |
10120 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 10134 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
10121 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 10135 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
10122 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 10136 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
10123 echo "configure:10124: checking for wnn/jllib.h" >&5 | 10137 echo "configure:10138: checking for wnn/jllib.h" >&5 |
10124 | 10138 |
10125 cat > conftest.$ac_ext <<EOF | 10139 cat > conftest.$ac_ext <<EOF |
10126 #line 10127 "configure" | 10140 #line 10141 "configure" |
10127 #include "confdefs.h" | 10141 #include "confdefs.h" |
10128 #include <wnn/jllib.h> | 10142 #include <wnn/jllib.h> |
10129 EOF | 10143 EOF |
10130 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10144 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10131 { (eval echo configure:10132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10145 { (eval echo configure:10146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10132 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10146 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10133 if test -z "$ac_err"; then | 10147 if test -z "$ac_err"; then |
10134 rm -rf conftest* | 10148 rm -rf conftest* |
10135 eval "ac_cv_header_$ac_safe=yes" | 10149 eval "ac_cv_header_$ac_safe=yes" |
10136 else | 10150 else |
10149 with_wnn=no | 10163 with_wnn=no |
10150 fi | 10164 fi |
10151 } | 10165 } |
10152 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 10166 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
10153 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 10167 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
10154 echo "configure:10155: checking for wnn/commonhd.h" >&5 | 10168 echo "configure:10169: checking for wnn/commonhd.h" >&5 |
10155 | 10169 |
10156 cat > conftest.$ac_ext <<EOF | 10170 cat > conftest.$ac_ext <<EOF |
10157 #line 10158 "configure" | 10171 #line 10172 "configure" |
10158 #include "confdefs.h" | 10172 #include "confdefs.h" |
10159 #include <wnn/commonhd.h> | 10173 #include <wnn/commonhd.h> |
10160 EOF | 10174 EOF |
10161 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10175 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10162 { (eval echo configure:10163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10176 { (eval echo configure:10177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10163 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10177 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10164 if test -z "$ac_err"; then | 10178 if test -z "$ac_err"; then |
10165 rm -rf conftest* | 10179 rm -rf conftest* |
10166 eval "ac_cv_header_$ac_safe=yes" | 10180 eval "ac_cv_header_$ac_safe=yes" |
10167 else | 10181 else |
10182 } | 10196 } |
10183 if test "$with_wnn" != "no"; then | 10197 if test "$with_wnn" != "no"; then |
10184 for ac_func in crypt | 10198 for ac_func in crypt |
10185 do | 10199 do |
10186 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10200 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10187 echo "configure:10188: checking for $ac_func" >&5 | 10201 echo "configure:10202: checking for $ac_func" >&5 |
10188 | 10202 |
10189 cat > conftest.$ac_ext <<EOF | 10203 cat > conftest.$ac_ext <<EOF |
10190 #line 10191 "configure" | 10204 #line 10205 "configure" |
10191 #include "confdefs.h" | 10205 #include "confdefs.h" |
10192 /* System header to define __stub macros and hopefully few prototypes, | 10206 /* System header to define __stub macros and hopefully few prototypes, |
10193 which can conflict with char $ac_func(); below. */ | 10207 which can conflict with char $ac_func(); below. */ |
10194 #include <assert.h> | 10208 #include <assert.h> |
10195 /* Override any gcc2 internal prototype to avoid an error. */ | 10209 /* Override any gcc2 internal prototype to avoid an error. */ |
10208 $ac_func(); | 10222 $ac_func(); |
10209 #endif | 10223 #endif |
10210 | 10224 |
10211 ; return 0; } | 10225 ; return 0; } |
10212 EOF | 10226 EOF |
10213 if { (eval echo configure:10214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10227 if { (eval echo configure:10228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10214 rm -rf conftest* | 10228 rm -rf conftest* |
10215 eval "ac_cv_func_$ac_func=yes" | 10229 eval "ac_cv_func_$ac_func=yes" |
10216 else | 10230 else |
10217 echo "configure: failed program was:" >&5 | 10231 echo "configure: failed program was:" >&5 |
10218 cat conftest.$ac_ext >&5 | 10232 cat conftest.$ac_ext >&5 |
10237 fi | 10251 fi |
10238 done | 10252 done |
10239 | 10253 |
10240 test "$ac_cv_func_crypt" != "yes" && { | 10254 test "$ac_cv_func_crypt" != "yes" && { |
10241 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 10255 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
10242 echo "configure:10243: checking for crypt in -lcrypt" >&5 | 10256 echo "configure:10257: checking for crypt in -lcrypt" >&5 |
10243 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 10257 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
10244 | 10258 |
10245 xe_check_libs=" -lcrypt " | 10259 xe_check_libs=" -lcrypt " |
10246 cat > conftest.$ac_ext <<EOF | 10260 cat > conftest.$ac_ext <<EOF |
10247 #line 10248 "configure" | 10261 #line 10262 "configure" |
10248 #include "confdefs.h" | 10262 #include "confdefs.h" |
10249 /* Override any gcc2 internal prototype to avoid an error. */ | 10263 /* Override any gcc2 internal prototype to avoid an error. */ |
10250 /* We use char because int might match the return type of a gcc2 | 10264 /* We use char because int might match the return type of a gcc2 |
10251 builtin and then its argument prototype would still apply. */ | 10265 builtin and then its argument prototype would still apply. */ |
10252 char crypt(); | 10266 char crypt(); |
10253 | 10267 |
10254 int main() { | 10268 int main() { |
10255 crypt() | 10269 crypt() |
10256 ; return 0; } | 10270 ; return 0; } |
10257 EOF | 10271 EOF |
10258 if { (eval echo configure:10259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10272 if { (eval echo configure:10273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10259 rm -rf conftest* | 10273 rm -rf conftest* |
10260 eval "ac_cv_lib_$ac_lib_var=yes" | 10274 eval "ac_cv_lib_$ac_lib_var=yes" |
10261 else | 10275 else |
10262 echo "configure: failed program was:" >&5 | 10276 echo "configure: failed program was:" >&5 |
10263 cat conftest.$ac_ext >&5 | 10277 cat conftest.$ac_ext >&5 |
10288 } | 10302 } |
10289 fi | 10303 fi |
10290 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 10304 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
10291 | 10305 |
10292 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 10306 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
10293 echo "configure:10294: checking for jl_dic_list_e in -lwnn" >&5 | 10307 echo "configure:10308: checking for jl_dic_list_e in -lwnn" >&5 |
10294 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10308 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10295 | 10309 |
10296 xe_check_libs=" -lwnn " | 10310 xe_check_libs=" -lwnn " |
10297 cat > conftest.$ac_ext <<EOF | 10311 cat > conftest.$ac_ext <<EOF |
10298 #line 10299 "configure" | 10312 #line 10313 "configure" |
10299 #include "confdefs.h" | 10313 #include "confdefs.h" |
10300 /* Override any gcc2 internal prototype to avoid an error. */ | 10314 /* Override any gcc2 internal prototype to avoid an error. */ |
10301 /* We use char because int might match the return type of a gcc2 | 10315 /* We use char because int might match the return type of a gcc2 |
10302 builtin and then its argument prototype would still apply. */ | 10316 builtin and then its argument prototype would still apply. */ |
10303 char jl_dic_list_e(); | 10317 char jl_dic_list_e(); |
10304 | 10318 |
10305 int main() { | 10319 int main() { |
10306 jl_dic_list_e() | 10320 jl_dic_list_e() |
10307 ; return 0; } | 10321 ; return 0; } |
10308 EOF | 10322 EOF |
10309 if { (eval echo configure:10310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10323 if { (eval echo configure:10324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10310 rm -rf conftest* | 10324 rm -rf conftest* |
10311 eval "ac_cv_lib_$ac_lib_var=yes" | 10325 eval "ac_cv_lib_$ac_lib_var=yes" |
10312 else | 10326 else |
10313 echo "configure: failed program was:" >&5 | 10327 echo "configure: failed program was:" >&5 |
10314 cat conftest.$ac_ext >&5 | 10328 cat conftest.$ac_ext >&5 |
10322 echo "$ac_t""yes" 1>&6 | 10336 echo "$ac_t""yes" 1>&6 |
10323 libwnn=wnn | 10337 libwnn=wnn |
10324 else | 10338 else |
10325 echo "$ac_t""no" 1>&6 | 10339 echo "$ac_t""no" 1>&6 |
10326 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10340 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
10327 echo "configure:10328: checking for jl_dic_list_e in -lwnn4" >&5 | 10341 echo "configure:10342: checking for jl_dic_list_e in -lwnn4" >&5 |
10328 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10342 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10329 | 10343 |
10330 xe_check_libs=" -lwnn4 " | 10344 xe_check_libs=" -lwnn4 " |
10331 cat > conftest.$ac_ext <<EOF | 10345 cat > conftest.$ac_ext <<EOF |
10332 #line 10333 "configure" | 10346 #line 10347 "configure" |
10333 #include "confdefs.h" | 10347 #include "confdefs.h" |
10334 /* Override any gcc2 internal prototype to avoid an error. */ | 10348 /* Override any gcc2 internal prototype to avoid an error. */ |
10335 /* We use char because int might match the return type of a gcc2 | 10349 /* We use char because int might match the return type of a gcc2 |
10336 builtin and then its argument prototype would still apply. */ | 10350 builtin and then its argument prototype would still apply. */ |
10337 char jl_dic_list_e(); | 10351 char jl_dic_list_e(); |
10338 | 10352 |
10339 int main() { | 10353 int main() { |
10340 jl_dic_list_e() | 10354 jl_dic_list_e() |
10341 ; return 0; } | 10355 ; return 0; } |
10342 EOF | 10356 EOF |
10343 if { (eval echo configure:10344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10357 if { (eval echo configure:10358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10344 rm -rf conftest* | 10358 rm -rf conftest* |
10345 eval "ac_cv_lib_$ac_lib_var=yes" | 10359 eval "ac_cv_lib_$ac_lib_var=yes" |
10346 else | 10360 else |
10347 echo "configure: failed program was:" >&5 | 10361 echo "configure: failed program was:" >&5 |
10348 cat conftest.$ac_ext >&5 | 10362 cat conftest.$ac_ext >&5 |
10356 echo "$ac_t""yes" 1>&6 | 10370 echo "$ac_t""yes" 1>&6 |
10357 libwnn=wnn4 | 10371 libwnn=wnn4 |
10358 else | 10372 else |
10359 echo "$ac_t""no" 1>&6 | 10373 echo "$ac_t""no" 1>&6 |
10360 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10374 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
10361 echo "configure:10362: checking for jl_dic_list_e in -lwnn6" >&5 | 10375 echo "configure:10376: checking for jl_dic_list_e in -lwnn6" >&5 |
10362 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10376 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10363 | 10377 |
10364 xe_check_libs=" -lwnn6 " | 10378 xe_check_libs=" -lwnn6 " |
10365 cat > conftest.$ac_ext <<EOF | 10379 cat > conftest.$ac_ext <<EOF |
10366 #line 10367 "configure" | 10380 #line 10381 "configure" |
10367 #include "confdefs.h" | 10381 #include "confdefs.h" |
10368 /* Override any gcc2 internal prototype to avoid an error. */ | 10382 /* Override any gcc2 internal prototype to avoid an error. */ |
10369 /* We use char because int might match the return type of a gcc2 | 10383 /* We use char because int might match the return type of a gcc2 |
10370 builtin and then its argument prototype would still apply. */ | 10384 builtin and then its argument prototype would still apply. */ |
10371 char jl_dic_list_e(); | 10385 char jl_dic_list_e(); |
10372 | 10386 |
10373 int main() { | 10387 int main() { |
10374 jl_dic_list_e() | 10388 jl_dic_list_e() |
10375 ; return 0; } | 10389 ; return 0; } |
10376 EOF | 10390 EOF |
10377 if { (eval echo configure:10378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10391 if { (eval echo configure:10392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10378 rm -rf conftest* | 10392 rm -rf conftest* |
10379 eval "ac_cv_lib_$ac_lib_var=yes" | 10393 eval "ac_cv_lib_$ac_lib_var=yes" |
10380 else | 10394 else |
10381 echo "configure: failed program was:" >&5 | 10395 echo "configure: failed program was:" >&5 |
10382 cat conftest.$ac_ext >&5 | 10396 cat conftest.$ac_ext >&5 |
10390 echo "$ac_t""yes" 1>&6 | 10404 echo "$ac_t""yes" 1>&6 |
10391 libwnn=wnn6 | 10405 libwnn=wnn6 |
10392 else | 10406 else |
10393 echo "$ac_t""no" 1>&6 | 10407 echo "$ac_t""no" 1>&6 |
10394 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10408 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
10395 echo "configure:10396: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10409 echo "configure:10410: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
10396 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10410 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
10397 | 10411 |
10398 xe_check_libs=" -lwnn6_fromsrc " | 10412 xe_check_libs=" -lwnn6_fromsrc " |
10399 cat > conftest.$ac_ext <<EOF | 10413 cat > conftest.$ac_ext <<EOF |
10400 #line 10401 "configure" | 10414 #line 10415 "configure" |
10401 #include "confdefs.h" | 10415 #include "confdefs.h" |
10402 /* Override any gcc2 internal prototype to avoid an error. */ | 10416 /* Override any gcc2 internal prototype to avoid an error. */ |
10403 /* We use char because int might match the return type of a gcc2 | 10417 /* We use char because int might match the return type of a gcc2 |
10404 builtin and then its argument prototype would still apply. */ | 10418 builtin and then its argument prototype would still apply. */ |
10405 char dic_list_e(); | 10419 char dic_list_e(); |
10406 | 10420 |
10407 int main() { | 10421 int main() { |
10408 dic_list_e() | 10422 dic_list_e() |
10409 ; return 0; } | 10423 ; return 0; } |
10410 EOF | 10424 EOF |
10411 if { (eval echo configure:10412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10425 if { (eval echo configure:10426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10412 rm -rf conftest* | 10426 rm -rf conftest* |
10413 eval "ac_cv_lib_$ac_lib_var=yes" | 10427 eval "ac_cv_lib_$ac_lib_var=yes" |
10414 else | 10428 else |
10415 echo "configure: failed program was:" >&5 | 10429 echo "configure: failed program was:" >&5 |
10416 cat conftest.$ac_ext >&5 | 10430 cat conftest.$ac_ext >&5 |
10451 | 10465 |
10452 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 10466 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
10453 if test "$with_wnn6" != "no"; then | 10467 if test "$with_wnn6" != "no"; then |
10454 | 10468 |
10455 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10469 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
10456 echo "configure:10457: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10470 echo "configure:10471: checking for jl_fi_dic_list in -l$libwnn" >&5 |
10457 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10471 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
10458 | 10472 |
10459 xe_check_libs=" -l$libwnn " | 10473 xe_check_libs=" -l$libwnn " |
10460 cat > conftest.$ac_ext <<EOF | 10474 cat > conftest.$ac_ext <<EOF |
10461 #line 10462 "configure" | 10475 #line 10476 "configure" |
10462 #include "confdefs.h" | 10476 #include "confdefs.h" |
10463 /* Override any gcc2 internal prototype to avoid an error. */ | 10477 /* Override any gcc2 internal prototype to avoid an error. */ |
10464 /* We use char because int might match the return type of a gcc2 | 10478 /* We use char because int might match the return type of a gcc2 |
10465 builtin and then its argument prototype would still apply. */ | 10479 builtin and then its argument prototype would still apply. */ |
10466 char jl_fi_dic_list(); | 10480 char jl_fi_dic_list(); |
10467 | 10481 |
10468 int main() { | 10482 int main() { |
10469 jl_fi_dic_list() | 10483 jl_fi_dic_list() |
10470 ; return 0; } | 10484 ; return 0; } |
10471 EOF | 10485 EOF |
10472 if { (eval echo configure:10473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10486 if { (eval echo configure:10487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10473 rm -rf conftest* | 10487 rm -rf conftest* |
10474 eval "ac_cv_lib_$ac_lib_var=yes" | 10488 eval "ac_cv_lib_$ac_lib_var=yes" |
10475 else | 10489 else |
10476 echo "configure: failed program was:" >&5 | 10490 echo "configure: failed program was:" >&5 |
10477 cat conftest.$ac_ext >&5 | 10491 cat conftest.$ac_ext >&5 |
10502 | 10516 |
10503 canna_includes_found=no | 10517 canna_includes_found=no |
10504 if test "$with_canna" != "no"; then | 10518 if test "$with_canna" != "no"; then |
10505 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10519 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10506 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10520 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10507 echo "configure:10508: checking for canna/jrkanji.h" >&5 | 10521 echo "configure:10522: checking for canna/jrkanji.h" >&5 |
10508 | 10522 |
10509 cat > conftest.$ac_ext <<EOF | 10523 cat > conftest.$ac_ext <<EOF |
10510 #line 10511 "configure" | 10524 #line 10525 "configure" |
10511 #include "confdefs.h" | 10525 #include "confdefs.h" |
10512 #include <canna/jrkanji.h> | 10526 #include <canna/jrkanji.h> |
10513 EOF | 10527 EOF |
10514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10528 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10515 { (eval echo configure:10516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10529 { (eval echo configure:10530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10530 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10517 if test -z "$ac_err"; then | 10531 if test -z "$ac_err"; then |
10518 rm -rf conftest* | 10532 rm -rf conftest* |
10519 eval "ac_cv_header_$ac_safe=yes" | 10533 eval "ac_cv_header_$ac_safe=yes" |
10520 else | 10534 else |
10537 -d "/usr/local/canna/include"; then | 10551 -d "/usr/local/canna/include"; then |
10538 save_c_switch_site="$c_switch_site" | 10552 save_c_switch_site="$c_switch_site" |
10539 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10553 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
10540 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10554 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10541 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10555 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10542 echo "configure:10543: checking for canna/jrkanji.h" >&5 | 10556 echo "configure:10557: checking for canna/jrkanji.h" >&5 |
10543 | 10557 |
10544 cat > conftest.$ac_ext <<EOF | 10558 cat > conftest.$ac_ext <<EOF |
10545 #line 10546 "configure" | 10559 #line 10560 "configure" |
10546 #include "confdefs.h" | 10560 #include "confdefs.h" |
10547 #include <canna/jrkanji.h> | 10561 #include <canna/jrkanji.h> |
10548 EOF | 10562 EOF |
10549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10563 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10550 { (eval echo configure:10551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10564 { (eval echo configure:10565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10565 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10552 if test -z "$ac_err"; then | 10566 if test -z "$ac_err"; then |
10553 rm -rf conftest* | 10567 rm -rf conftest* |
10554 eval "ac_cv_header_$ac_safe=yes" | 10568 eval "ac_cv_header_$ac_safe=yes" |
10555 else | 10569 else |
10573 fi | 10587 fi |
10574 fi | 10588 fi |
10575 | 10589 |
10576 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10590 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
10577 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10591 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
10578 echo "configure:10579: checking for canna/RK.h" >&5 | 10592 echo "configure:10593: checking for canna/RK.h" >&5 |
10579 | 10593 |
10580 cat > conftest.$ac_ext <<EOF | 10594 cat > conftest.$ac_ext <<EOF |
10581 #line 10582 "configure" | 10595 #line 10596 "configure" |
10582 #include "confdefs.h" | 10596 #include "confdefs.h" |
10583 #include <canna/RK.h> | 10597 #include <canna/RK.h> |
10584 EOF | 10598 EOF |
10585 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10599 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10586 { (eval echo configure:10587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10600 { (eval echo configure:10601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10587 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10601 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10588 if test -z "$ac_err"; then | 10602 if test -z "$ac_err"; then |
10589 rm -rf conftest* | 10603 rm -rf conftest* |
10590 eval "ac_cv_header_$ac_safe=yes" | 10604 eval "ac_cv_header_$ac_safe=yes" |
10591 else | 10605 else |
10604 with_canna=no | 10618 with_canna=no |
10605 fi | 10619 fi |
10606 } | 10620 } |
10607 test -z "$with_canna" && { | 10621 test -z "$with_canna" && { |
10608 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10622 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
10609 echo "configure:10610: checking for RkBgnBun in -lRKC" >&5 | 10623 echo "configure:10624: checking for RkBgnBun in -lRKC" >&5 |
10610 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10624 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
10611 | 10625 |
10612 xe_check_libs=" -lRKC " | 10626 xe_check_libs=" -lRKC " |
10613 cat > conftest.$ac_ext <<EOF | 10627 cat > conftest.$ac_ext <<EOF |
10614 #line 10615 "configure" | 10628 #line 10629 "configure" |
10615 #include "confdefs.h" | 10629 #include "confdefs.h" |
10616 /* Override any gcc2 internal prototype to avoid an error. */ | 10630 /* Override any gcc2 internal prototype to avoid an error. */ |
10617 /* We use char because int might match the return type of a gcc2 | 10631 /* We use char because int might match the return type of a gcc2 |
10618 builtin and then its argument prototype would still apply. */ | 10632 builtin and then its argument prototype would still apply. */ |
10619 char RkBgnBun(); | 10633 char RkBgnBun(); |
10620 | 10634 |
10621 int main() { | 10635 int main() { |
10622 RkBgnBun() | 10636 RkBgnBun() |
10623 ; return 0; } | 10637 ; return 0; } |
10624 EOF | 10638 EOF |
10625 if { (eval echo configure:10626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10639 if { (eval echo configure:10640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10626 rm -rf conftest* | 10640 rm -rf conftest* |
10627 eval "ac_cv_lib_$ac_lib_var=yes" | 10641 eval "ac_cv_lib_$ac_lib_var=yes" |
10628 else | 10642 else |
10629 echo "configure: failed program was:" >&5 | 10643 echo "configure: failed program was:" >&5 |
10630 cat conftest.$ac_ext >&5 | 10644 cat conftest.$ac_ext >&5 |
10643 fi | 10657 fi |
10644 | 10658 |
10645 } | 10659 } |
10646 test -z "$with_canna" && { | 10660 test -z "$with_canna" && { |
10647 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10661 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
10648 echo "configure:10649: checking for jrKanjiControl in -lcanna" >&5 | 10662 echo "configure:10663: checking for jrKanjiControl in -lcanna" >&5 |
10649 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10663 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
10650 | 10664 |
10651 xe_check_libs=" -lcanna " | 10665 xe_check_libs=" -lcanna " |
10652 cat > conftest.$ac_ext <<EOF | 10666 cat > conftest.$ac_ext <<EOF |
10653 #line 10654 "configure" | 10667 #line 10668 "configure" |
10654 #include "confdefs.h" | 10668 #include "confdefs.h" |
10655 /* Override any gcc2 internal prototype to avoid an error. */ | 10669 /* Override any gcc2 internal prototype to avoid an error. */ |
10656 /* We use char because int might match the return type of a gcc2 | 10670 /* We use char because int might match the return type of a gcc2 |
10657 builtin and then its argument prototype would still apply. */ | 10671 builtin and then its argument prototype would still apply. */ |
10658 char jrKanjiControl(); | 10672 char jrKanjiControl(); |
10659 | 10673 |
10660 int main() { | 10674 int main() { |
10661 jrKanjiControl() | 10675 jrKanjiControl() |
10662 ; return 0; } | 10676 ; return 0; } |
10663 EOF | 10677 EOF |
10664 if { (eval echo configure:10665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10678 if { (eval echo configure:10679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10665 rm -rf conftest* | 10679 rm -rf conftest* |
10666 eval "ac_cv_lib_$ac_lib_var=yes" | 10680 eval "ac_cv_lib_$ac_lib_var=yes" |
10667 else | 10681 else |
10668 echo "configure: failed program was:" >&5 | 10682 echo "configure: failed program was:" >&5 |
10669 cat conftest.$ac_ext >&5 | 10683 cat conftest.$ac_ext >&5 |
10705 | 10719 |
10706 if test "$need_motif" = "yes" ; then | 10720 if test "$need_motif" = "yes" ; then |
10707 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10721 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
10708 | 10722 |
10709 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10723 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
10710 echo "configure:10711: checking for layout_object_getvalue in -li18n" >&5 | 10724 echo "configure:10725: checking for layout_object_getvalue in -li18n" >&5 |
10711 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10725 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
10712 | 10726 |
10713 xe_check_libs=" -li18n " | 10727 xe_check_libs=" -li18n " |
10714 cat > conftest.$ac_ext <<EOF | 10728 cat > conftest.$ac_ext <<EOF |
10715 #line 10716 "configure" | 10729 #line 10730 "configure" |
10716 #include "confdefs.h" | 10730 #include "confdefs.h" |
10717 /* Override any gcc2 internal prototype to avoid an error. */ | 10731 /* Override any gcc2 internal prototype to avoid an error. */ |
10718 /* We use char because int might match the return type of a gcc2 | 10732 /* We use char because int might match the return type of a gcc2 |
10719 builtin and then its argument prototype would still apply. */ | 10733 builtin and then its argument prototype would still apply. */ |
10720 char layout_object_getvalue(); | 10734 char layout_object_getvalue(); |
10721 | 10735 |
10722 int main() { | 10736 int main() { |
10723 layout_object_getvalue() | 10737 layout_object_getvalue() |
10724 ; return 0; } | 10738 ; return 0; } |
10725 EOF | 10739 EOF |
10726 if { (eval echo configure:10727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10740 if { (eval echo configure:10741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10727 rm -rf conftest* | 10741 rm -rf conftest* |
10728 eval "ac_cv_lib_$ac_lib_var=yes" | 10742 eval "ac_cv_lib_$ac_lib_var=yes" |
10729 else | 10743 else |
10730 echo "configure: failed program was:" >&5 | 10744 echo "configure: failed program was:" >&5 |
10731 cat conftest.$ac_ext >&5 | 10745 cat conftest.$ac_ext >&5 |
10807 fi | 10821 fi |
10808 | 10822 |
10809 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask | 10823 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask |
10810 do | 10824 do |
10811 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10825 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10812 echo "configure:10813: checking for $ac_func" >&5 | 10826 echo "configure:10827: checking for $ac_func" >&5 |
10813 | 10827 |
10814 cat > conftest.$ac_ext <<EOF | 10828 cat > conftest.$ac_ext <<EOF |
10815 #line 10816 "configure" | 10829 #line 10830 "configure" |
10816 #include "confdefs.h" | 10830 #include "confdefs.h" |
10817 /* System header to define __stub macros and hopefully few prototypes, | 10831 /* System header to define __stub macros and hopefully few prototypes, |
10818 which can conflict with char $ac_func(); below. */ | 10832 which can conflict with char $ac_func(); below. */ |
10819 #include <assert.h> | 10833 #include <assert.h> |
10820 /* Override any gcc2 internal prototype to avoid an error. */ | 10834 /* Override any gcc2 internal prototype to avoid an error. */ |
10833 $ac_func(); | 10847 $ac_func(); |
10834 #endif | 10848 #endif |
10835 | 10849 |
10836 ; return 0; } | 10850 ; return 0; } |
10837 EOF | 10851 EOF |
10838 if { (eval echo configure:10839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10852 if { (eval echo configure:10853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10839 rm -rf conftest* | 10853 rm -rf conftest* |
10840 eval "ac_cv_func_$ac_func=yes" | 10854 eval "ac_cv_func_$ac_func=yes" |
10841 else | 10855 else |
10842 echo "configure: failed program was:" >&5 | 10856 echo "configure: failed program was:" >&5 |
10843 cat conftest.$ac_ext >&5 | 10857 cat conftest.$ac_ext >&5 |
10865 | 10879 |
10866 | 10880 |
10867 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10881 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
10868 do | 10882 do |
10869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10870 echo "configure:10871: checking for $ac_func" >&5 | 10884 echo "configure:10885: checking for $ac_func" >&5 |
10871 | 10885 |
10872 cat > conftest.$ac_ext <<EOF | 10886 cat > conftest.$ac_ext <<EOF |
10873 #line 10874 "configure" | 10887 #line 10888 "configure" |
10874 #include "confdefs.h" | 10888 #include "confdefs.h" |
10875 /* System header to define __stub macros and hopefully few prototypes, | 10889 /* System header to define __stub macros and hopefully few prototypes, |
10876 which can conflict with char $ac_func(); below. */ | 10890 which can conflict with char $ac_func(); below. */ |
10877 #include <assert.h> | 10891 #include <assert.h> |
10878 /* Override any gcc2 internal prototype to avoid an error. */ | 10892 /* Override any gcc2 internal prototype to avoid an error. */ |
10891 $ac_func(); | 10905 $ac_func(); |
10892 #endif | 10906 #endif |
10893 | 10907 |
10894 ; return 0; } | 10908 ; return 0; } |
10895 EOF | 10909 EOF |
10896 if { (eval echo configure:10897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10910 if { (eval echo configure:10911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10897 rm -rf conftest* | 10911 rm -rf conftest* |
10898 eval "ac_cv_func_$ac_func=yes" | 10912 eval "ac_cv_func_$ac_func=yes" |
10899 else | 10913 else |
10900 echo "configure: failed program was:" >&5 | 10914 echo "configure: failed program was:" >&5 |
10901 cat conftest.$ac_ext >&5 | 10915 cat conftest.$ac_ext >&5 |
10920 fi | 10934 fi |
10921 done | 10935 done |
10922 | 10936 |
10923 | 10937 |
10924 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10938 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
10925 echo "configure:10926: checking for openpty" >&5 | 10939 echo "configure:10940: checking for openpty" >&5 |
10926 | 10940 |
10927 cat > conftest.$ac_ext <<EOF | 10941 cat > conftest.$ac_ext <<EOF |
10928 #line 10929 "configure" | 10942 #line 10943 "configure" |
10929 #include "confdefs.h" | 10943 #include "confdefs.h" |
10930 /* System header to define __stub macros and hopefully few prototypes, | 10944 /* System header to define __stub macros and hopefully few prototypes, |
10931 which can conflict with char openpty(); below. */ | 10945 which can conflict with char openpty(); below. */ |
10932 #include <assert.h> | 10946 #include <assert.h> |
10933 /* Override any gcc2 internal prototype to avoid an error. */ | 10947 /* Override any gcc2 internal prototype to avoid an error. */ |
10946 openpty(); | 10960 openpty(); |
10947 #endif | 10961 #endif |
10948 | 10962 |
10949 ; return 0; } | 10963 ; return 0; } |
10950 EOF | 10964 EOF |
10951 if { (eval echo configure:10952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10965 if { (eval echo configure:10966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10952 rm -rf conftest* | 10966 rm -rf conftest* |
10953 eval "ac_cv_func_openpty=yes" | 10967 eval "ac_cv_func_openpty=yes" |
10954 else | 10968 else |
10955 echo "configure: failed program was:" >&5 | 10969 echo "configure: failed program was:" >&5 |
10956 cat conftest.$ac_ext >&5 | 10970 cat conftest.$ac_ext >&5 |
10965 else | 10979 else |
10966 echo "$ac_t""no" 1>&6 | 10980 echo "$ac_t""no" 1>&6 |
10967 | 10981 |
10968 | 10982 |
10969 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 10983 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
10970 echo "configure:10971: checking for openpty in -lutil" >&5 | 10984 echo "configure:10985: checking for openpty in -lutil" >&5 |
10971 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 10985 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
10972 | 10986 |
10973 xe_check_libs=" -lutil " | 10987 xe_check_libs=" -lutil " |
10974 cat > conftest.$ac_ext <<EOF | 10988 cat > conftest.$ac_ext <<EOF |
10975 #line 10976 "configure" | 10989 #line 10990 "configure" |
10976 #include "confdefs.h" | 10990 #include "confdefs.h" |
10977 /* Override any gcc2 internal prototype to avoid an error. */ | 10991 /* Override any gcc2 internal prototype to avoid an error. */ |
10978 /* We use char because int might match the return type of a gcc2 | 10992 /* We use char because int might match the return type of a gcc2 |
10979 builtin and then its argument prototype would still apply. */ | 10993 builtin and then its argument prototype would still apply. */ |
10980 char openpty(); | 10994 char openpty(); |
10981 | 10995 |
10982 int main() { | 10996 int main() { |
10983 openpty() | 10997 openpty() |
10984 ; return 0; } | 10998 ; return 0; } |
10985 EOF | 10999 EOF |
10986 if { (eval echo configure:10987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11000 if { (eval echo configure:11001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10987 rm -rf conftest* | 11001 rm -rf conftest* |
10988 eval "ac_cv_lib_$ac_lib_var=yes" | 11002 eval "ac_cv_lib_$ac_lib_var=yes" |
10989 else | 11003 else |
10990 echo "configure: failed program was:" >&5 | 11004 echo "configure: failed program was:" >&5 |
10991 cat conftest.$ac_ext >&5 | 11005 cat conftest.$ac_ext >&5 |
11016 | 11030 |
11017 for ac_hdr in libutil.h util.h | 11031 for ac_hdr in libutil.h util.h |
11018 do | 11032 do |
11019 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11033 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11020 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11034 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11021 echo "configure:11022: checking for $ac_hdr" >&5 | 11035 echo "configure:11036: checking for $ac_hdr" >&5 |
11022 | 11036 |
11023 cat > conftest.$ac_ext <<EOF | 11037 cat > conftest.$ac_ext <<EOF |
11024 #line 11025 "configure" | 11038 #line 11039 "configure" |
11025 #include "confdefs.h" | 11039 #include "confdefs.h" |
11026 #include <$ac_hdr> | 11040 #include <$ac_hdr> |
11027 EOF | 11041 EOF |
11028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11042 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11029 { (eval echo configure:11030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11043 { (eval echo configure:11044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11044 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11031 if test -z "$ac_err"; then | 11045 if test -z "$ac_err"; then |
11032 rm -rf conftest* | 11046 rm -rf conftest* |
11033 eval "ac_cv_header_$ac_safe=yes" | 11047 eval "ac_cv_header_$ac_safe=yes" |
11034 else | 11048 else |
11061 case "$opsys" in | 11075 case "$opsys" in |
11062 hpux*) for ac_hdr in sys/ptyio.h | 11076 hpux*) for ac_hdr in sys/ptyio.h |
11063 do | 11077 do |
11064 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11078 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11065 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11079 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11066 echo "configure:11067: checking for $ac_hdr" >&5 | 11080 echo "configure:11081: checking for $ac_hdr" >&5 |
11067 | 11081 |
11068 cat > conftest.$ac_ext <<EOF | 11082 cat > conftest.$ac_ext <<EOF |
11069 #line 11070 "configure" | 11083 #line 11084 "configure" |
11070 #include "confdefs.h" | 11084 #include "confdefs.h" |
11071 #include <$ac_hdr> | 11085 #include <$ac_hdr> |
11072 EOF | 11086 EOF |
11073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11087 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11074 { (eval echo configure:11075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11088 { (eval echo configure:11089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11089 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11076 if test -z "$ac_err"; then | 11090 if test -z "$ac_err"; then |
11077 rm -rf conftest* | 11091 rm -rf conftest* |
11078 eval "ac_cv_header_$ac_safe=yes" | 11092 eval "ac_cv_header_$ac_safe=yes" |
11079 else | 11093 else |
11102 ;; | 11116 ;; |
11103 *) for ac_hdr in pty.h | 11117 *) for ac_hdr in pty.h |
11104 do | 11118 do |
11105 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11119 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11106 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11120 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11107 echo "configure:11108: checking for $ac_hdr" >&5 | 11121 echo "configure:11122: checking for $ac_hdr" >&5 |
11108 | 11122 |
11109 cat > conftest.$ac_ext <<EOF | 11123 cat > conftest.$ac_ext <<EOF |
11110 #line 11111 "configure" | 11124 #line 11125 "configure" |
11111 #include "confdefs.h" | 11125 #include "confdefs.h" |
11112 #include <$ac_hdr> | 11126 #include <$ac_hdr> |
11113 EOF | 11127 EOF |
11114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11128 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11115 { (eval echo configure:11116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11129 { (eval echo configure:11130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11116 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11130 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11117 if test -z "$ac_err"; then | 11131 if test -z "$ac_err"; then |
11118 rm -rf conftest* | 11132 rm -rf conftest* |
11119 eval "ac_cv_header_$ac_safe=yes" | 11133 eval "ac_cv_header_$ac_safe=yes" |
11120 else | 11134 else |
11143 | 11157 |
11144 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 11158 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
11145 do | 11159 do |
11146 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11160 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11147 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11161 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11148 echo "configure:11149: checking for $ac_hdr" >&5 | 11162 echo "configure:11163: checking for $ac_hdr" >&5 |
11149 | 11163 |
11150 cat > conftest.$ac_ext <<EOF | 11164 cat > conftest.$ac_ext <<EOF |
11151 #line 11152 "configure" | 11165 #line 11166 "configure" |
11152 #include "confdefs.h" | 11166 #include "confdefs.h" |
11153 #include <$ac_hdr> | 11167 #include <$ac_hdr> |
11154 EOF | 11168 EOF |
11155 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11169 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11156 { (eval echo configure:11157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11170 { (eval echo configure:11171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11157 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11171 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11158 if test -z "$ac_err"; then | 11172 if test -z "$ac_err"; then |
11159 rm -rf conftest* | 11173 rm -rf conftest* |
11160 eval "ac_cv_header_$ac_safe=yes" | 11174 eval "ac_cv_header_$ac_safe=yes" |
11161 else | 11175 else |
11187 | 11201 |
11188 for ac_hdr in stropts.h | 11202 for ac_hdr in stropts.h |
11189 do | 11203 do |
11190 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11204 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11191 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11205 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11192 echo "configure:11193: checking for $ac_hdr" >&5 | 11206 echo "configure:11207: checking for $ac_hdr" >&5 |
11193 | 11207 |
11194 cat > conftest.$ac_ext <<EOF | 11208 cat > conftest.$ac_ext <<EOF |
11195 #line 11196 "configure" | 11209 #line 11210 "configure" |
11196 #include "confdefs.h" | 11210 #include "confdefs.h" |
11197 #include <$ac_hdr> | 11211 #include <$ac_hdr> |
11198 EOF | 11212 EOF |
11199 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11213 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11200 { (eval echo configure:11201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11214 { (eval echo configure:11215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11201 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11215 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11202 if test -z "$ac_err"; then | 11216 if test -z "$ac_err"; then |
11203 rm -rf conftest* | 11217 rm -rf conftest* |
11204 eval "ac_cv_header_$ac_safe=yes" | 11218 eval "ac_cv_header_$ac_safe=yes" |
11205 else | 11219 else |
11228 | 11242 |
11229 if test "$ac_cv_header_stropts_h" = "yes"; then | 11243 if test "$ac_cv_header_stropts_h" = "yes"; then |
11230 for ac_func in isastream | 11244 for ac_func in isastream |
11231 do | 11245 do |
11232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11246 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11233 echo "configure:11234: checking for $ac_func" >&5 | 11247 echo "configure:11248: checking for $ac_func" >&5 |
11234 | 11248 |
11235 cat > conftest.$ac_ext <<EOF | 11249 cat > conftest.$ac_ext <<EOF |
11236 #line 11237 "configure" | 11250 #line 11251 "configure" |
11237 #include "confdefs.h" | 11251 #include "confdefs.h" |
11238 /* System header to define __stub macros and hopefully few prototypes, | 11252 /* System header to define __stub macros and hopefully few prototypes, |
11239 which can conflict with char $ac_func(); below. */ | 11253 which can conflict with char $ac_func(); below. */ |
11240 #include <assert.h> | 11254 #include <assert.h> |
11241 /* Override any gcc2 internal prototype to avoid an error. */ | 11255 /* Override any gcc2 internal prototype to avoid an error. */ |
11254 $ac_func(); | 11268 $ac_func(); |
11255 #endif | 11269 #endif |
11256 | 11270 |
11257 ; return 0; } | 11271 ; return 0; } |
11258 EOF | 11272 EOF |
11259 if { (eval echo configure:11260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11273 if { (eval echo configure:11274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11260 rm -rf conftest* | 11274 rm -rf conftest* |
11261 eval "ac_cv_func_$ac_func=yes" | 11275 eval "ac_cv_func_$ac_func=yes" |
11262 else | 11276 else |
11263 echo "configure: failed program was:" >&5 | 11277 echo "configure: failed program was:" >&5 |
11264 cat conftest.$ac_ext >&5 | 11278 cat conftest.$ac_ext >&5 |
11285 | 11299 |
11286 for ac_hdr in strtio.h | 11300 for ac_hdr in strtio.h |
11287 do | 11301 do |
11288 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11302 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11289 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11303 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11290 echo "configure:11291: checking for $ac_hdr" >&5 | 11304 echo "configure:11305: checking for $ac_hdr" >&5 |
11291 | 11305 |
11292 cat > conftest.$ac_ext <<EOF | 11306 cat > conftest.$ac_ext <<EOF |
11293 #line 11294 "configure" | 11307 #line 11308 "configure" |
11294 #include "confdefs.h" | 11308 #include "confdefs.h" |
11295 #include <$ac_hdr> | 11309 #include <$ac_hdr> |
11296 EOF | 11310 EOF |
11297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11298 { (eval echo configure:11299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11312 { (eval echo configure:11313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11313 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11300 if test -z "$ac_err"; then | 11314 if test -z "$ac_err"; then |
11301 rm -rf conftest* | 11315 rm -rf conftest* |
11302 eval "ac_cv_header_$ac_safe=yes" | 11316 eval "ac_cv_header_$ac_safe=yes" |
11303 else | 11317 else |
11326 fi | 11340 fi |
11327 | 11341 |
11328 for ac_func in getloadavg | 11342 for ac_func in getloadavg |
11329 do | 11343 do |
11330 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11344 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11331 echo "configure:11332: checking for $ac_func" >&5 | 11345 echo "configure:11346: checking for $ac_func" >&5 |
11332 | 11346 |
11333 cat > conftest.$ac_ext <<EOF | 11347 cat > conftest.$ac_ext <<EOF |
11334 #line 11335 "configure" | 11348 #line 11349 "configure" |
11335 #include "confdefs.h" | 11349 #include "confdefs.h" |
11336 /* System header to define __stub macros and hopefully few prototypes, | 11350 /* System header to define __stub macros and hopefully few prototypes, |
11337 which can conflict with char $ac_func(); below. */ | 11351 which can conflict with char $ac_func(); below. */ |
11338 #include <assert.h> | 11352 #include <assert.h> |
11339 /* Override any gcc2 internal prototype to avoid an error. */ | 11353 /* Override any gcc2 internal prototype to avoid an error. */ |
11352 $ac_func(); | 11366 $ac_func(); |
11353 #endif | 11367 #endif |
11354 | 11368 |
11355 ; return 0; } | 11369 ; return 0; } |
11356 EOF | 11370 EOF |
11357 if { (eval echo configure:11358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11371 if { (eval echo configure:11372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11358 rm -rf conftest* | 11372 rm -rf conftest* |
11359 eval "ac_cv_func_$ac_func=yes" | 11373 eval "ac_cv_func_$ac_func=yes" |
11360 else | 11374 else |
11361 echo "configure: failed program was:" >&5 | 11375 echo "configure: failed program was:" >&5 |
11362 cat conftest.$ac_ext >&5 | 11376 cat conftest.$ac_ext >&5 |
11385 if test "$ac_cv_func_getloadavg" = "yes"; then | 11399 if test "$ac_cv_func_getloadavg" = "yes"; then |
11386 for ac_hdr in sys/loadavg.h | 11400 for ac_hdr in sys/loadavg.h |
11387 do | 11401 do |
11388 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11402 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11389 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11403 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11390 echo "configure:11391: checking for $ac_hdr" >&5 | 11404 echo "configure:11405: checking for $ac_hdr" >&5 |
11391 | 11405 |
11392 cat > conftest.$ac_ext <<EOF | 11406 cat > conftest.$ac_ext <<EOF |
11393 #line 11394 "configure" | 11407 #line 11408 "configure" |
11394 #include "confdefs.h" | 11408 #include "confdefs.h" |
11395 #include <$ac_hdr> | 11409 #include <$ac_hdr> |
11396 EOF | 11410 EOF |
11397 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11411 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11398 { (eval echo configure:11399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11412 { (eval echo configure:11413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11399 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11413 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11400 if test -z "$ac_err"; then | 11414 if test -z "$ac_err"; then |
11401 rm -rf conftest* | 11415 rm -rf conftest* |
11402 eval "ac_cv_header_$ac_safe=yes" | 11416 eval "ac_cv_header_$ac_safe=yes" |
11403 else | 11417 else |
11429 echo " xemacs will be linked with \"getloadavg.o\"" | 11443 echo " xemacs will be linked with \"getloadavg.o\"" |
11430 fi | 11444 fi |
11431 | 11445 |
11432 | 11446 |
11433 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11447 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
11434 echo "configure:11435: checking for kstat_open in -lkstat" >&5 | 11448 echo "configure:11449: checking for kstat_open in -lkstat" >&5 |
11435 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11449 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
11436 | 11450 |
11437 xe_check_libs=" -lkstat " | 11451 xe_check_libs=" -lkstat " |
11438 cat > conftest.$ac_ext <<EOF | 11452 cat > conftest.$ac_ext <<EOF |
11439 #line 11440 "configure" | 11453 #line 11454 "configure" |
11440 #include "confdefs.h" | 11454 #include "confdefs.h" |
11441 /* Override any gcc2 internal prototype to avoid an error. */ | 11455 /* Override any gcc2 internal prototype to avoid an error. */ |
11442 /* We use char because int might match the return type of a gcc2 | 11456 /* We use char because int might match the return type of a gcc2 |
11443 builtin and then its argument prototype would still apply. */ | 11457 builtin and then its argument prototype would still apply. */ |
11444 char kstat_open(); | 11458 char kstat_open(); |
11445 | 11459 |
11446 int main() { | 11460 int main() { |
11447 kstat_open() | 11461 kstat_open() |
11448 ; return 0; } | 11462 ; return 0; } |
11449 EOF | 11463 EOF |
11450 if { (eval echo configure:11451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11464 if { (eval echo configure:11465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11451 rm -rf conftest* | 11465 rm -rf conftest* |
11452 eval "ac_cv_lib_$ac_lib_var=yes" | 11466 eval "ac_cv_lib_$ac_lib_var=yes" |
11453 else | 11467 else |
11454 echo "configure: failed program was:" >&5 | 11468 echo "configure: failed program was:" >&5 |
11455 cat conftest.$ac_ext >&5 | 11469 cat conftest.$ac_ext >&5 |
11480 | 11494 |
11481 for ac_hdr in kstat.h | 11495 for ac_hdr in kstat.h |
11482 do | 11496 do |
11483 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11497 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11484 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11498 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11485 echo "configure:11486: checking for $ac_hdr" >&5 | 11499 echo "configure:11500: checking for $ac_hdr" >&5 |
11486 | 11500 |
11487 cat > conftest.$ac_ext <<EOF | 11501 cat > conftest.$ac_ext <<EOF |
11488 #line 11489 "configure" | 11502 #line 11503 "configure" |
11489 #include "confdefs.h" | 11503 #include "confdefs.h" |
11490 #include <$ac_hdr> | 11504 #include <$ac_hdr> |
11491 EOF | 11505 EOF |
11492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11506 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11493 { (eval echo configure:11494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11507 { (eval echo configure:11508: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11508 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11495 if test -z "$ac_err"; then | 11509 if test -z "$ac_err"; then |
11496 rm -rf conftest* | 11510 rm -rf conftest* |
11497 eval "ac_cv_header_$ac_safe=yes" | 11511 eval "ac_cv_header_$ac_safe=yes" |
11498 else | 11512 else |
11520 done | 11534 done |
11521 | 11535 |
11522 | 11536 |
11523 | 11537 |
11524 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11538 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
11525 echo "configure:11526: checking for kvm_read in -lkvm" >&5 | 11539 echo "configure:11540: checking for kvm_read in -lkvm" >&5 |
11526 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11540 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
11527 | 11541 |
11528 xe_check_libs=" -lkvm " | 11542 xe_check_libs=" -lkvm " |
11529 cat > conftest.$ac_ext <<EOF | 11543 cat > conftest.$ac_ext <<EOF |
11530 #line 11531 "configure" | 11544 #line 11545 "configure" |
11531 #include "confdefs.h" | 11545 #include "confdefs.h" |
11532 /* Override any gcc2 internal prototype to avoid an error. */ | 11546 /* Override any gcc2 internal prototype to avoid an error. */ |
11533 /* We use char because int might match the return type of a gcc2 | 11547 /* We use char because int might match the return type of a gcc2 |
11534 builtin and then its argument prototype would still apply. */ | 11548 builtin and then its argument prototype would still apply. */ |
11535 char kvm_read(); | 11549 char kvm_read(); |
11536 | 11550 |
11537 int main() { | 11551 int main() { |
11538 kvm_read() | 11552 kvm_read() |
11539 ; return 0; } | 11553 ; return 0; } |
11540 EOF | 11554 EOF |
11541 if { (eval echo configure:11542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11555 if { (eval echo configure:11556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11542 rm -rf conftest* | 11556 rm -rf conftest* |
11543 eval "ac_cv_lib_$ac_lib_var=yes" | 11557 eval "ac_cv_lib_$ac_lib_var=yes" |
11544 else | 11558 else |
11545 echo "configure: failed program was:" >&5 | 11559 echo "configure: failed program was:" >&5 |
11546 cat conftest.$ac_ext >&5 | 11560 cat conftest.$ac_ext >&5 |
11570 | 11584 |
11571 | 11585 |
11572 fi | 11586 fi |
11573 | 11587 |
11574 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11588 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
11575 echo "configure:11576: checking whether netdb declares h_errno" >&5 | 11589 echo "configure:11590: checking whether netdb declares h_errno" >&5 |
11576 cat > conftest.$ac_ext <<EOF | 11590 cat > conftest.$ac_ext <<EOF |
11577 #line 11578 "configure" | 11591 #line 11592 "configure" |
11578 #include "confdefs.h" | 11592 #include "confdefs.h" |
11579 #include <netdb.h> | 11593 #include <netdb.h> |
11580 int main() { | 11594 int main() { |
11581 return h_errno; | 11595 return h_errno; |
11582 ; return 0; } | 11596 ; return 0; } |
11583 EOF | 11597 EOF |
11584 if { (eval echo configure:11585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11598 if { (eval echo configure:11599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11585 rm -rf conftest* | 11599 rm -rf conftest* |
11586 echo "$ac_t""yes" 1>&6 | 11600 echo "$ac_t""yes" 1>&6 |
11587 { test "$extra_verbose" = "yes" && cat << \EOF | 11601 { test "$extra_verbose" = "yes" && cat << \EOF |
11588 Defining HAVE_H_ERRNO | 11602 Defining HAVE_H_ERRNO |
11589 EOF | 11603 EOF |
11599 echo "$ac_t""no" 1>&6 | 11613 echo "$ac_t""no" 1>&6 |
11600 fi | 11614 fi |
11601 rm -f conftest* | 11615 rm -f conftest* |
11602 | 11616 |
11603 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11617 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
11604 echo "configure:11605: checking for sigsetjmp" >&5 | 11618 echo "configure:11619: checking for sigsetjmp" >&5 |
11605 cat > conftest.$ac_ext <<EOF | 11619 cat > conftest.$ac_ext <<EOF |
11606 #line 11607 "configure" | 11620 #line 11621 "configure" |
11607 #include "confdefs.h" | 11621 #include "confdefs.h" |
11608 #include <setjmp.h> | 11622 #include <setjmp.h> |
11609 int main() { | 11623 int main() { |
11610 sigjmp_buf bar; sigsetjmp (bar, 0); | 11624 sigjmp_buf bar; sigsetjmp (bar, 0); |
11611 ; return 0; } | 11625 ; return 0; } |
11612 EOF | 11626 EOF |
11613 if { (eval echo configure:11614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11627 if { (eval echo configure:11628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11614 rm -rf conftest* | 11628 rm -rf conftest* |
11615 echo "$ac_t""yes" 1>&6 | 11629 echo "$ac_t""yes" 1>&6 |
11616 { test "$extra_verbose" = "yes" && cat << \EOF | 11630 { test "$extra_verbose" = "yes" && cat << \EOF |
11617 Defining HAVE_SIGSETJMP | 11631 Defining HAVE_SIGSETJMP |
11618 EOF | 11632 EOF |
11628 echo "$ac_t""no" 1>&6 | 11642 echo "$ac_t""no" 1>&6 |
11629 fi | 11643 fi |
11630 rm -f conftest* | 11644 rm -f conftest* |
11631 | 11645 |
11632 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11646 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
11633 echo "configure:11634: checking whether localtime caches TZ" >&5 | 11647 echo "configure:11648: checking whether localtime caches TZ" >&5 |
11634 | 11648 |
11635 if test "$ac_cv_func_tzset" = "yes"; then | 11649 if test "$ac_cv_func_tzset" = "yes"; then |
11636 cat > conftest.$ac_ext <<EOF | 11650 cat > conftest.$ac_ext <<EOF |
11637 #line 11638 "configure" | 11651 #line 11652 "configure" |
11638 #include "confdefs.h" | 11652 #include "confdefs.h" |
11639 #include <time.h> | 11653 #include <time.h> |
11640 #if STDC_HEADERS | 11654 #if STDC_HEADERS |
11641 # include <stdlib.h> | 11655 # include <stdlib.h> |
11642 #endif | 11656 #endif |
11667 if (localtime (&now)->tm_hour != hour_unset) | 11681 if (localtime (&now)->tm_hour != hour_unset) |
11668 exit (1); | 11682 exit (1); |
11669 exit (0); | 11683 exit (0); |
11670 } | 11684 } |
11671 EOF | 11685 EOF |
11672 if { (eval echo configure:11673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11686 if { (eval echo configure:11687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11673 then | 11687 then |
11674 emacs_cv_localtime_cache=no | 11688 emacs_cv_localtime_cache=no |
11675 else | 11689 else |
11676 conftest_rc="$?" | 11690 conftest_rc="$?" |
11677 echo "configure: failed program was:" >&5 | 11691 echo "configure: failed program was:" >&5 |
11697 | 11711 |
11698 fi | 11712 fi |
11699 | 11713 |
11700 if test "$HAVE_TIMEVAL" = "yes"; then | 11714 if test "$HAVE_TIMEVAL" = "yes"; then |
11701 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11715 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
11702 echo "configure:11703: checking whether gettimeofday accepts one or two arguments" >&5 | 11716 echo "configure:11717: checking whether gettimeofday accepts one or two arguments" >&5 |
11703 cat > conftest.$ac_ext <<EOF | 11717 cat > conftest.$ac_ext <<EOF |
11704 #line 11705 "configure" | 11718 #line 11719 "configure" |
11705 #include "confdefs.h" | 11719 #include "confdefs.h" |
11706 | 11720 |
11707 #ifdef TIME_WITH_SYS_TIME | 11721 #ifdef TIME_WITH_SYS_TIME |
11708 #include <sys/time.h> | 11722 #include <sys/time.h> |
11709 #include <time.h> | 11723 #include <time.h> |
11720 struct timeval time; | 11734 struct timeval time; |
11721 gettimeofday (&time, 0); | 11735 gettimeofday (&time, 0); |
11722 | 11736 |
11723 ; return 0; } | 11737 ; return 0; } |
11724 EOF | 11738 EOF |
11725 if { (eval echo configure:11726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11739 if { (eval echo configure:11740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11726 rm -rf conftest* | 11740 rm -rf conftest* |
11727 echo "$ac_t""two" 1>&6 | 11741 echo "$ac_t""two" 1>&6 |
11728 else | 11742 else |
11729 echo "configure: failed program was:" >&5 | 11743 echo "configure: failed program was:" >&5 |
11730 cat conftest.$ac_ext >&5 | 11744 cat conftest.$ac_ext >&5 |
11742 rm -f conftest* | 11756 rm -f conftest* |
11743 fi | 11757 fi |
11744 | 11758 |
11745 | 11759 |
11746 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11760 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
11747 echo "configure:11748: checking for inline" >&5 | 11761 echo "configure:11762: checking for inline" >&5 |
11748 | 11762 |
11749 ac_cv_c_inline=no | 11763 ac_cv_c_inline=no |
11750 for ac_kw in inline __inline__ __inline; do | 11764 for ac_kw in inline __inline__ __inline; do |
11751 cat > conftest.$ac_ext <<EOF | 11765 cat > conftest.$ac_ext <<EOF |
11752 #line 11753 "configure" | 11766 #line 11767 "configure" |
11753 #include "confdefs.h" | 11767 #include "confdefs.h" |
11754 | 11768 |
11755 int main() { | 11769 int main() { |
11756 } $ac_kw foo() { | 11770 } $ac_kw foo() { |
11757 ; return 0; } | 11771 ; return 0; } |
11758 EOF | 11772 EOF |
11759 if { (eval echo configure:11760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11773 if { (eval echo configure:11774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11760 rm -rf conftest* | 11774 rm -rf conftest* |
11761 ac_cv_c_inline=$ac_kw; break | 11775 ac_cv_c_inline=$ac_kw; break |
11762 else | 11776 else |
11763 echo "configure: failed program was:" >&5 | 11777 echo "configure: failed program was:" >&5 |
11764 cat conftest.$ac_ext >&5 | 11778 cat conftest.$ac_ext >&5 |
11795 | 11809 |
11796 if test "$__DECC" != "yes"; then | 11810 if test "$__DECC" != "yes"; then |
11797 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11811 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11798 # for constant arguments. Useless! | 11812 # for constant arguments. Useless! |
11799 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11813 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
11800 echo "configure:11801: checking for working alloca.h" >&5 | 11814 echo "configure:11815: checking for working alloca.h" >&5 |
11801 | 11815 |
11802 cat > conftest.$ac_ext <<EOF | 11816 cat > conftest.$ac_ext <<EOF |
11803 #line 11804 "configure" | 11817 #line 11818 "configure" |
11804 #include "confdefs.h" | 11818 #include "confdefs.h" |
11805 #include <alloca.h> | 11819 #include <alloca.h> |
11806 int main() { | 11820 int main() { |
11807 char *p = alloca(2 * sizeof(int)); | 11821 char *p = alloca(2 * sizeof(int)); |
11808 ; return 0; } | 11822 ; return 0; } |
11809 EOF | 11823 EOF |
11810 if { (eval echo configure:11811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11824 if { (eval echo configure:11825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11811 rm -rf conftest* | 11825 rm -rf conftest* |
11812 ac_cv_header_alloca_h=yes | 11826 ac_cv_header_alloca_h=yes |
11813 else | 11827 else |
11814 echo "configure: failed program was:" >&5 | 11828 echo "configure: failed program was:" >&5 |
11815 cat conftest.$ac_ext >&5 | 11829 cat conftest.$ac_ext >&5 |
11829 } | 11843 } |
11830 | 11844 |
11831 fi | 11845 fi |
11832 | 11846 |
11833 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11847 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
11834 echo "configure:11835: checking for alloca" >&5 | 11848 echo "configure:11849: checking for alloca" >&5 |
11835 | 11849 |
11836 cat > conftest.$ac_ext <<EOF | 11850 cat > conftest.$ac_ext <<EOF |
11837 #line 11838 "configure" | 11851 #line 11852 "configure" |
11838 #include "confdefs.h" | 11852 #include "confdefs.h" |
11839 | 11853 |
11840 #ifdef __GNUC__ | 11854 #ifdef __GNUC__ |
11841 # define alloca __builtin_alloca | 11855 # define alloca __builtin_alloca |
11842 #else | 11856 #else |
11860 | 11874 |
11861 int main() { | 11875 int main() { |
11862 char *p = (char *) alloca(1); | 11876 char *p = (char *) alloca(1); |
11863 ; return 0; } | 11877 ; return 0; } |
11864 EOF | 11878 EOF |
11865 if { (eval echo configure:11866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11879 if { (eval echo configure:11880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11866 rm -rf conftest* | 11880 rm -rf conftest* |
11867 ac_cv_func_alloca_works=yes | 11881 ac_cv_func_alloca_works=yes |
11868 else | 11882 else |
11869 echo "configure: failed program was:" >&5 | 11883 echo "configure: failed program was:" >&5 |
11870 cat conftest.$ac_ext >&5 | 11884 cat conftest.$ac_ext >&5 |
11899 EOF | 11913 EOF |
11900 } | 11914 } |
11901 | 11915 |
11902 | 11916 |
11903 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11917 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
11904 echo "configure:11905: checking whether alloca needs Cray hooks" >&5 | 11918 echo "configure:11919: checking whether alloca needs Cray hooks" >&5 |
11905 | 11919 |
11906 cat > conftest.$ac_ext <<EOF | 11920 cat > conftest.$ac_ext <<EOF |
11907 #line 11908 "configure" | 11921 #line 11922 "configure" |
11908 #include "confdefs.h" | 11922 #include "confdefs.h" |
11909 #if defined(CRAY) && ! defined(CRAY2) | 11923 #if defined(CRAY) && ! defined(CRAY2) |
11910 webecray | 11924 webecray |
11911 #else | 11925 #else |
11912 wenotbecray | 11926 wenotbecray |
11926 | 11940 |
11927 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11941 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
11928 if test $ac_cv_os_cray = yes; then | 11942 if test $ac_cv_os_cray = yes; then |
11929 for ac_func in _getb67 GETB67 getb67; do | 11943 for ac_func in _getb67 GETB67 getb67; do |
11930 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11944 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11931 echo "configure:11932: checking for $ac_func" >&5 | 11945 echo "configure:11946: checking for $ac_func" >&5 |
11932 | 11946 |
11933 cat > conftest.$ac_ext <<EOF | 11947 cat > conftest.$ac_ext <<EOF |
11934 #line 11935 "configure" | 11948 #line 11949 "configure" |
11935 #include "confdefs.h" | 11949 #include "confdefs.h" |
11936 /* System header to define __stub macros and hopefully few prototypes, | 11950 /* System header to define __stub macros and hopefully few prototypes, |
11937 which can conflict with char $ac_func(); below. */ | 11951 which can conflict with char $ac_func(); below. */ |
11938 #include <assert.h> | 11952 #include <assert.h> |
11939 /* Override any gcc2 internal prototype to avoid an error. */ | 11953 /* Override any gcc2 internal prototype to avoid an error. */ |
11952 $ac_func(); | 11966 $ac_func(); |
11953 #endif | 11967 #endif |
11954 | 11968 |
11955 ; return 0; } | 11969 ; return 0; } |
11956 EOF | 11970 EOF |
11957 if { (eval echo configure:11958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11971 if { (eval echo configure:11972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11958 rm -rf conftest* | 11972 rm -rf conftest* |
11959 eval "ac_cv_func_$ac_func=yes" | 11973 eval "ac_cv_func_$ac_func=yes" |
11960 else | 11974 else |
11961 echo "configure: failed program was:" >&5 | 11975 echo "configure: failed program was:" >&5 |
11962 cat conftest.$ac_ext >&5 | 11976 cat conftest.$ac_ext >&5 |
11982 | 11996 |
11983 done | 11997 done |
11984 fi | 11998 fi |
11985 | 11999 |
11986 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 12000 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
11987 echo "configure:11988: checking stack direction for C alloca" >&5 | 12001 echo "configure:12002: checking stack direction for C alloca" >&5 |
11988 | 12002 |
11989 cat > conftest.$ac_ext <<EOF | 12003 cat > conftest.$ac_ext <<EOF |
11990 #line 11991 "configure" | 12004 #line 12005 "configure" |
11991 #include "confdefs.h" | 12005 #include "confdefs.h" |
11992 find_stack_direction () | 12006 find_stack_direction () |
11993 { | 12007 { |
11994 static char *addr = 0; | 12008 static char *addr = 0; |
11995 auto char dummy; | 12009 auto char dummy; |
12004 main () | 12018 main () |
12005 { | 12019 { |
12006 exit (find_stack_direction() < 0); | 12020 exit (find_stack_direction() < 0); |
12007 } | 12021 } |
12008 EOF | 12022 EOF |
12009 if { (eval echo configure:12010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12023 if { (eval echo configure:12024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12010 then | 12024 then |
12011 ac_cv_c_stack_direction=1 | 12025 ac_cv_c_stack_direction=1 |
12012 else | 12026 else |
12013 conftest_rc="$?" | 12027 conftest_rc="$?" |
12014 echo "configure: failed program was:" >&5 | 12028 echo "configure: failed program was:" >&5 |
12033 echo " xemacs will be linked with \"$ALLOCA\"" | 12047 echo " xemacs will be linked with \"$ALLOCA\"" |
12034 fi | 12048 fi |
12035 fi | 12049 fi |
12036 | 12050 |
12037 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 12051 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
12038 echo "configure:12039: checking for working strcoll" >&5 | 12052 echo "configure:12053: checking for working strcoll" >&5 |
12039 | 12053 |
12040 cat > conftest.$ac_ext <<EOF | 12054 cat > conftest.$ac_ext <<EOF |
12041 #line 12042 "configure" | 12055 #line 12056 "configure" |
12042 #include "confdefs.h" | 12056 #include "confdefs.h" |
12043 #include <string.h> | 12057 #include <string.h> |
12044 main () | 12058 main () |
12045 { | 12059 { |
12046 exit (strcoll ("abc", "def") >= 0 || | 12060 exit (strcoll ("abc", "def") >= 0 || |
12047 strcoll ("ABC", "DEF") >= 0 || | 12061 strcoll ("ABC", "DEF") >= 0 || |
12048 strcoll ("123", "456") >= 0); | 12062 strcoll ("123", "456") >= 0); |
12049 } | 12063 } |
12050 EOF | 12064 EOF |
12051 if { (eval echo configure:12052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12065 if { (eval echo configure:12066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12052 then | 12066 then |
12053 ac_cv_func_strcoll_works=yes | 12067 ac_cv_func_strcoll_works=yes |
12054 else | 12068 else |
12055 conftest_rc="$?" | 12069 conftest_rc="$?" |
12056 echo "configure: failed program was:" >&5 | 12070 echo "configure: failed program was:" >&5 |
12074 | 12088 |
12075 | 12089 |
12076 for ac_func in getpgrp | 12090 for ac_func in getpgrp |
12077 do | 12091 do |
12078 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12092 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12079 echo "configure:12080: checking for $ac_func" >&5 | 12093 echo "configure:12094: checking for $ac_func" >&5 |
12080 | 12094 |
12081 cat > conftest.$ac_ext <<EOF | 12095 cat > conftest.$ac_ext <<EOF |
12082 #line 12083 "configure" | 12096 #line 12097 "configure" |
12083 #include "confdefs.h" | 12097 #include "confdefs.h" |
12084 /* System header to define __stub macros and hopefully few prototypes, | 12098 /* System header to define __stub macros and hopefully few prototypes, |
12085 which can conflict with char $ac_func(); below. */ | 12099 which can conflict with char $ac_func(); below. */ |
12086 #include <assert.h> | 12100 #include <assert.h> |
12087 /* Override any gcc2 internal prototype to avoid an error. */ | 12101 /* Override any gcc2 internal prototype to avoid an error. */ |
12100 $ac_func(); | 12114 $ac_func(); |
12101 #endif | 12115 #endif |
12102 | 12116 |
12103 ; return 0; } | 12117 ; return 0; } |
12104 EOF | 12118 EOF |
12105 if { (eval echo configure:12106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12119 if { (eval echo configure:12120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12106 rm -rf conftest* | 12120 rm -rf conftest* |
12107 eval "ac_cv_func_$ac_func=yes" | 12121 eval "ac_cv_func_$ac_func=yes" |
12108 else | 12122 else |
12109 echo "configure: failed program was:" >&5 | 12123 echo "configure: failed program was:" >&5 |
12110 cat conftest.$ac_ext >&5 | 12124 cat conftest.$ac_ext >&5 |
12128 echo "$ac_t""no" 1>&6 | 12142 echo "$ac_t""no" 1>&6 |
12129 fi | 12143 fi |
12130 done | 12144 done |
12131 | 12145 |
12132 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 12146 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
12133 echo "configure:12134: checking whether getpgrp takes no argument" >&5 | 12147 echo "configure:12148: checking whether getpgrp takes no argument" >&5 |
12134 | 12148 |
12135 cat > conftest.$ac_ext <<EOF | 12149 cat > conftest.$ac_ext <<EOF |
12136 #line 12137 "configure" | 12150 #line 12151 "configure" |
12137 #include "confdefs.h" | 12151 #include "confdefs.h" |
12138 | 12152 |
12139 /* | 12153 /* |
12140 * If this system has a BSD-style getpgrp(), | 12154 * If this system has a BSD-style getpgrp(), |
12141 * which takes a pid argument, exit unsuccessfully. | 12155 * which takes a pid argument, exit unsuccessfully. |
12186 exit(s>>8); | 12200 exit(s>>8); |
12187 } | 12201 } |
12188 } | 12202 } |
12189 | 12203 |
12190 EOF | 12204 EOF |
12191 if { (eval echo configure:12192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12205 if { (eval echo configure:12206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12192 then | 12206 then |
12193 ac_cv_func_getpgrp_void=yes | 12207 ac_cv_func_getpgrp_void=yes |
12194 else | 12208 else |
12195 conftest_rc="$?" | 12209 conftest_rc="$?" |
12196 echo "configure: failed program was:" >&5 | 12210 echo "configure: failed program was:" >&5 |
12213 | 12227 |
12214 fi | 12228 fi |
12215 | 12229 |
12216 | 12230 |
12217 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 12231 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
12218 echo "configure:12219: checking for working mmap" >&5 | 12232 echo "configure:12233: checking for working mmap" >&5 |
12219 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 12233 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
12220 cat > conftest.$ac_ext <<EOF | 12234 cat > conftest.$ac_ext <<EOF |
12221 #line 12222 "configure" | 12235 #line 12236 "configure" |
12222 #include "confdefs.h" | 12236 #include "confdefs.h" |
12223 #include <stdio.h> | 12237 #include <stdio.h> |
12224 #include <unistd.h> | 12238 #include <unistd.h> |
12225 #include <fcntl.h> | 12239 #include <fcntl.h> |
12226 #include <sys/mman.h> | 12240 #include <sys/mman.h> |
12249 return 0; | 12263 return 0; |
12250 perror ("conftest: mmap failed"); | 12264 perror ("conftest: mmap failed"); |
12251 return 1; | 12265 return 1; |
12252 } | 12266 } |
12253 EOF | 12267 EOF |
12254 if { (eval echo configure:12255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12268 if { (eval echo configure:12269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12255 then | 12269 then |
12256 have_mmap=yes | 12270 have_mmap=yes |
12257 else | 12271 else |
12258 conftest_rc="$?" | 12272 conftest_rc="$?" |
12259 echo "configure: failed program was:" >&5 | 12273 echo "configure: failed program was:" >&5 |
12278 esac | 12292 esac |
12279 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12293 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
12280 if test "$rel_alloc $have_mmap" = "default yes"; then | 12294 if test "$rel_alloc $have_mmap" = "default yes"; then |
12281 if test "$doug_lea_malloc" = "yes"; then | 12295 if test "$doug_lea_malloc" = "yes"; then |
12282 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12296 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
12283 echo "configure:12284: checking for M_MMAP_THRESHOLD" >&5 | 12297 echo "configure:12298: checking for M_MMAP_THRESHOLD" >&5 |
12284 cat > conftest.$ac_ext <<EOF | 12298 cat > conftest.$ac_ext <<EOF |
12285 #line 12286 "configure" | 12299 #line 12300 "configure" |
12286 #include "confdefs.h" | 12300 #include "confdefs.h" |
12287 #include <malloc.h> | 12301 #include <malloc.h> |
12288 int main() { | 12302 int main() { |
12289 | 12303 |
12290 #ifndef M_MMAP_THRESHOLD | 12304 #ifndef M_MMAP_THRESHOLD |
12292 !@+$%^&*_)(_ - unlikely to compile... | 12306 !@+$%^&*_)(_ - unlikely to compile... |
12293 #endif | 12307 #endif |
12294 | 12308 |
12295 ; return 0; } | 12309 ; return 0; } |
12296 EOF | 12310 EOF |
12297 if { (eval echo configure:12298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12311 if { (eval echo configure:12312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12298 rm -rf conftest* | 12312 rm -rf conftest* |
12299 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12313 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
12300 else | 12314 else |
12301 echo "configure: failed program was:" >&5 | 12315 echo "configure: failed program was:" >&5 |
12302 cat conftest.$ac_ext >&5 | 12316 cat conftest.$ac_ext >&5 |
12317 } | 12331 } |
12318 | 12332 |
12319 | 12333 |
12320 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12334 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
12321 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12335 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
12322 echo "configure:12323: checking for termios.h" >&5 | 12336 echo "configure:12337: checking for termios.h" >&5 |
12323 | 12337 |
12324 cat > conftest.$ac_ext <<EOF | 12338 cat > conftest.$ac_ext <<EOF |
12325 #line 12326 "configure" | 12339 #line 12340 "configure" |
12326 #include "confdefs.h" | 12340 #include "confdefs.h" |
12327 #include <termios.h> | 12341 #include <termios.h> |
12328 EOF | 12342 EOF |
12329 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12330 { (eval echo configure:12331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12344 { (eval echo configure:12345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12331 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12332 if test -z "$ac_err"; then | 12346 if test -z "$ac_err"; then |
12333 rm -rf conftest* | 12347 rm -rf conftest* |
12334 eval "ac_cv_header_$ac_safe=yes" | 12348 eval "ac_cv_header_$ac_safe=yes" |
12335 else | 12349 else |
12368 | 12382 |
12369 else | 12383 else |
12370 echo "$ac_t""no" 1>&6 | 12384 echo "$ac_t""no" 1>&6 |
12371 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12385 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
12372 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12386 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
12373 echo "configure:12374: checking for termio.h" >&5 | 12387 echo "configure:12388: checking for termio.h" >&5 |
12374 | 12388 |
12375 cat > conftest.$ac_ext <<EOF | 12389 cat > conftest.$ac_ext <<EOF |
12376 #line 12377 "configure" | 12390 #line 12391 "configure" |
12377 #include "confdefs.h" | 12391 #include "confdefs.h" |
12378 #include <termio.h> | 12392 #include <termio.h> |
12379 EOF | 12393 EOF |
12380 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12381 { (eval echo configure:12382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12395 { (eval echo configure:12396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12382 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12396 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12383 if test -z "$ac_err"; then | 12397 if test -z "$ac_err"; then |
12384 rm -rf conftest* | 12398 rm -rf conftest* |
12385 eval "ac_cv_header_$ac_safe=yes" | 12399 eval "ac_cv_header_$ac_safe=yes" |
12386 else | 12400 else |
12408 fi | 12422 fi |
12409 | 12423 |
12410 | 12424 |
12411 | 12425 |
12412 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12426 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
12413 echo "configure:12414: checking for socket" >&5 | 12427 echo "configure:12428: checking for socket" >&5 |
12414 | 12428 |
12415 cat > conftest.$ac_ext <<EOF | 12429 cat > conftest.$ac_ext <<EOF |
12416 #line 12417 "configure" | 12430 #line 12431 "configure" |
12417 #include "confdefs.h" | 12431 #include "confdefs.h" |
12418 /* System header to define __stub macros and hopefully few prototypes, | 12432 /* System header to define __stub macros and hopefully few prototypes, |
12419 which can conflict with char socket(); below. */ | 12433 which can conflict with char socket(); below. */ |
12420 #include <assert.h> | 12434 #include <assert.h> |
12421 /* Override any gcc2 internal prototype to avoid an error. */ | 12435 /* Override any gcc2 internal prototype to avoid an error. */ |
12434 socket(); | 12448 socket(); |
12435 #endif | 12449 #endif |
12436 | 12450 |
12437 ; return 0; } | 12451 ; return 0; } |
12438 EOF | 12452 EOF |
12439 if { (eval echo configure:12440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12453 if { (eval echo configure:12454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12440 rm -rf conftest* | 12454 rm -rf conftest* |
12441 eval "ac_cv_func_socket=yes" | 12455 eval "ac_cv_func_socket=yes" |
12442 else | 12456 else |
12443 echo "configure: failed program was:" >&5 | 12457 echo "configure: failed program was:" >&5 |
12444 cat conftest.$ac_ext >&5 | 12458 cat conftest.$ac_ext >&5 |
12449 | 12463 |
12450 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12464 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
12451 echo "$ac_t""yes" 1>&6 | 12465 echo "$ac_t""yes" 1>&6 |
12452 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12466 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
12453 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12467 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
12454 echo "configure:12455: checking for netinet/in.h" >&5 | 12468 echo "configure:12469: checking for netinet/in.h" >&5 |
12455 | 12469 |
12456 cat > conftest.$ac_ext <<EOF | 12470 cat > conftest.$ac_ext <<EOF |
12457 #line 12458 "configure" | 12471 #line 12472 "configure" |
12458 #include "confdefs.h" | 12472 #include "confdefs.h" |
12459 #include <netinet/in.h> | 12473 #include <netinet/in.h> |
12460 EOF | 12474 EOF |
12461 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12475 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12462 { (eval echo configure:12463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12476 { (eval echo configure:12477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12463 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12477 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12464 if test -z "$ac_err"; then | 12478 if test -z "$ac_err"; then |
12465 rm -rf conftest* | 12479 rm -rf conftest* |
12466 eval "ac_cv_header_$ac_safe=yes" | 12480 eval "ac_cv_header_$ac_safe=yes" |
12467 else | 12481 else |
12474 rm -f conftest* | 12488 rm -f conftest* |
12475 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12489 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12476 echo "$ac_t""yes" 1>&6 | 12490 echo "$ac_t""yes" 1>&6 |
12477 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12491 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
12478 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12492 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
12479 echo "configure:12480: checking for arpa/inet.h" >&5 | 12493 echo "configure:12494: checking for arpa/inet.h" >&5 |
12480 | 12494 |
12481 cat > conftest.$ac_ext <<EOF | 12495 cat > conftest.$ac_ext <<EOF |
12482 #line 12483 "configure" | 12496 #line 12497 "configure" |
12483 #include "confdefs.h" | 12497 #include "confdefs.h" |
12484 #include <arpa/inet.h> | 12498 #include <arpa/inet.h> |
12485 EOF | 12499 EOF |
12486 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12500 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12487 { (eval echo configure:12488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12501 { (eval echo configure:12502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12488 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12502 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12489 if test -z "$ac_err"; then | 12503 if test -z "$ac_err"; then |
12490 rm -rf conftest* | 12504 rm -rf conftest* |
12491 eval "ac_cv_header_$ac_safe=yes" | 12505 eval "ac_cv_header_$ac_safe=yes" |
12492 else | 12506 else |
12507 #define HAVE_SOCKETS 1 | 12521 #define HAVE_SOCKETS 1 |
12508 EOF | 12522 EOF |
12509 } | 12523 } |
12510 | 12524 |
12511 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12525 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
12512 echo "configure:12513: checking "for sun_len member in struct sockaddr_un"" >&5 | 12526 echo "configure:12527: checking "for sun_len member in struct sockaddr_un"" >&5 |
12513 cat > conftest.$ac_ext <<EOF | 12527 cat > conftest.$ac_ext <<EOF |
12514 #line 12515 "configure" | 12528 #line 12529 "configure" |
12515 #include "confdefs.h" | 12529 #include "confdefs.h" |
12516 | 12530 |
12517 #include <sys/types.h> | 12531 #include <sys/types.h> |
12518 #include <sys/socket.h> | 12532 #include <sys/socket.h> |
12519 #include <sys/un.h> | 12533 #include <sys/un.h> |
12520 | 12534 |
12521 int main() { | 12535 int main() { |
12522 static struct sockaddr_un x; x.sun_len = 1; | 12536 static struct sockaddr_un x; x.sun_len = 1; |
12523 ; return 0; } | 12537 ; return 0; } |
12524 EOF | 12538 EOF |
12525 if { (eval echo configure:12526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12539 if { (eval echo configure:12540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12526 rm -rf conftest* | 12540 rm -rf conftest* |
12527 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12541 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12528 Defining HAVE_SOCKADDR_SUN_LEN | 12542 Defining HAVE_SOCKADDR_SUN_LEN |
12529 EOF | 12543 EOF |
12530 cat >> confdefs.h <<\EOF | 12544 cat >> confdefs.h <<\EOF |
12538 rm -rf conftest* | 12552 rm -rf conftest* |
12539 echo "$ac_t""no" 1>&6 | 12553 echo "$ac_t""no" 1>&6 |
12540 fi | 12554 fi |
12541 rm -f conftest* | 12555 rm -f conftest* |
12542 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12556 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
12543 echo "configure:12544: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12557 echo "configure:12558: checking "for ip_mreq struct in netinet/in.h"" >&5 |
12544 cat > conftest.$ac_ext <<EOF | 12558 cat > conftest.$ac_ext <<EOF |
12545 #line 12546 "configure" | 12559 #line 12560 "configure" |
12546 #include "confdefs.h" | 12560 #include "confdefs.h" |
12547 | 12561 |
12548 #include <sys/types.h> | 12562 #include <sys/types.h> |
12549 #include <netinet/in.h> | 12563 #include <netinet/in.h> |
12550 | 12564 |
12551 int main() { | 12565 int main() { |
12552 static struct ip_mreq x; | 12566 static struct ip_mreq x; |
12553 ; return 0; } | 12567 ; return 0; } |
12554 EOF | 12568 EOF |
12555 if { (eval echo configure:12556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12569 if { (eval echo configure:12570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12556 rm -rf conftest* | 12570 rm -rf conftest* |
12557 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12571 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12558 Defining HAVE_MULTICAST | 12572 Defining HAVE_MULTICAST |
12559 EOF | 12573 EOF |
12560 cat >> confdefs.h <<\EOF | 12574 cat >> confdefs.h <<\EOF |
12581 echo "$ac_t""no" 1>&6 | 12595 echo "$ac_t""no" 1>&6 |
12582 fi | 12596 fi |
12583 | 12597 |
12584 | 12598 |
12585 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12599 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
12586 echo "configure:12587: checking for msgget" >&5 | 12600 echo "configure:12601: checking for msgget" >&5 |
12587 | 12601 |
12588 cat > conftest.$ac_ext <<EOF | 12602 cat > conftest.$ac_ext <<EOF |
12589 #line 12590 "configure" | 12603 #line 12604 "configure" |
12590 #include "confdefs.h" | 12604 #include "confdefs.h" |
12591 /* System header to define __stub macros and hopefully few prototypes, | 12605 /* System header to define __stub macros and hopefully few prototypes, |
12592 which can conflict with char msgget(); below. */ | 12606 which can conflict with char msgget(); below. */ |
12593 #include <assert.h> | 12607 #include <assert.h> |
12594 /* Override any gcc2 internal prototype to avoid an error. */ | 12608 /* Override any gcc2 internal prototype to avoid an error. */ |
12607 msgget(); | 12621 msgget(); |
12608 #endif | 12622 #endif |
12609 | 12623 |
12610 ; return 0; } | 12624 ; return 0; } |
12611 EOF | 12625 EOF |
12612 if { (eval echo configure:12613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12626 if { (eval echo configure:12627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12613 rm -rf conftest* | 12627 rm -rf conftest* |
12614 eval "ac_cv_func_msgget=yes" | 12628 eval "ac_cv_func_msgget=yes" |
12615 else | 12629 else |
12616 echo "configure: failed program was:" >&5 | 12630 echo "configure: failed program was:" >&5 |
12617 cat conftest.$ac_ext >&5 | 12631 cat conftest.$ac_ext >&5 |
12622 | 12636 |
12623 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12637 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
12624 echo "$ac_t""yes" 1>&6 | 12638 echo "$ac_t""yes" 1>&6 |
12625 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12639 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
12626 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12640 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
12627 echo "configure:12628: checking for sys/ipc.h" >&5 | 12641 echo "configure:12642: checking for sys/ipc.h" >&5 |
12628 | 12642 |
12629 cat > conftest.$ac_ext <<EOF | 12643 cat > conftest.$ac_ext <<EOF |
12630 #line 12631 "configure" | 12644 #line 12645 "configure" |
12631 #include "confdefs.h" | 12645 #include "confdefs.h" |
12632 #include <sys/ipc.h> | 12646 #include <sys/ipc.h> |
12633 EOF | 12647 EOF |
12634 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12635 { (eval echo configure:12636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12649 { (eval echo configure:12650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12636 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12650 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12637 if test -z "$ac_err"; then | 12651 if test -z "$ac_err"; then |
12638 rm -rf conftest* | 12652 rm -rf conftest* |
12639 eval "ac_cv_header_$ac_safe=yes" | 12653 eval "ac_cv_header_$ac_safe=yes" |
12640 else | 12654 else |
12647 rm -f conftest* | 12661 rm -f conftest* |
12648 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12662 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12649 echo "$ac_t""yes" 1>&6 | 12663 echo "$ac_t""yes" 1>&6 |
12650 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12664 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
12651 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12665 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
12652 echo "configure:12653: checking for sys/msg.h" >&5 | 12666 echo "configure:12667: checking for sys/msg.h" >&5 |
12653 | 12667 |
12654 cat > conftest.$ac_ext <<EOF | 12668 cat > conftest.$ac_ext <<EOF |
12655 #line 12656 "configure" | 12669 #line 12670 "configure" |
12656 #include "confdefs.h" | 12670 #include "confdefs.h" |
12657 #include <sys/msg.h> | 12671 #include <sys/msg.h> |
12658 EOF | 12672 EOF |
12659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12660 { (eval echo configure:12661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12674 { (eval echo configure:12675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12662 if test -z "$ac_err"; then | 12676 if test -z "$ac_err"; then |
12663 rm -rf conftest* | 12677 rm -rf conftest* |
12664 eval "ac_cv_header_$ac_safe=yes" | 12678 eval "ac_cv_header_$ac_safe=yes" |
12665 else | 12679 else |
12693 fi | 12707 fi |
12694 | 12708 |
12695 | 12709 |
12696 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12710 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
12697 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12711 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
12698 echo "configure:12699: checking for dirent.h" >&5 | 12712 echo "configure:12713: checking for dirent.h" >&5 |
12699 | 12713 |
12700 cat > conftest.$ac_ext <<EOF | 12714 cat > conftest.$ac_ext <<EOF |
12701 #line 12702 "configure" | 12715 #line 12716 "configure" |
12702 #include "confdefs.h" | 12716 #include "confdefs.h" |
12703 #include <dirent.h> | 12717 #include <dirent.h> |
12704 EOF | 12718 EOF |
12705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12719 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12706 { (eval echo configure:12707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12720 { (eval echo configure:12721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12721 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12708 if test -z "$ac_err"; then | 12722 if test -z "$ac_err"; then |
12709 rm -rf conftest* | 12723 rm -rf conftest* |
12710 eval "ac_cv_header_$ac_safe=yes" | 12724 eval "ac_cv_header_$ac_safe=yes" |
12711 else | 12725 else |
12728 | 12742 |
12729 else | 12743 else |
12730 echo "$ac_t""no" 1>&6 | 12744 echo "$ac_t""no" 1>&6 |
12731 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12745 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
12732 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12746 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
12733 echo "configure:12734: checking for sys/dir.h" >&5 | 12747 echo "configure:12748: checking for sys/dir.h" >&5 |
12734 | 12748 |
12735 cat > conftest.$ac_ext <<EOF | 12749 cat > conftest.$ac_ext <<EOF |
12736 #line 12737 "configure" | 12750 #line 12751 "configure" |
12737 #include "confdefs.h" | 12751 #include "confdefs.h" |
12738 #include <sys/dir.h> | 12752 #include <sys/dir.h> |
12739 EOF | 12753 EOF |
12740 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12754 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12741 { (eval echo configure:12742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12755 { (eval echo configure:12756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12742 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12756 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12743 if test -z "$ac_err"; then | 12757 if test -z "$ac_err"; then |
12744 rm -rf conftest* | 12758 rm -rf conftest* |
12745 eval "ac_cv_header_$ac_safe=yes" | 12759 eval "ac_cv_header_$ac_safe=yes" |
12746 else | 12760 else |
12769 fi | 12783 fi |
12770 | 12784 |
12771 | 12785 |
12772 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12786 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
12773 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12787 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
12774 echo "configure:12775: checking for nlist.h" >&5 | 12788 echo "configure:12789: checking for nlist.h" >&5 |
12775 | 12789 |
12776 cat > conftest.$ac_ext <<EOF | 12790 cat > conftest.$ac_ext <<EOF |
12777 #line 12778 "configure" | 12791 #line 12792 "configure" |
12778 #include "confdefs.h" | 12792 #include "confdefs.h" |
12779 #include <nlist.h> | 12793 #include <nlist.h> |
12780 EOF | 12794 EOF |
12781 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12795 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12782 { (eval echo configure:12783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12796 { (eval echo configure:12797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12783 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12797 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12784 if test -z "$ac_err"; then | 12798 if test -z "$ac_err"; then |
12785 rm -rf conftest* | 12799 rm -rf conftest* |
12786 eval "ac_cv_header_$ac_safe=yes" | 12800 eval "ac_cv_header_$ac_safe=yes" |
12787 else | 12801 else |
12807 fi | 12821 fi |
12808 | 12822 |
12809 | 12823 |
12810 | 12824 |
12811 echo "checking "for sound support"" 1>&6 | 12825 echo "checking "for sound support"" 1>&6 |
12812 echo "configure:12813: checking "for sound support"" >&5 | 12826 echo "configure:12827: checking "for sound support"" >&5 |
12813 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 12827 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
12814 | 12828 |
12815 if test "$with_native_sound" != "no"; then | 12829 if test "$with_native_sound" != "no"; then |
12816 if test -n "$native_sound_lib"; then | 12830 if test -n "$native_sound_lib"; then |
12817 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 12831 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
12818 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 12832 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
12819 echo "configure:12820: checking for multimedia/audio_device.h" >&5 | 12833 echo "configure:12834: checking for multimedia/audio_device.h" >&5 |
12820 | 12834 |
12821 cat > conftest.$ac_ext <<EOF | 12835 cat > conftest.$ac_ext <<EOF |
12822 #line 12823 "configure" | 12836 #line 12837 "configure" |
12823 #include "confdefs.h" | 12837 #include "confdefs.h" |
12824 #include <multimedia/audio_device.h> | 12838 #include <multimedia/audio_device.h> |
12825 EOF | 12839 EOF |
12826 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12840 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12827 { (eval echo configure:12828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12841 { (eval echo configure:12842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12828 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12842 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12829 if test -z "$ac_err"; then | 12843 if test -z "$ac_err"; then |
12830 rm -rf conftest* | 12844 rm -rf conftest* |
12831 eval "ac_cv_header_$ac_safe=yes" | 12845 eval "ac_cv_header_$ac_safe=yes" |
12832 else | 12846 else |
12870 case "$canonical" in | 12884 case "$canonical" in |
12871 *-sgi-* ) | 12885 *-sgi-* ) |
12872 if test -z "$native_sound_lib"; then | 12886 if test -z "$native_sound_lib"; then |
12873 | 12887 |
12874 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 12888 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
12875 echo "configure:12876: checking for ALopenport in -laudio" >&5 | 12889 echo "configure:12890: checking for ALopenport in -laudio" >&5 |
12876 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 12890 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
12877 | 12891 |
12878 xe_check_libs=" -laudio " | 12892 xe_check_libs=" -laudio " |
12879 cat > conftest.$ac_ext <<EOF | 12893 cat > conftest.$ac_ext <<EOF |
12880 #line 12881 "configure" | 12894 #line 12895 "configure" |
12881 #include "confdefs.h" | 12895 #include "confdefs.h" |
12882 /* Override any gcc2 internal prototype to avoid an error. */ | 12896 /* Override any gcc2 internal prototype to avoid an error. */ |
12883 /* We use char because int might match the return type of a gcc2 | 12897 /* We use char because int might match the return type of a gcc2 |
12884 builtin and then its argument prototype would still apply. */ | 12898 builtin and then its argument prototype would still apply. */ |
12885 char ALopenport(); | 12899 char ALopenport(); |
12886 | 12900 |
12887 int main() { | 12901 int main() { |
12888 ALopenport() | 12902 ALopenport() |
12889 ; return 0; } | 12903 ; return 0; } |
12890 EOF | 12904 EOF |
12891 if { (eval echo configure:12892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12905 if { (eval echo configure:12906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12892 rm -rf conftest* | 12906 rm -rf conftest* |
12893 eval "ac_cv_lib_$ac_lib_var=yes" | 12907 eval "ac_cv_lib_$ac_lib_var=yes" |
12894 else | 12908 else |
12895 echo "configure: failed program was:" >&5 | 12909 echo "configure: failed program was:" >&5 |
12896 cat conftest.$ac_ext >&5 | 12910 cat conftest.$ac_ext >&5 |
12917 fi ;; | 12931 fi ;; |
12918 hppa*-hp-hpux* ) | 12932 hppa*-hp-hpux* ) |
12919 if test -z "$native_sound_lib"; then | 12933 if test -z "$native_sound_lib"; then |
12920 | 12934 |
12921 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 12935 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
12922 echo "configure:12923: checking for AOpenAudio in -lAlib" >&5 | 12936 echo "configure:12937: checking for AOpenAudio in -lAlib" >&5 |
12923 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 12937 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
12924 | 12938 |
12925 xe_check_libs=" -lAlib " | 12939 xe_check_libs=" -lAlib " |
12926 cat > conftest.$ac_ext <<EOF | 12940 cat > conftest.$ac_ext <<EOF |
12927 #line 12928 "configure" | 12941 #line 12942 "configure" |
12928 #include "confdefs.h" | 12942 #include "confdefs.h" |
12929 /* Override any gcc2 internal prototype to avoid an error. */ | 12943 /* Override any gcc2 internal prototype to avoid an error. */ |
12930 /* We use char because int might match the return type of a gcc2 | 12944 /* We use char because int might match the return type of a gcc2 |
12931 builtin and then its argument prototype would still apply. */ | 12945 builtin and then its argument prototype would still apply. */ |
12932 char AOpenAudio(); | 12946 char AOpenAudio(); |
12933 | 12947 |
12934 int main() { | 12948 int main() { |
12935 AOpenAudio() | 12949 AOpenAudio() |
12936 ; return 0; } | 12950 ; return 0; } |
12937 EOF | 12951 EOF |
12938 if { (eval echo configure:12939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12952 if { (eval echo configure:12953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12939 rm -rf conftest* | 12953 rm -rf conftest* |
12940 eval "ac_cv_lib_$ac_lib_var=yes" | 12954 eval "ac_cv_lib_$ac_lib_var=yes" |
12941 else | 12955 else |
12942 echo "configure: failed program was:" >&5 | 12956 echo "configure: failed program was:" >&5 |
12943 cat conftest.$ac_ext >&5 | 12957 cat conftest.$ac_ext >&5 |
12981 | 12995 |
12982 if test -z "$sound_found"; then | 12996 if test -z "$sound_found"; then |
12983 for dir in "machine" "sys" "linux"; do | 12997 for dir in "machine" "sys" "linux"; do |
12984 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 12998 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
12985 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 12999 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
12986 echo "configure:12987: checking for ${dir}/soundcard.h" >&5 | 13000 echo "configure:13001: checking for ${dir}/soundcard.h" >&5 |
12987 | 13001 |
12988 cat > conftest.$ac_ext <<EOF | 13002 cat > conftest.$ac_ext <<EOF |
12989 #line 12990 "configure" | 13003 #line 13004 "configure" |
12990 #include "confdefs.h" | 13004 #include "confdefs.h" |
12991 #include <${dir}/soundcard.h> | 13005 #include <${dir}/soundcard.h> |
12992 EOF | 13006 EOF |
12993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13007 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12994 { (eval echo configure:12995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13008 { (eval echo configure:13009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13009 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12996 if test -z "$ac_err"; then | 13010 if test -z "$ac_err"; then |
12997 rm -rf conftest* | 13011 rm -rf conftest* |
12998 eval "ac_cv_header_$ac_safe=yes" | 13012 eval "ac_cv_header_$ac_safe=yes" |
12999 else | 13013 else |
13043 fi | 13057 fi |
13044 | 13058 |
13045 if test "$with_nas_sound" != "no"; then | 13059 if test "$with_nas_sound" != "no"; then |
13046 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 13060 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
13047 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 13061 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
13048 echo "configure:13049: checking for audio/audiolib.h" >&5 | 13062 echo "configure:13063: checking for audio/audiolib.h" >&5 |
13049 | 13063 |
13050 cat > conftest.$ac_ext <<EOF | 13064 cat > conftest.$ac_ext <<EOF |
13051 #line 13052 "configure" | 13065 #line 13066 "configure" |
13052 #include "confdefs.h" | 13066 #include "confdefs.h" |
13053 #include <audio/audiolib.h> | 13067 #include <audio/audiolib.h> |
13054 EOF | 13068 EOF |
13055 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13056 { (eval echo configure:13057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13070 { (eval echo configure:13071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13057 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13071 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13058 if test -z "$ac_err"; then | 13072 if test -z "$ac_err"; then |
13059 rm -rf conftest* | 13073 rm -rf conftest* |
13060 eval "ac_cv_header_$ac_safe=yes" | 13074 eval "ac_cv_header_$ac_safe=yes" |
13061 else | 13075 else |
13069 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13083 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13070 echo "$ac_t""yes" 1>&6 | 13084 echo "$ac_t""yes" 1>&6 |
13071 | 13085 |
13072 | 13086 |
13073 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 13087 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
13074 echo "configure:13075: checking for AuOpenServer in -laudio" >&5 | 13088 echo "configure:13089: checking for AuOpenServer in -laudio" >&5 |
13075 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 13089 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
13076 | 13090 |
13077 xe_check_libs=" -laudio " | 13091 xe_check_libs=" -laudio " |
13078 cat > conftest.$ac_ext <<EOF | 13092 cat > conftest.$ac_ext <<EOF |
13079 #line 13080 "configure" | 13093 #line 13094 "configure" |
13080 #include "confdefs.h" | 13094 #include "confdefs.h" |
13081 /* Override any gcc2 internal prototype to avoid an error. */ | 13095 /* Override any gcc2 internal prototype to avoid an error. */ |
13082 /* We use char because int might match the return type of a gcc2 | 13096 /* We use char because int might match the return type of a gcc2 |
13083 builtin and then its argument prototype would still apply. */ | 13097 builtin and then its argument prototype would still apply. */ |
13084 char AuOpenServer(); | 13098 char AuOpenServer(); |
13085 | 13099 |
13086 int main() { | 13100 int main() { |
13087 AuOpenServer() | 13101 AuOpenServer() |
13088 ; return 0; } | 13102 ; return 0; } |
13089 EOF | 13103 EOF |
13090 if { (eval echo configure:13091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13104 if { (eval echo configure:13105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13091 rm -rf conftest* | 13105 rm -rf conftest* |
13092 eval "ac_cv_lib_$ac_lib_var=yes" | 13106 eval "ac_cv_lib_$ac_lib_var=yes" |
13093 else | 13107 else |
13094 echo "configure: failed program was:" >&5 | 13108 echo "configure: failed program was:" >&5 |
13095 cat conftest.$ac_ext >&5 | 13109 cat conftest.$ac_ext >&5 |
13124 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 13138 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
13125 echo " xemacs will be linked with \"nas.o\"" | 13139 echo " xemacs will be linked with \"nas.o\"" |
13126 fi | 13140 fi |
13127 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 13141 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
13128 cat > conftest.$ac_ext <<EOF | 13142 cat > conftest.$ac_ext <<EOF |
13129 #line 13130 "configure" | 13143 #line 13144 "configure" |
13130 #include "confdefs.h" | 13144 #include "confdefs.h" |
13131 #include <audio/Xtutil.h> | 13145 #include <audio/Xtutil.h> |
13132 EOF | 13146 EOF |
13133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13134 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 13148 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
13155 | 13169 |
13156 if test "$with_esd_sound" != "no"; then | 13170 if test "$with_esd_sound" != "no"; then |
13157 # Extract the first word of "esd-config", so it can be a program name with args. | 13171 # Extract the first word of "esd-config", so it can be a program name with args. |
13158 set dummy esd-config; ac_word=$2 | 13172 set dummy esd-config; ac_word=$2 |
13159 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 13173 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
13160 echo "configure:13161: checking for $ac_word" >&5 | 13174 echo "configure:13175: checking for $ac_word" >&5 |
13161 | 13175 |
13162 if test -n "$have_esd_config"; then | 13176 if test -n "$have_esd_config"; then |
13163 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 13177 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
13164 else | 13178 else |
13165 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 13179 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
13184 if test "$have_esd_config" = "yes"; then | 13198 if test "$have_esd_config" = "yes"; then |
13185 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 13199 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
13186 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi | 13200 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi |
13187 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 13201 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
13188 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 13202 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
13189 echo "configure:13190: checking for esd_play_stream" >&5 | 13203 echo "configure:13204: checking for esd_play_stream" >&5 |
13190 | 13204 |
13191 cat > conftest.$ac_ext <<EOF | 13205 cat > conftest.$ac_ext <<EOF |
13192 #line 13193 "configure" | 13206 #line 13207 "configure" |
13193 #include "confdefs.h" | 13207 #include "confdefs.h" |
13194 /* System header to define __stub macros and hopefully few prototypes, | 13208 /* System header to define __stub macros and hopefully few prototypes, |
13195 which can conflict with char esd_play_stream(); below. */ | 13209 which can conflict with char esd_play_stream(); below. */ |
13196 #include <assert.h> | 13210 #include <assert.h> |
13197 /* Override any gcc2 internal prototype to avoid an error. */ | 13211 /* Override any gcc2 internal prototype to avoid an error. */ |
13210 esd_play_stream(); | 13224 esd_play_stream(); |
13211 #endif | 13225 #endif |
13212 | 13226 |
13213 ; return 0; } | 13227 ; return 0; } |
13214 EOF | 13228 EOF |
13215 if { (eval echo configure:13216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13229 if { (eval echo configure:13230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13216 rm -rf conftest* | 13230 rm -rf conftest* |
13217 eval "ac_cv_func_esd_play_stream=yes" | 13231 eval "ac_cv_func_esd_play_stream=yes" |
13218 else | 13232 else |
13219 echo "configure: failed program was:" >&5 | 13233 echo "configure: failed program was:" >&5 |
13220 cat conftest.$ac_ext >&5 | 13234 cat conftest.$ac_ext >&5 |
13261 | 13275 |
13262 test -z "$with_tty" && with_tty=yes | 13276 test -z "$with_tty" && with_tty=yes |
13263 | 13277 |
13264 if test "$with_tty" = "yes" ; then | 13278 if test "$with_tty" = "yes" ; then |
13265 echo "checking for TTY-related features" 1>&6 | 13279 echo "checking for TTY-related features" 1>&6 |
13266 echo "configure:13267: checking for TTY-related features" >&5 | 13280 echo "configure:13281: checking for TTY-related features" >&5 |
13267 { test "$extra_verbose" = "yes" && cat << \EOF | 13281 { test "$extra_verbose" = "yes" && cat << \EOF |
13268 Defining HAVE_TTY | 13282 Defining HAVE_TTY |
13269 EOF | 13283 EOF |
13270 cat >> confdefs.h <<\EOF | 13284 cat >> confdefs.h <<\EOF |
13271 #define HAVE_TTY 1 | 13285 #define HAVE_TTY 1 |
13274 | 13288 |
13275 | 13289 |
13276 if test -z "$with_ncurses"; then | 13290 if test -z "$with_ncurses"; then |
13277 | 13291 |
13278 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13292 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
13279 echo "configure:13280: checking for tgetent in -lncurses" >&5 | 13293 echo "configure:13294: checking for tgetent in -lncurses" >&5 |
13280 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13294 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
13281 | 13295 |
13282 xe_check_libs=" -lncurses " | 13296 xe_check_libs=" -lncurses " |
13283 cat > conftest.$ac_ext <<EOF | 13297 cat > conftest.$ac_ext <<EOF |
13284 #line 13285 "configure" | 13298 #line 13299 "configure" |
13285 #include "confdefs.h" | 13299 #include "confdefs.h" |
13286 /* Override any gcc2 internal prototype to avoid an error. */ | 13300 /* Override any gcc2 internal prototype to avoid an error. */ |
13287 /* We use char because int might match the return type of a gcc2 | 13301 /* We use char because int might match the return type of a gcc2 |
13288 builtin and then its argument prototype would still apply. */ | 13302 builtin and then its argument prototype would still apply. */ |
13289 char tgetent(); | 13303 char tgetent(); |
13290 | 13304 |
13291 int main() { | 13305 int main() { |
13292 tgetent() | 13306 tgetent() |
13293 ; return 0; } | 13307 ; return 0; } |
13294 EOF | 13308 EOF |
13295 if { (eval echo configure:13296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13309 if { (eval echo configure:13310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13296 rm -rf conftest* | 13310 rm -rf conftest* |
13297 eval "ac_cv_lib_$ac_lib_var=yes" | 13311 eval "ac_cv_lib_$ac_lib_var=yes" |
13298 else | 13312 else |
13299 echo "configure: failed program was:" >&5 | 13313 echo "configure: failed program was:" >&5 |
13300 cat conftest.$ac_ext >&5 | 13314 cat conftest.$ac_ext >&5 |
13323 EOF | 13337 EOF |
13324 } | 13338 } |
13325 | 13339 |
13326 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13340 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13327 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13341 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13328 echo "configure:13329: checking for ncurses/curses.h" >&5 | 13342 echo "configure:13343: checking for ncurses/curses.h" >&5 |
13329 | 13343 |
13330 cat > conftest.$ac_ext <<EOF | 13344 cat > conftest.$ac_ext <<EOF |
13331 #line 13332 "configure" | 13345 #line 13346 "configure" |
13332 #include "confdefs.h" | 13346 #include "confdefs.h" |
13333 #include <ncurses/curses.h> | 13347 #include <ncurses/curses.h> |
13334 EOF | 13348 EOF |
13335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13349 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13336 { (eval echo configure:13337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13350 { (eval echo configure:13351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13351 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13338 if test -z "$ac_err"; then | 13352 if test -z "$ac_err"; then |
13339 rm -rf conftest* | 13353 rm -rf conftest* |
13340 eval "ac_cv_header_$ac_safe=yes" | 13354 eval "ac_cv_header_$ac_safe=yes" |
13341 else | 13355 else |
13353 echo "$ac_t""no" 1>&6 | 13367 echo "$ac_t""no" 1>&6 |
13354 fi | 13368 fi |
13355 | 13369 |
13356 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13370 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
13357 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13371 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
13358 echo "configure:13359: checking for ncurses/term.h" >&5 | 13372 echo "configure:13373: checking for ncurses/term.h" >&5 |
13359 | 13373 |
13360 cat > conftest.$ac_ext <<EOF | 13374 cat > conftest.$ac_ext <<EOF |
13361 #line 13362 "configure" | 13375 #line 13376 "configure" |
13362 #include "confdefs.h" | 13376 #include "confdefs.h" |
13363 #include <ncurses/term.h> | 13377 #include <ncurses/term.h> |
13364 EOF | 13378 EOF |
13365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13366 { (eval echo configure:13367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13380 { (eval echo configure:13381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13367 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13381 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13368 if test -z "$ac_err"; then | 13382 if test -z "$ac_err"; then |
13369 rm -rf conftest* | 13383 rm -rf conftest* |
13370 eval "ac_cv_header_$ac_safe=yes" | 13384 eval "ac_cv_header_$ac_safe=yes" |
13371 else | 13385 else |
13391 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13405 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
13392 save_c_switch_site="$c_switch_site" | 13406 save_c_switch_site="$c_switch_site" |
13393 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13407 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
13394 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13408 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13395 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13409 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13396 echo "configure:13397: checking for ncurses/curses.h" >&5 | 13410 echo "configure:13411: checking for ncurses/curses.h" >&5 |
13397 | 13411 |
13398 cat > conftest.$ac_ext <<EOF | 13412 cat > conftest.$ac_ext <<EOF |
13399 #line 13400 "configure" | 13413 #line 13414 "configure" |
13400 #include "confdefs.h" | 13414 #include "confdefs.h" |
13401 #include <ncurses/curses.h> | 13415 #include <ncurses/curses.h> |
13402 EOF | 13416 EOF |
13403 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13417 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13404 { (eval echo configure:13405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13418 { (eval echo configure:13419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13405 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13419 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13406 if test -z "$ac_err"; then | 13420 if test -z "$ac_err"; then |
13407 rm -rf conftest* | 13421 rm -rf conftest* |
13408 eval "ac_cv_header_$ac_safe=yes" | 13422 eval "ac_cv_header_$ac_safe=yes" |
13409 else | 13423 else |
13434 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13448 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13435 else | 13449 else |
13436 for lib in curses termlib termcap; do | 13450 for lib in curses termlib termcap; do |
13437 | 13451 |
13438 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13452 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
13439 echo "configure:13440: checking for tgetent in -l$lib" >&5 | 13453 echo "configure:13454: checking for tgetent in -l$lib" >&5 |
13440 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13454 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
13441 | 13455 |
13442 xe_check_libs=" -l$lib " | 13456 xe_check_libs=" -l$lib " |
13443 cat > conftest.$ac_ext <<EOF | 13457 cat > conftest.$ac_ext <<EOF |
13444 #line 13445 "configure" | 13458 #line 13459 "configure" |
13445 #include "confdefs.h" | 13459 #include "confdefs.h" |
13446 /* Override any gcc2 internal prototype to avoid an error. */ | 13460 /* Override any gcc2 internal prototype to avoid an error. */ |
13447 /* We use char because int might match the return type of a gcc2 | 13461 /* We use char because int might match the return type of a gcc2 |
13448 builtin and then its argument prototype would still apply. */ | 13462 builtin and then its argument prototype would still apply. */ |
13449 char tgetent(); | 13463 char tgetent(); |
13450 | 13464 |
13451 int main() { | 13465 int main() { |
13452 tgetent() | 13466 tgetent() |
13453 ; return 0; } | 13467 ; return 0; } |
13454 EOF | 13468 EOF |
13455 if { (eval echo configure:13456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13469 if { (eval echo configure:13470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13456 rm -rf conftest* | 13470 rm -rf conftest* |
13457 eval "ac_cv_lib_$ac_lib_var=yes" | 13471 eval "ac_cv_lib_$ac_lib_var=yes" |
13458 else | 13472 else |
13459 echo "configure: failed program was:" >&5 | 13473 echo "configure: failed program was:" >&5 |
13460 cat conftest.$ac_ext >&5 | 13474 cat conftest.$ac_ext >&5 |
13481 if test -n "$libs_termcap"; then | 13495 if test -n "$libs_termcap"; then |
13482 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13496 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13483 else | 13497 else |
13484 | 13498 |
13485 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13499 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
13486 echo "configure:13487: checking for tgetent in -lcurses" >&5 | 13500 echo "configure:13501: checking for tgetent in -lcurses" >&5 |
13487 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13501 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
13488 | 13502 |
13489 xe_check_libs=" -lcurses " | 13503 xe_check_libs=" -lcurses " |
13490 cat > conftest.$ac_ext <<EOF | 13504 cat > conftest.$ac_ext <<EOF |
13491 #line 13492 "configure" | 13505 #line 13506 "configure" |
13492 #include "confdefs.h" | 13506 #include "confdefs.h" |
13493 /* Override any gcc2 internal prototype to avoid an error. */ | 13507 /* Override any gcc2 internal prototype to avoid an error. */ |
13494 /* We use char because int might match the return type of a gcc2 | 13508 /* We use char because int might match the return type of a gcc2 |
13495 builtin and then its argument prototype would still apply. */ | 13509 builtin and then its argument prototype would still apply. */ |
13496 char tgetent(); | 13510 char tgetent(); |
13497 | 13511 |
13498 int main() { | 13512 int main() { |
13499 tgetent() | 13513 tgetent() |
13500 ; return 0; } | 13514 ; return 0; } |
13501 EOF | 13515 EOF |
13502 if { (eval echo configure:13503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13516 if { (eval echo configure:13517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13503 rm -rf conftest* | 13517 rm -rf conftest* |
13504 eval "ac_cv_lib_$ac_lib_var=yes" | 13518 eval "ac_cv_lib_$ac_lib_var=yes" |
13505 else | 13519 else |
13506 echo "configure: failed program was:" >&5 | 13520 echo "configure: failed program was:" >&5 |
13507 cat conftest.$ac_ext >&5 | 13521 cat conftest.$ac_ext >&5 |
13515 echo "$ac_t""yes" 1>&6 | 13529 echo "$ac_t""yes" 1>&6 |
13516 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13530 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
13517 else | 13531 else |
13518 echo "$ac_t""no" 1>&6 | 13532 echo "$ac_t""no" 1>&6 |
13519 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13533 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
13520 echo "configure:13521: checking for tgetent in -ltermcap" >&5 | 13534 echo "configure:13535: checking for tgetent in -ltermcap" >&5 |
13521 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13535 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
13522 | 13536 |
13523 xe_check_libs=" -ltermcap " | 13537 xe_check_libs=" -ltermcap " |
13524 cat > conftest.$ac_ext <<EOF | 13538 cat > conftest.$ac_ext <<EOF |
13525 #line 13526 "configure" | 13539 #line 13540 "configure" |
13526 #include "confdefs.h" | 13540 #include "confdefs.h" |
13527 /* Override any gcc2 internal prototype to avoid an error. */ | 13541 /* Override any gcc2 internal prototype to avoid an error. */ |
13528 /* We use char because int might match the return type of a gcc2 | 13542 /* We use char because int might match the return type of a gcc2 |
13529 builtin and then its argument prototype would still apply. */ | 13543 builtin and then its argument prototype would still apply. */ |
13530 char tgetent(); | 13544 char tgetent(); |
13531 | 13545 |
13532 int main() { | 13546 int main() { |
13533 tgetent() | 13547 tgetent() |
13534 ; return 0; } | 13548 ; return 0; } |
13535 EOF | 13549 EOF |
13536 if { (eval echo configure:13537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13550 if { (eval echo configure:13551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13537 rm -rf conftest* | 13551 rm -rf conftest* |
13538 eval "ac_cv_lib_$ac_lib_var=yes" | 13552 eval "ac_cv_lib_$ac_lib_var=yes" |
13539 else | 13553 else |
13540 echo "configure: failed program was:" >&5 | 13554 echo "configure: failed program was:" >&5 |
13541 cat conftest.$ac_ext >&5 | 13555 cat conftest.$ac_ext >&5 |
13579 } | 13593 } |
13580 | 13594 |
13581 | 13595 |
13582 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13596 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
13583 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13597 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
13584 echo "configure:13585: checking for gpm.h" >&5 | 13598 echo "configure:13599: checking for gpm.h" >&5 |
13585 | 13599 |
13586 cat > conftest.$ac_ext <<EOF | 13600 cat > conftest.$ac_ext <<EOF |
13587 #line 13588 "configure" | 13601 #line 13602 "configure" |
13588 #include "confdefs.h" | 13602 #include "confdefs.h" |
13589 #include <gpm.h> | 13603 #include <gpm.h> |
13590 EOF | 13604 EOF |
13591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13592 { (eval echo configure:13593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13606 { (eval echo configure:13607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13593 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13607 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13594 if test -z "$ac_err"; then | 13608 if test -z "$ac_err"; then |
13595 rm -rf conftest* | 13609 rm -rf conftest* |
13596 eval "ac_cv_header_$ac_safe=yes" | 13610 eval "ac_cv_header_$ac_safe=yes" |
13597 else | 13611 else |
13610 with_gpm=no | 13624 with_gpm=no |
13611 fi | 13625 fi |
13612 } | 13626 } |
13613 test -z "$with_gpm" && { | 13627 test -z "$with_gpm" && { |
13614 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13628 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
13615 echo "configure:13616: checking for Gpm_Open in -lgpm" >&5 | 13629 echo "configure:13630: checking for Gpm_Open in -lgpm" >&5 |
13616 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13630 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
13617 | 13631 |
13618 xe_check_libs=" -lgpm " | 13632 xe_check_libs=" -lgpm " |
13619 cat > conftest.$ac_ext <<EOF | 13633 cat > conftest.$ac_ext <<EOF |
13620 #line 13621 "configure" | 13634 #line 13635 "configure" |
13621 #include "confdefs.h" | 13635 #include "confdefs.h" |
13622 /* Override any gcc2 internal prototype to avoid an error. */ | 13636 /* Override any gcc2 internal prototype to avoid an error. */ |
13623 /* We use char because int might match the return type of a gcc2 | 13637 /* We use char because int might match the return type of a gcc2 |
13624 builtin and then its argument prototype would still apply. */ | 13638 builtin and then its argument prototype would still apply. */ |
13625 char Gpm_Open(); | 13639 char Gpm_Open(); |
13626 | 13640 |
13627 int main() { | 13641 int main() { |
13628 Gpm_Open() | 13642 Gpm_Open() |
13629 ; return 0; } | 13643 ; return 0; } |
13630 EOF | 13644 EOF |
13631 if { (eval echo configure:13632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13645 if { (eval echo configure:13646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13632 rm -rf conftest* | 13646 rm -rf conftest* |
13633 eval "ac_cv_lib_$ac_lib_var=yes" | 13647 eval "ac_cv_lib_$ac_lib_var=yes" |
13634 else | 13648 else |
13635 echo "configure: failed program was:" >&5 | 13649 echo "configure: failed program was:" >&5 |
13636 cat conftest.$ac_ext >&5 | 13650 cat conftest.$ac_ext >&5 |
13669 done | 13683 done |
13670 fi | 13684 fi |
13671 | 13685 |
13672 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13686 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
13673 != "no no no" && echo "checking for database support" 1>&6 | 13687 != "no no no" && echo "checking for database support" 1>&6 |
13674 echo "configure:13675: checking for database support" >&5 | 13688 echo "configure:13689: checking for database support" >&5 |
13675 | 13689 |
13676 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13690 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
13677 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13691 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
13678 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13692 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
13679 echo "configure:13680: checking for ndbm.h" >&5 | 13693 echo "configure:13694: checking for ndbm.h" >&5 |
13680 | 13694 |
13681 cat > conftest.$ac_ext <<EOF | 13695 cat > conftest.$ac_ext <<EOF |
13682 #line 13683 "configure" | 13696 #line 13697 "configure" |
13683 #include "confdefs.h" | 13697 #include "confdefs.h" |
13684 #include <ndbm.h> | 13698 #include <ndbm.h> |
13685 EOF | 13699 EOF |
13686 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13687 { (eval echo configure:13688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13701 { (eval echo configure:13702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13688 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13689 if test -z "$ac_err"; then | 13703 if test -z "$ac_err"; then |
13690 rm -rf conftest* | 13704 rm -rf conftest* |
13691 eval "ac_cv_header_$ac_safe=yes" | 13705 eval "ac_cv_header_$ac_safe=yes" |
13692 else | 13706 else |
13712 fi | 13726 fi |
13713 | 13727 |
13714 if test "$with_database_gdbm" != "no"; then | 13728 if test "$with_database_gdbm" != "no"; then |
13715 | 13729 |
13716 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13730 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
13717 echo "configure:13718: checking for dbm_open in -lgdbm" >&5 | 13731 echo "configure:13732: checking for dbm_open in -lgdbm" >&5 |
13718 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13732 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13719 | 13733 |
13720 xe_check_libs=" -lgdbm " | 13734 xe_check_libs=" -lgdbm " |
13721 cat > conftest.$ac_ext <<EOF | 13735 cat > conftest.$ac_ext <<EOF |
13722 #line 13723 "configure" | 13736 #line 13737 "configure" |
13723 #include "confdefs.h" | 13737 #include "confdefs.h" |
13724 /* Override any gcc2 internal prototype to avoid an error. */ | 13738 /* Override any gcc2 internal prototype to avoid an error. */ |
13725 /* We use char because int might match the return type of a gcc2 | 13739 /* We use char because int might match the return type of a gcc2 |
13726 builtin and then its argument prototype would still apply. */ | 13740 builtin and then its argument prototype would still apply. */ |
13727 char dbm_open(); | 13741 char dbm_open(); |
13728 | 13742 |
13729 int main() { | 13743 int main() { |
13730 dbm_open() | 13744 dbm_open() |
13731 ; return 0; } | 13745 ; return 0; } |
13732 EOF | 13746 EOF |
13733 if { (eval echo configure:13734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13747 if { (eval echo configure:13748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13734 rm -rf conftest* | 13748 rm -rf conftest* |
13735 eval "ac_cv_lib_$ac_lib_var=yes" | 13749 eval "ac_cv_lib_$ac_lib_var=yes" |
13736 else | 13750 else |
13737 echo "configure: failed program was:" >&5 | 13751 echo "configure: failed program was:" >&5 |
13738 cat conftest.$ac_ext >&5 | 13752 cat conftest.$ac_ext >&5 |
13756 | 13770 |
13757 fi | 13771 fi |
13758 | 13772 |
13759 if test "$with_database_dbm" != "no"; then | 13773 if test "$with_database_dbm" != "no"; then |
13760 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13774 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
13761 echo "configure:13762: checking for dbm_open" >&5 | 13775 echo "configure:13776: checking for dbm_open" >&5 |
13762 | 13776 |
13763 cat > conftest.$ac_ext <<EOF | 13777 cat > conftest.$ac_ext <<EOF |
13764 #line 13765 "configure" | 13778 #line 13779 "configure" |
13765 #include "confdefs.h" | 13779 #include "confdefs.h" |
13766 /* System header to define __stub macros and hopefully few prototypes, | 13780 /* System header to define __stub macros and hopefully few prototypes, |
13767 which can conflict with char dbm_open(); below. */ | 13781 which can conflict with char dbm_open(); below. */ |
13768 #include <assert.h> | 13782 #include <assert.h> |
13769 /* Override any gcc2 internal prototype to avoid an error. */ | 13783 /* Override any gcc2 internal prototype to avoid an error. */ |
13782 dbm_open(); | 13796 dbm_open(); |
13783 #endif | 13797 #endif |
13784 | 13798 |
13785 ; return 0; } | 13799 ; return 0; } |
13786 EOF | 13800 EOF |
13787 if { (eval echo configure:13788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13801 if { (eval echo configure:13802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13788 rm -rf conftest* | 13802 rm -rf conftest* |
13789 eval "ac_cv_func_dbm_open=yes" | 13803 eval "ac_cv_func_dbm_open=yes" |
13790 else | 13804 else |
13791 echo "configure: failed program was:" >&5 | 13805 echo "configure: failed program was:" >&5 |
13792 cat conftest.$ac_ext >&5 | 13806 cat conftest.$ac_ext >&5 |
13801 else | 13815 else |
13802 echo "$ac_t""no" 1>&6 | 13816 echo "$ac_t""no" 1>&6 |
13803 | 13817 |
13804 | 13818 |
13805 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 13819 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
13806 echo "configure:13807: checking for dbm_open in -ldbm" >&5 | 13820 echo "configure:13821: checking for dbm_open in -ldbm" >&5 |
13807 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13821 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13808 | 13822 |
13809 xe_check_libs=" -ldbm " | 13823 xe_check_libs=" -ldbm " |
13810 cat > conftest.$ac_ext <<EOF | 13824 cat > conftest.$ac_ext <<EOF |
13811 #line 13812 "configure" | 13825 #line 13826 "configure" |
13812 #include "confdefs.h" | 13826 #include "confdefs.h" |
13813 /* Override any gcc2 internal prototype to avoid an error. */ | 13827 /* Override any gcc2 internal prototype to avoid an error. */ |
13814 /* We use char because int might match the return type of a gcc2 | 13828 /* We use char because int might match the return type of a gcc2 |
13815 builtin and then its argument prototype would still apply. */ | 13829 builtin and then its argument prototype would still apply. */ |
13816 char dbm_open(); | 13830 char dbm_open(); |
13817 | 13831 |
13818 int main() { | 13832 int main() { |
13819 dbm_open() | 13833 dbm_open() |
13820 ; return 0; } | 13834 ; return 0; } |
13821 EOF | 13835 EOF |
13822 if { (eval echo configure:13823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13836 if { (eval echo configure:13837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13823 rm -rf conftest* | 13837 rm -rf conftest* |
13824 eval "ac_cv_lib_$ac_lib_var=yes" | 13838 eval "ac_cv_lib_$ac_lib_var=yes" |
13825 else | 13839 else |
13826 echo "configure: failed program was:" >&5 | 13840 echo "configure: failed program was:" >&5 |
13827 cat conftest.$ac_ext >&5 | 13841 cat conftest.$ac_ext >&5 |
13858 } | 13872 } |
13859 | 13873 |
13860 | 13874 |
13861 if test "$with_database_berkdb" != "no"; then | 13875 if test "$with_database_berkdb" != "no"; then |
13862 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 13876 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
13863 echo "configure:13864: checking for Berkeley db.h" >&5 | 13877 echo "configure:13878: checking for Berkeley db.h" >&5 |
13864 for header in "db/db.h" "db.h"; do | 13878 for header in "db/db.h" "db.h"; do |
13865 cat > conftest.$ac_ext <<EOF | 13879 cat > conftest.$ac_ext <<EOF |
13866 #line 13867 "configure" | 13880 #line 13881 "configure" |
13867 #include "confdefs.h" | 13881 #include "confdefs.h" |
13868 | 13882 |
13869 #include <stdlib.h> | 13883 #include <stdlib.h> |
13870 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 13884 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
13871 #ifdef HAVE_INTTYPES_H | 13885 #ifdef HAVE_INTTYPES_H |
13883 | 13897 |
13884 int main() { | 13898 int main() { |
13885 | 13899 |
13886 ; return 0; } | 13900 ; return 0; } |
13887 EOF | 13901 EOF |
13888 if { (eval echo configure:13889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13902 if { (eval echo configure:13903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13889 rm -rf conftest* | 13903 rm -rf conftest* |
13890 db_h_file="$header"; break | 13904 db_h_file="$header"; break |
13891 else | 13905 else |
13892 echo "configure: failed program was:" >&5 | 13906 echo "configure: failed program was:" >&5 |
13893 cat conftest.$ac_ext >&5 | 13907 cat conftest.$ac_ext >&5 |
13899 else echo "$ac_t""$db_h_file" 1>&6 | 13913 else echo "$ac_t""$db_h_file" 1>&6 |
13900 fi | 13914 fi |
13901 | 13915 |
13902 if test "$with_database_berkdb" != "no"; then | 13916 if test "$with_database_berkdb" != "no"; then |
13903 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 13917 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
13904 echo "configure:13905: checking for Berkeley DB version" >&5 | 13918 echo "configure:13919: checking for Berkeley DB version" >&5 |
13905 cat > conftest.$ac_ext <<EOF | 13919 cat > conftest.$ac_ext <<EOF |
13906 #line 13907 "configure" | 13920 #line 13921 "configure" |
13907 #include "confdefs.h" | 13921 #include "confdefs.h" |
13908 #include <$db_h_file> | 13922 #include <$db_h_file> |
13909 #if DB_VERSION_MAJOR > 1 | 13923 #if DB_VERSION_MAJOR > 1 |
13910 yes | 13924 yes |
13911 #endif | 13925 #endif |
13913 EOF | 13927 EOF |
13914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13915 egrep "yes" >/dev/null 2>&1; then | 13929 egrep "yes" >/dev/null 2>&1; then |
13916 rm -rf conftest* | 13930 rm -rf conftest* |
13917 cat > conftest.$ac_ext <<EOF | 13931 cat > conftest.$ac_ext <<EOF |
13918 #line 13919 "configure" | 13932 #line 13933 "configure" |
13919 #include "confdefs.h" | 13933 #include "confdefs.h" |
13920 #include <$db_h_file> | 13934 #include <$db_h_file> |
13921 #if DB_VERSION_MAJOR > 2 | 13935 #if DB_VERSION_MAJOR > 2 |
13922 yes | 13936 yes |
13923 #endif | 13937 #endif |
13940 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 13954 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
13941 fi | 13955 fi |
13942 rm -f conftest* | 13956 rm -f conftest* |
13943 | 13957 |
13944 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 13958 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
13945 echo "configure:13946: checking for $dbfunc" >&5 | 13959 echo "configure:13960: checking for $dbfunc" >&5 |
13946 | 13960 |
13947 cat > conftest.$ac_ext <<EOF | 13961 cat > conftest.$ac_ext <<EOF |
13948 #line 13949 "configure" | 13962 #line 13963 "configure" |
13949 #include "confdefs.h" | 13963 #include "confdefs.h" |
13950 /* System header to define __stub macros and hopefully few prototypes, | 13964 /* System header to define __stub macros and hopefully few prototypes, |
13951 which can conflict with char $dbfunc(); below. */ | 13965 which can conflict with char $dbfunc(); below. */ |
13952 #include <assert.h> | 13966 #include <assert.h> |
13953 /* Override any gcc2 internal prototype to avoid an error. */ | 13967 /* Override any gcc2 internal prototype to avoid an error. */ |
13966 $dbfunc(); | 13980 $dbfunc(); |
13967 #endif | 13981 #endif |
13968 | 13982 |
13969 ; return 0; } | 13983 ; return 0; } |
13970 EOF | 13984 EOF |
13971 if { (eval echo configure:13972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13985 if { (eval echo configure:13986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13972 rm -rf conftest* | 13986 rm -rf conftest* |
13973 eval "ac_cv_func_$dbfunc=yes" | 13987 eval "ac_cv_func_$dbfunc=yes" |
13974 else | 13988 else |
13975 echo "configure: failed program was:" >&5 | 13989 echo "configure: failed program was:" >&5 |
13976 cat conftest.$ac_ext >&5 | 13990 cat conftest.$ac_ext >&5 |
13985 else | 13999 else |
13986 echo "$ac_t""no" 1>&6 | 14000 echo "$ac_t""no" 1>&6 |
13987 | 14001 |
13988 | 14002 |
13989 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 14003 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
13990 echo "configure:13991: checking for $dbfunc in -ldb" >&5 | 14004 echo "configure:14005: checking for $dbfunc in -ldb" >&5 |
13991 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 14005 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
13992 | 14006 |
13993 xe_check_libs=" -ldb " | 14007 xe_check_libs=" -ldb " |
13994 cat > conftest.$ac_ext <<EOF | 14008 cat > conftest.$ac_ext <<EOF |
13995 #line 13996 "configure" | 14009 #line 14010 "configure" |
13996 #include "confdefs.h" | 14010 #include "confdefs.h" |
13997 /* Override any gcc2 internal prototype to avoid an error. */ | 14011 /* Override any gcc2 internal prototype to avoid an error. */ |
13998 /* We use char because int might match the return type of a gcc2 | 14012 /* We use char because int might match the return type of a gcc2 |
13999 builtin and then its argument prototype would still apply. */ | 14013 builtin and then its argument prototype would still apply. */ |
14000 char $dbfunc(); | 14014 char $dbfunc(); |
14001 | 14015 |
14002 int main() { | 14016 int main() { |
14003 $dbfunc() | 14017 $dbfunc() |
14004 ; return 0; } | 14018 ; return 0; } |
14005 EOF | 14019 EOF |
14006 if { (eval echo configure:14007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14020 if { (eval echo configure:14021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14007 rm -rf conftest* | 14021 rm -rf conftest* |
14008 eval "ac_cv_lib_$ac_lib_var=yes" | 14022 eval "ac_cv_lib_$ac_lib_var=yes" |
14009 else | 14023 else |
14010 echo "configure: failed program was:" >&5 | 14024 echo "configure: failed program was:" >&5 |
14011 cat conftest.$ac_ext >&5 | 14025 cat conftest.$ac_ext >&5 |
14062 fi | 14076 fi |
14063 | 14077 |
14064 if test "$with_socks" = "yes"; then | 14078 if test "$with_socks" = "yes"; then |
14065 | 14079 |
14066 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 14080 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
14067 echo "configure:14068: checking for SOCKSinit in -lsocks" >&5 | 14081 echo "configure:14082: checking for SOCKSinit in -lsocks" >&5 |
14068 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 14082 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
14069 | 14083 |
14070 xe_check_libs=" -lsocks " | 14084 xe_check_libs=" -lsocks " |
14071 cat > conftest.$ac_ext <<EOF | 14085 cat > conftest.$ac_ext <<EOF |
14072 #line 14073 "configure" | 14086 #line 14087 "configure" |
14073 #include "confdefs.h" | 14087 #include "confdefs.h" |
14074 /* Override any gcc2 internal prototype to avoid an error. */ | 14088 /* Override any gcc2 internal prototype to avoid an error. */ |
14075 /* We use char because int might match the return type of a gcc2 | 14089 /* We use char because int might match the return type of a gcc2 |
14076 builtin and then its argument prototype would still apply. */ | 14090 builtin and then its argument prototype would still apply. */ |
14077 char SOCKSinit(); | 14091 char SOCKSinit(); |
14078 | 14092 |
14079 int main() { | 14093 int main() { |
14080 SOCKSinit() | 14094 SOCKSinit() |
14081 ; return 0; } | 14095 ; return 0; } |
14082 EOF | 14096 EOF |
14083 if { (eval echo configure:14084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14097 if { (eval echo configure:14098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14084 rm -rf conftest* | 14098 rm -rf conftest* |
14085 eval "ac_cv_lib_$ac_lib_var=yes" | 14099 eval "ac_cv_lib_$ac_lib_var=yes" |
14086 else | 14100 else |
14087 echo "configure: failed program was:" >&5 | 14101 echo "configure: failed program was:" >&5 |
14088 cat conftest.$ac_ext >&5 | 14102 cat conftest.$ac_ext >&5 |
14133 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 14147 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
14134 fi | 14148 fi |
14135 | 14149 |
14136 if test "$with_modules" != "no"; then | 14150 if test "$with_modules" != "no"; then |
14137 echo "checking for module support" 1>&6 | 14151 echo "checking for module support" 1>&6 |
14138 echo "configure:14139: checking for module support" >&5 | 14152 echo "configure:14153: checking for module support" >&5 |
14139 | 14153 |
14140 if test "$with_msw" = "yes"; then | 14154 if test "$with_msw" = "yes"; then |
14141 have_dl=yes; | 14155 have_dl=yes; |
14142 else | 14156 else |
14143 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 14157 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
14144 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 14158 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
14145 echo "configure:14146: checking for dlfcn.h" >&5 | 14159 echo "configure:14160: checking for dlfcn.h" >&5 |
14146 | 14160 |
14147 cat > conftest.$ac_ext <<EOF | 14161 cat > conftest.$ac_ext <<EOF |
14148 #line 14149 "configure" | 14162 #line 14163 "configure" |
14149 #include "confdefs.h" | 14163 #include "confdefs.h" |
14150 #include <dlfcn.h> | 14164 #include <dlfcn.h> |
14151 EOF | 14165 EOF |
14152 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14166 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14153 { (eval echo configure:14154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14167 { (eval echo configure:14168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14154 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14168 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14155 if test -z "$ac_err"; then | 14169 if test -z "$ac_err"; then |
14156 rm -rf conftest* | 14170 rm -rf conftest* |
14157 eval "ac_cv_header_$ac_safe=yes" | 14171 eval "ac_cv_header_$ac_safe=yes" |
14158 else | 14172 else |
14165 rm -f conftest* | 14179 rm -f conftest* |
14166 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14180 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14167 echo "$ac_t""yes" 1>&6 | 14181 echo "$ac_t""yes" 1>&6 |
14168 | 14182 |
14169 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 14183 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
14170 echo "configure:14171: checking for dlopen in -lc" >&5 | 14184 echo "configure:14185: checking for dlopen in -lc" >&5 |
14171 cat > conftest.$ac_ext <<EOF | 14185 cat > conftest.$ac_ext <<EOF |
14172 #line 14173 "configure" | 14186 #line 14187 "configure" |
14173 #include "confdefs.h" | 14187 #include "confdefs.h" |
14174 #include <dlfcn.h> | 14188 #include <dlfcn.h> |
14175 int main() { | 14189 int main() { |
14176 dlopen ("", 0); | 14190 dlopen ("", 0); |
14177 ; return 0; } | 14191 ; return 0; } |
14178 EOF | 14192 EOF |
14179 if { (eval echo configure:14180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14193 if { (eval echo configure:14194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14180 rm -rf conftest* | 14194 rm -rf conftest* |
14181 have_dl=yes | 14195 have_dl=yes |
14182 else | 14196 else |
14183 echo "configure: failed program was:" >&5 | 14197 echo "configure: failed program was:" >&5 |
14184 cat conftest.$ac_ext >&5 | 14198 cat conftest.$ac_ext >&5 |
14185 rm -rf conftest* | 14199 rm -rf conftest* |
14186 | 14200 |
14187 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 14201 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
14188 echo "configure:14189: checking for dlopen in -ldl" >&5 | 14202 echo "configure:14203: checking for dlopen in -ldl" >&5 |
14189 ac_save_LIBS="$LIBS" | 14203 ac_save_LIBS="$LIBS" |
14190 LIBS="-ldl $LIBS" | 14204 LIBS="-ldl $LIBS" |
14191 cat > conftest.$ac_ext <<EOF | 14205 cat > conftest.$ac_ext <<EOF |
14192 #line 14193 "configure" | 14206 #line 14207 "configure" |
14193 #include "confdefs.h" | 14207 #include "confdefs.h" |
14194 #include <dlfcn.h> | 14208 #include <dlfcn.h> |
14195 int main() { | 14209 int main() { |
14196 dlopen ("", 0); | 14210 dlopen ("", 0); |
14197 ; return 0; } | 14211 ; return 0; } |
14198 EOF | 14212 EOF |
14199 if { (eval echo configure:14200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14213 if { (eval echo configure:14214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14200 rm -rf conftest* | 14214 rm -rf conftest* |
14201 have_dl=yes | 14215 have_dl=yes |
14202 else | 14216 else |
14203 echo "configure: failed program was:" >&5 | 14217 echo "configure: failed program was:" >&5 |
14204 cat conftest.$ac_ext >&5 | 14218 cat conftest.$ac_ext >&5 |
14223 } | 14237 } |
14224 | 14238 |
14225 else | 14239 else |
14226 | 14240 |
14227 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 14241 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
14228 echo "configure:14229: checking for shl_load in -ldld" >&5 | 14242 echo "configure:14243: checking for shl_load in -ldld" >&5 |
14229 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 14243 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
14230 | 14244 |
14231 xe_check_libs=" -ldld " | 14245 xe_check_libs=" -ldld " |
14232 cat > conftest.$ac_ext <<EOF | 14246 cat > conftest.$ac_ext <<EOF |
14233 #line 14234 "configure" | 14247 #line 14248 "configure" |
14234 #include "confdefs.h" | 14248 #include "confdefs.h" |
14235 /* Override any gcc2 internal prototype to avoid an error. */ | 14249 /* Override any gcc2 internal prototype to avoid an error. */ |
14236 /* We use char because int might match the return type of a gcc2 | 14250 /* We use char because int might match the return type of a gcc2 |
14237 builtin and then its argument prototype would still apply. */ | 14251 builtin and then its argument prototype would still apply. */ |
14238 char shl_load(); | 14252 char shl_load(); |
14239 | 14253 |
14240 int main() { | 14254 int main() { |
14241 shl_load() | 14255 shl_load() |
14242 ; return 0; } | 14256 ; return 0; } |
14243 EOF | 14257 EOF |
14244 if { (eval echo configure:14245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14258 if { (eval echo configure:14259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14245 rm -rf conftest* | 14259 rm -rf conftest* |
14246 eval "ac_cv_lib_$ac_lib_var=yes" | 14260 eval "ac_cv_lib_$ac_lib_var=yes" |
14247 else | 14261 else |
14248 echo "configure: failed program was:" >&5 | 14262 echo "configure: failed program was:" >&5 |
14249 cat conftest.$ac_ext >&5 | 14263 cat conftest.$ac_ext >&5 |
14266 | 14280 |
14267 else | 14281 else |
14268 echo "$ac_t""no" 1>&6 | 14282 echo "$ac_t""no" 1>&6 |
14269 | 14283 |
14270 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 14284 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
14271 echo "configure:14272: checking for dld_init in -ldld" >&5 | 14285 echo "configure:14286: checking for dld_init in -ldld" >&5 |
14272 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 14286 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
14273 | 14287 |
14274 xe_check_libs=" -ldld " | 14288 xe_check_libs=" -ldld " |
14275 cat > conftest.$ac_ext <<EOF | 14289 cat > conftest.$ac_ext <<EOF |
14276 #line 14277 "configure" | 14290 #line 14291 "configure" |
14277 #include "confdefs.h" | 14291 #include "confdefs.h" |
14278 /* Override any gcc2 internal prototype to avoid an error. */ | 14292 /* Override any gcc2 internal prototype to avoid an error. */ |
14279 /* We use char because int might match the return type of a gcc2 | 14293 /* We use char because int might match the return type of a gcc2 |
14280 builtin and then its argument prototype would still apply. */ | 14294 builtin and then its argument prototype would still apply. */ |
14281 char dld_init(); | 14295 char dld_init(); |
14282 | 14296 |
14283 int main() { | 14297 int main() { |
14284 dld_init() | 14298 dld_init() |
14285 ; return 0; } | 14299 ; return 0; } |
14286 EOF | 14300 EOF |
14287 if { (eval echo configure:14288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14301 if { (eval echo configure:14302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14288 rm -rf conftest* | 14302 rm -rf conftest* |
14289 eval "ac_cv_lib_$ac_lib_var=yes" | 14303 eval "ac_cv_lib_$ac_lib_var=yes" |
14290 else | 14304 else |
14291 echo "configure: failed program was:" >&5 | 14305 echo "configure: failed program was:" >&5 |
14292 cat conftest.$ac_ext >&5 | 14306 cat conftest.$ac_ext >&5 |
14327 ld_dynamic_link_flags= | 14341 ld_dynamic_link_flags= |
14328 xehost=$canonical | 14342 xehost=$canonical |
14329 xealias=$internal_configuration | 14343 xealias=$internal_configuration |
14330 | 14344 |
14331 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 14345 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
14332 echo "configure:14333: checking how to build dynamic libraries for ${xehost}" >&5 | 14346 echo "configure:14347: checking how to build dynamic libraries for ${xehost}" >&5 |
14333 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 14347 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
14334 case "$xehost" in | 14348 case "$xehost" in |
14335 *-*-linux-gnu*) ;; | 14349 *-*-linux-gnu*) ;; |
14336 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 14350 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
14337 esac | 14351 esac |
14355 # Now see if the compiler is really GCC. | 14369 # Now see if the compiler is really GCC. |
14356 if test "$GCC" = "yes"; then | 14370 if test "$GCC" = "yes"; then |
14357 XEGCC=yes | 14371 XEGCC=yes |
14358 else | 14372 else |
14359 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 14373 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
14360 echo "configure:14361: checking checking whether we are using GNU C" >&5 | 14374 echo "configure:14375: checking checking whether we are using GNU C" >&5 |
14361 cat > conftest.$ac_ext <<EOF | 14375 cat > conftest.$ac_ext <<EOF |
14362 #line 14363 "configure" | 14376 #line 14377 "configure" |
14363 #include "confdefs.h" | 14377 #include "confdefs.h" |
14364 | 14378 |
14365 #ifdef __GNUC__ | 14379 #ifdef __GNUC__ |
14366 yes; | 14380 yes; |
14367 #endif | 14381 #endif |
14379 | 14393 |
14380 echo "$ac_t""${XEGCC}" 1>&6 | 14394 echo "$ac_t""${XEGCC}" 1>&6 |
14381 fi | 14395 fi |
14382 | 14396 |
14383 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 14397 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
14384 echo "configure:14385: checking how to produce PIC code" >&5 | 14398 echo "configure:14399: checking how to produce PIC code" >&5 |
14385 wl= | 14399 wl= |
14386 | 14400 |
14387 can_build_shared=yes | 14401 can_build_shared=yes |
14388 if test "$XEGCC" = yes; then | 14402 if test "$XEGCC" = yes; then |
14389 wl='-Wl,' | 14403 wl='-Wl,' |
14480 if test -n "$dll_cflags"; then | 14494 if test -n "$dll_cflags"; then |
14481 echo "$ac_t""${dll_cflags}" 1>&6 | 14495 echo "$ac_t""${dll_cflags}" 1>&6 |
14482 | 14496 |
14483 # Check to make sure the dll_cflags actually works. | 14497 # Check to make sure the dll_cflags actually works. |
14484 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 14498 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
14485 echo "configure:14486: checking if PIC flag ${dll_cflags} really works" >&5 | 14499 echo "configure:14500: checking if PIC flag ${dll_cflags} really works" >&5 |
14486 save_CFLAGS="$CFLAGS" | 14500 save_CFLAGS="$CFLAGS" |
14487 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 14501 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
14488 cat > conftest.$ac_ext <<EOF | 14502 cat > conftest.$ac_ext <<EOF |
14489 #line 14490 "configure" | 14503 #line 14504 "configure" |
14490 #include "confdefs.h" | 14504 #include "confdefs.h" |
14491 | 14505 |
14492 int main() { | 14506 int main() { |
14493 int x=0; | 14507 int x=0; |
14494 ; return 0; } | 14508 ; return 0; } |
14495 EOF | 14509 EOF |
14496 if { (eval echo configure:14497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14510 if { (eval echo configure:14511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14497 rm -rf conftest* | 14511 rm -rf conftest* |
14498 | 14512 |
14499 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 14513 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
14500 # reports no error. So, we need to grep stderr for (Bundled). | 14514 # reports no error. So, we need to grep stderr for (Bundled). |
14501 if grep '(Bundled)' config.log >/dev/null; then | 14515 if grep '(Bundled)' config.log >/dev/null; then |
14522 if test "$can_build_shared" = "yes"; then | 14536 if test "$can_build_shared" = "yes"; then |
14523 cc_produces_so=no | 14537 cc_produces_so=no |
14524 xldf= | 14538 xldf= |
14525 xcldf= | 14539 xcldf= |
14526 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 14540 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
14527 echo "configure:14528: checking if C compiler can produce shared libraries" >&5 | 14541 echo "configure:14542: checking if C compiler can produce shared libraries" >&5 |
14528 if test "$XEGCC" = yes; then | 14542 if test "$XEGCC" = yes; then |
14529 xcldf="-shared" | 14543 xcldf="-shared" |
14530 xldf="-shared" | 14544 xldf="-shared" |
14531 else # Not using GCC | 14545 else # Not using GCC |
14532 case "$xehost_os" in | 14546 case "$xehost_os" in |
14573 LDFLAGS="$xcldf $LDFLAGS" | 14587 LDFLAGS="$xcldf $LDFLAGS" |
14574 LIBS= | 14588 LIBS= |
14575 xe_libs= | 14589 xe_libs= |
14576 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14590 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
14577 cat > conftest.$ac_ext <<EOF | 14591 cat > conftest.$ac_ext <<EOF |
14578 #line 14579 "configure" | 14592 #line 14593 "configure" |
14579 #include "confdefs.h" | 14593 #include "confdefs.h" |
14580 | 14594 |
14581 int main() { | 14595 int main() { |
14582 int x=0; | 14596 int x=0; |
14583 ; return 0; } | 14597 ; return 0; } |
14584 EOF | 14598 EOF |
14585 if { (eval echo configure:14586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14599 if { (eval echo configure:14600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14586 rm -rf conftest* | 14600 rm -rf conftest* |
14587 cc_produces_so=yes | 14601 cc_produces_so=yes |
14588 else | 14602 else |
14589 echo "configure: failed program was:" >&5 | 14603 echo "configure: failed program was:" >&5 |
14590 cat conftest.$ac_ext >&5 | 14604 cat conftest.$ac_ext >&5 |
14605 if test -z "$LTLD"; then | 14619 if test -z "$LTLD"; then |
14606 ac_prog=ld | 14620 ac_prog=ld |
14607 if test "$XEGCC" = yes; then | 14621 if test "$XEGCC" = yes; then |
14608 # Check if gcc -print-prog-name=ld gives a path. | 14622 # Check if gcc -print-prog-name=ld gives a path. |
14609 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14623 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
14610 echo "configure:14611: checking for ld used by GCC" >&5 | 14624 echo "configure:14625: checking for ld used by GCC" >&5 |
14611 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14625 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
14612 case "$ac_prog" in | 14626 case "$ac_prog" in |
14613 # Accept absolute paths. | 14627 # Accept absolute paths. |
14614 /*) | 14628 /*) |
14615 if test -z "$LTLD"; then | 14629 if test -z "$LTLD"; then |
14631 with_gnu_ld=unknown | 14645 with_gnu_ld=unknown |
14632 ;; | 14646 ;; |
14633 esac | 14647 esac |
14634 else | 14648 else |
14635 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14649 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
14636 echo "configure:14637: checking for GNU ld" >&5 | 14650 echo "configure:14651: checking for GNU ld" >&5 |
14637 fi | 14651 fi |
14638 | 14652 |
14639 if test -z "$LTLD"; then | 14653 if test -z "$LTLD"; then |
14640 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14654 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
14641 for ac_dir in $PATH; do | 14655 for ac_dir in $PATH; do |
14669 | 14683 |
14670 ld_dynamic_link_flags= | 14684 ld_dynamic_link_flags= |
14671 | 14685 |
14672 # Check to see if it really is or isn't GNU ld. | 14686 # Check to see if it really is or isn't GNU ld. |
14673 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14687 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
14674 echo "configure:14675: checking if the linker is GNU ld" >&5 | 14688 echo "configure:14689: checking if the linker is GNU ld" >&5 |
14675 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14689 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
14676 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14690 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
14677 xe_gnu_ld=yes | 14691 xe_gnu_ld=yes |
14678 else | 14692 else |
14679 xe_gnu_ld=no | 14693 xe_gnu_ld=no |
14697 ld_shlibs=yes | 14711 ld_shlibs=yes |
14698 else | 14712 else |
14699 # OK - only NOW do we futz about with ld. | 14713 # OK - only NOW do we futz about with ld. |
14700 # See if the linker supports building shared libraries. | 14714 # See if the linker supports building shared libraries. |
14701 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14715 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
14702 echo "configure:14703: checking whether the linker supports shared libraries" >&5 | 14716 echo "configure:14717: checking whether the linker supports shared libraries" >&5 |
14703 dll_ld=$CC | 14717 dll_ld=$CC |
14704 dll_ldflags=$LDFLAGS | 14718 dll_ldflags=$LDFLAGS |
14705 ld_shlibs=yes | 14719 ld_shlibs=yes |
14706 can_build_shared=yes | 14720 can_build_shared=yes |
14707 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14721 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
14905 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 14919 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
14906 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 14920 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
14907 for ac_func in dlerror _dlerror | 14921 for ac_func in dlerror _dlerror |
14908 do | 14922 do |
14909 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 14923 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
14910 echo "configure:14911: checking for $ac_func" >&5 | 14924 echo "configure:14925: checking for $ac_func" >&5 |
14911 | 14925 |
14912 cat > conftest.$ac_ext <<EOF | 14926 cat > conftest.$ac_ext <<EOF |
14913 #line 14914 "configure" | 14927 #line 14928 "configure" |
14914 #include "confdefs.h" | 14928 #include "confdefs.h" |
14915 /* System header to define __stub macros and hopefully few prototypes, | 14929 /* System header to define __stub macros and hopefully few prototypes, |
14916 which can conflict with char $ac_func(); below. */ | 14930 which can conflict with char $ac_func(); below. */ |
14917 #include <assert.h> | 14931 #include <assert.h> |
14918 /* Override any gcc2 internal prototype to avoid an error. */ | 14932 /* Override any gcc2 internal prototype to avoid an error. */ |
14931 $ac_func(); | 14945 $ac_func(); |
14932 #endif | 14946 #endif |
14933 | 14947 |
14934 ; return 0; } | 14948 ; return 0; } |
14935 EOF | 14949 EOF |
14936 if { (eval echo configure:14937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14950 if { (eval echo configure:14951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14937 rm -rf conftest* | 14951 rm -rf conftest* |
14938 eval "ac_cv_func_$ac_func=yes" | 14952 eval "ac_cv_func_$ac_func=yes" |
14939 else | 14953 else |
14940 echo "configure: failed program was:" >&5 | 14954 echo "configure: failed program was:" >&5 |
14941 cat conftest.$ac_ext >&5 | 14955 cat conftest.$ac_ext >&5 |
14970 with_modules=no | 14984 with_modules=no |
14971 fi | 14985 fi |
14972 fi | 14986 fi |
14973 | 14987 |
14974 cat > conftest.$ac_ext <<EOF | 14988 cat > conftest.$ac_ext <<EOF |
14975 #line 14976 "configure" | 14989 #line 14990 "configure" |
14976 #include "confdefs.h" | 14990 #include "confdefs.h" |
14977 int main(int c,char *v[]){return 0;} | 14991 int main(int c,char *v[]){return 0;} |
14978 EOF | 14992 EOF |
14979 if { (eval echo configure:14980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 14993 if { (eval echo configure:14994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
14980 then | 14994 then |
14981 : | 14995 : |
14982 else | 14996 else |
14983 conftest_rc="$?" | 14997 conftest_rc="$?" |
14984 echo "configure: failed program was:" >&5 | 14998 echo "configure: failed program was:" >&5 |