| 994 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
--program-suffix=SUFFIX append SUFFIX to installed program names |
| 995 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
| 996 |
|
|
|
X features: |
|
|
--x-includes=DIR X include files are in DIR |
|
|
--x-libraries=DIR X library files are in DIR |
|
|
|
|
| 997 |
System types: |
System types: |
| 998 |
--build=BUILD configure for building on BUILD [guessed] |
--build=BUILD configure for building on BUILD [guessed] |
| 999 |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
| 1048 |
both] |
both] |
| 1049 |
--with-tags[=TAGS] |
--with-tags[=TAGS] |
| 1050 |
include additional configurations [automatic] |
include additional configurations [automatic] |
|
--with-x use the X Window System |
|
| 1051 |
--with-term-libs=-lLIB terminal library to be used |
--with-term-libs=-lLIB terminal library to be used |
| 1052 |
--with-libwrap[=DIR] Compile in libwrap (tcp_wrappers) support [default=try to find libwrap] |
--with-libwrap[=DIR] Compile in libwrap (tcp_wrappers) support [default=try to find libwrap] |
| 1053 |
|
|
| 3666 |
;; |
;; |
| 3667 |
*-*-irix6*) |
*-*-irix6*) |
| 3668 |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
| 3669 |
echo '#line 3674 "configure"' > conftest.$ac_ext |
echo '#line 3669 "configure"' > conftest.$ac_ext |
| 3670 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3671 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
| 3672 |
ac_status=$? |
ac_status=$? |
| 4782 |
|
|
| 4783 |
|
|
| 4784 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
| 4785 |
echo "$as_me:4790:" \ |
echo "$as_me:4785:" \ |
| 4786 |
"checking for Fortran 77 compiler version" >&5 |
"checking for Fortran 77 compiler version" >&5 |
| 4787 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
| 4788 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 6098 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 6099 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 6100 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 6101 |
(eval echo "\"\$as_me:6106: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6101: $lt_compile\"" >&5) |
| 6102 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 6103 |
ac_status=$? |
ac_status=$? |
| 6104 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 6105 |
echo "$as_me:6110: \$? = $ac_status" >&5 |
echo "$as_me:6105: \$? = $ac_status" >&5 |
| 6106 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 6107 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 6108 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 6388 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 6389 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 6390 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 6391 |
(eval echo "\"\$as_me:6396: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6391: $lt_compile\"" >&5) |
| 6392 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 6393 |
ac_status=$? |
ac_status=$? |
| 6394 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 6395 |
echo "$as_me:6400: \$? = $ac_status" >&5 |
echo "$as_me:6395: \$? = $ac_status" >&5 |
| 6396 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 6397 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 6398 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 6492 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 6493 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 6494 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 6495 |
(eval echo "\"\$as_me:6500: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6495: $lt_compile\"" >&5) |
| 6496 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 6497 |
ac_status=$? |
ac_status=$? |
| 6498 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 6499 |
echo "$as_me:6504: \$? = $ac_status" >&5 |
echo "$as_me:6499: \$? = $ac_status" >&5 |
| 6500 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 6501 |
then |
then |
| 6502 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 8778 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 8779 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
| 8780 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 8781 |
#line 8786 "configure" |
#line 8781 "configure" |
| 8782 |
#include "confdefs.h" |
#include "confdefs.h" |
| 8783 |
|
|
| 8784 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
| 8878 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 8879 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
| 8880 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 8881 |
#line 8886 "configure" |
#line 8881 "configure" |
| 8882 |
#include "confdefs.h" |
#include "confdefs.h" |
| 8883 |
|
|
| 8884 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
| 11265 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 11266 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 11267 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 11268 |
(eval echo "\"\$as_me:11273: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11268: $lt_compile\"" >&5) |
| 11269 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 11270 |
ac_status=$? |
ac_status=$? |
| 11271 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 11272 |
echo "$as_me:11277: \$? = $ac_status" >&5 |
echo "$as_me:11272: \$? = $ac_status" >&5 |
| 11273 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 11274 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 11275 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 11369 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 11370 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 11371 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 11372 |
(eval echo "\"\$as_me:11377: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11372: $lt_compile\"" >&5) |
| 11373 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 11374 |
ac_status=$? |
ac_status=$? |
| 11375 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 11376 |
echo "$as_me:11381: \$? = $ac_status" >&5 |
echo "$as_me:11376: \$? = $ac_status" >&5 |
| 11377 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 11378 |
then |
then |
| 11379 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 12952 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 12953 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 12954 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 12955 |
(eval echo "\"\$as_me:12960: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:12955: $lt_compile\"" >&5) |
| 12956 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 12957 |
ac_status=$? |
ac_status=$? |
| 12958 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 12959 |
echo "$as_me:12964: \$? = $ac_status" >&5 |
echo "$as_me:12959: \$? = $ac_status" >&5 |
| 12960 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 12961 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 12962 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 13056 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 13057 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 13058 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 13059 |
(eval echo "\"\$as_me:13064: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:13059: $lt_compile\"" >&5) |
| 13060 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 13061 |
ac_status=$? |
ac_status=$? |
| 13062 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 13063 |
echo "$as_me:13068: \$? = $ac_status" >&5 |
echo "$as_me:13063: \$? = $ac_status" >&5 |
| 13064 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 13065 |
then |
then |
| 13066 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 15244 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 15245 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 15246 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 15247 |
(eval echo "\"\$as_me:15252: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:15247: $lt_compile\"" >&5) |
| 15248 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 15249 |
ac_status=$? |
ac_status=$? |
| 15250 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 15251 |
echo "$as_me:15256: \$? = $ac_status" >&5 |
echo "$as_me:15251: \$? = $ac_status" >&5 |
| 15252 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 15253 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 15254 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 15534 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 15535 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 15536 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 15537 |
(eval echo "\"\$as_me:15542: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:15537: $lt_compile\"" >&5) |
| 15538 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 15539 |
ac_status=$? |
ac_status=$? |
| 15540 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 15541 |
echo "$as_me:15546: \$? = $ac_status" >&5 |
echo "$as_me:15541: \$? = $ac_status" >&5 |
| 15542 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 15543 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 15544 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 15638 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 15639 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 15640 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 15641 |
(eval echo "\"\$as_me:15646: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:15641: $lt_compile\"" >&5) |
| 15642 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 15643 |
ac_status=$? |
ac_status=$? |
| 15644 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 15645 |
echo "$as_me:15650: \$? = $ac_status" >&5 |
echo "$as_me:15645: \$? = $ac_status" >&5 |
| 15646 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 15647 |
then |
then |
| 15648 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 18717 |
fi |
fi |
| 18718 |
|
|
| 18719 |
|
|
|
echo "$as_me:$LINENO: checking for X" >&5 |
|
|
echo $ECHO_N "checking for X... $ECHO_C" >&6 |
|
|
|
|
|
|
|
|
# Check whether --with-x or --without-x was given. |
|
|
if test "${with_x+set}" = set; then |
|
|
withval="$with_x" |
|
|
|
|
|
fi; |
|
|
# $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
|
|
if test "x$with_x" = xno; then |
|
|
# The user explicitly disabled X. |
|
|
have_x=disabled |
|
|
else |
|
|
if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then |
|
|
# Both variables are already set. |
|
|
have_x=yes |
|
|
else |
|
|
if test "${ac_cv_have_x+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
# One or both of the vars are not set, and there is no cached value. |
|
|
ac_x_includes=no ac_x_libraries=no |
|
|
rm -fr conftest.dir |
|
|
if mkdir conftest.dir; then |
|
|
cd conftest.dir |
|
|
# Make sure to not put "make" in the Imakefile rules, since we grep it out. |
|
|
cat >Imakefile <<'_ACEOF' |
|
|
acfindx: |
|
|
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' |
|
|
_ACEOF |
|
|
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then |
|
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
|
|
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` |
|
|
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
|
|
for ac_extension in a so sl; do |
|
|
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && |
|
|
test -f $ac_im_libdir/libX11.$ac_extension; then |
|
|
ac_im_usrlibdir=$ac_im_libdir; break |
|
|
fi |
|
|
done |
|
|
# Screen out bogus values from the imake configuration. They are |
|
|
# bogus both because they are the default anyway, and because |
|
|
# using them would break gcc on systems where it needs fixed includes. |
|
|
case $ac_im_incroot in |
|
|
/usr/include) ;; |
|
|
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
|
|
esac |
|
|
case $ac_im_usrlibdir in |
|
|
/usr/lib | /lib) ;; |
|
|
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
|
|
esac |
|
|
fi |
|
|
cd .. |
|
|
rm -fr conftest.dir |
|
|
fi |
|
|
|
|
|
# Standard set of common directories for X headers. |
|
|
# Check X11 before X11Rn because it is often a symlink to the current release. |
|
|
ac_x_header_dirs=' |
|
|
/usr/X11/include |
|
|
/usr/X11R6/include |
|
|
/usr/X11R5/include |
|
|
/usr/X11R4/include |
|
|
|
|
|
/usr/include/X11 |
|
|
/usr/include/X11R6 |
|
|
/usr/include/X11R5 |
|
|
/usr/include/X11R4 |
|
|
|
|
|
/usr/local/X11/include |
|
|
/usr/local/X11R6/include |
|
|
/usr/local/X11R5/include |
|
|
/usr/local/X11R4/include |
|
|
|
|
|
/usr/local/include/X11 |
|
|
/usr/local/include/X11R6 |
|
|
/usr/local/include/X11R5 |
|
|
/usr/local/include/X11R4 |
|
|
|
|
|
/usr/X386/include |
|
|
/usr/x386/include |
|
|
/usr/XFree86/include/X11 |
|
|
|
|
|
/usr/include |
|
|
/usr/local/include |
|
|
/usr/unsupported/include |
|
|
/usr/athena/include |
|
|
/usr/local/x11r5/include |
|
|
/usr/lpp/Xamples/include |
|
|
|
|
|
/usr/openwin/include |
|
|
/usr/openwin/share/include' |
|
|
|
|
|
if test "$ac_x_includes" = no; then |
|
|
# Guess where to find include files, by looking for Intrinsic.h. |
|
|
# First, try using that file with no special directory specified. |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
#line $LINENO "configure" |
|
|
#include "confdefs.h" |
|
|
#include <X11/Intrinsic.h> |
|
|
_ACEOF |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
egrep -v '^ *\+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } >/dev/null; then |
|
|
if test -s conftest.err; then |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
else |
|
|
ac_cpp_err= |
|
|
fi |
|
|
else |
|
|
ac_cpp_err=yes |
|
|
fi |
|
|
if test -z "$ac_cpp_err"; then |
|
|
# We can compile using X headers with no special include directory. |
|
|
ac_x_includes= |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
for ac_dir in $ac_x_header_dirs; do |
|
|
if test -r "$ac_dir/X11/Intrinsic.h"; then |
|
|
ac_x_includes=$ac_dir |
|
|
break |
|
|
fi |
|
|
done |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_ext |
|
|
fi # $ac_x_includes = no |
|
|
|
|
|
if test "$ac_x_libraries" = no; then |
|
|
# Check for the libraries. |
|
|
# See if we find them without any special options. |
|
|
# Don't add to $LIBS permanently. |
|
|
ac_save_LIBS=$LIBS |
|
|
LIBS="-lXt $LIBS" |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
#line $LINENO "configure" |
|
|
#include "confdefs.h" |
|
|
#include <X11/Intrinsic.h> |
|
|
#ifdef F77_DUMMY_MAIN |
|
|
# ifdef __cplusplus |
|
|
extern "C" |
|
|
# endif |
|
|
int F77_DUMMY_MAIN() { return 1; } |
|
|
#endif |
|
|
int |
|
|
main () |
|
|
{ |
|
|
XtMalloc (0) |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
(eval $ac_link) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -s conftest$ac_exeext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
LIBS=$ac_save_LIBS |
|
|
# We can link X programs with no special library path. |
|
|
ac_x_libraries= |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
LIBS=$ac_save_LIBS |
|
|
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
|
|
do |
|
|
# Don't even attempt the hair of trying to link an X program! |
|
|
for ac_extension in a so sl; do |
|
|
if test -r $ac_dir/libXt.$ac_extension; then |
|
|
ac_x_libraries=$ac_dir |
|
|
break 2 |
|
|
fi |
|
|
done |
|
|
done |
|
|
fi |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
|
fi # $ac_x_libraries = no |
|
|
|
|
|
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then |
|
|
# Didn't find X anywhere. Cache the known absence of X. |
|
|
ac_cv_have_x="have_x=no" |
|
|
else |
|
|
# Record where we found X for the cache. |
|
|
ac_cv_have_x="have_x=yes \ |
|
|
ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" |
|
|
fi |
|
|
fi |
|
|
|
|
|
fi |
|
|
eval "$ac_cv_have_x" |
|
|
fi # $with_x != no |
|
|
|
|
|
if test "$have_x" != yes; then |
|
|
echo "$as_me:$LINENO: result: $have_x" >&5 |
|
|
echo "${ECHO_T}$have_x" >&6 |
|
|
no_x=yes |
|
|
else |
|
|
# If each of the values was on the command line, it overrides each guess. |
|
|
test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
|
|
test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
|
|
# Update the cache value to reflect the command line values. |
|
|
ac_cv_have_x="have_x=yes \ |
|
|
ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
|
|
echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
|
|
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 |
|
|
fi |
|
|
|
|
| 18720 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 18721 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| 18722 |
if test "${ac_cv_header_stdc+set}" = set; then |
if test "${ac_cv_header_stdc+set}" = set; then |