comparison configure @ 3312:b145b32294ff

[xemacs-hg @ 2006-03-28 15:55:48 by james] Update obsolete autoconf macros. See xemacs-patches discussion starting with message <m3r74nvb3t.fsf@jerrypc.cs.usu.edu>.
author james
date Tue, 28 Mar 2006 15:55:52 +0000
parents ad7894a4ab41
children d45de99b5d79
comparison
equal deleted inserted replaced
3311:acafd7f94209 3312:b145b32294ff
9023 /* confdefs.h. */ 9023 /* confdefs.h. */
9024 _ACEOF 9024 _ACEOF
9025 cat confdefs.h >>conftest.$ac_ext 9025 cat confdefs.h >>conftest.$ac_ext
9026 cat >>conftest.$ac_ext <<_ACEOF 9026 cat >>conftest.$ac_ext <<_ACEOF
9027 /* end confdefs.h. */ 9027 /* end confdefs.h. */
9028
9029 int
9030 main ()
9031 {
9032 void *x = alloca(4); 9028 void *x = alloca(4);
9033 ;
9034 return 0;
9035 }
9036 _ACEOF 9029 _ACEOF
9037 rm -f conftest.$ac_objext conftest$ac_exeext 9030 rm -f conftest.$ac_objext conftest$ac_exeext
9038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9039 (eval $ac_link) 2>conftest.er1 9032 (eval $ac_link) 2>conftest.er1
9040 ac_status=$? 9033 ac_status=$?
9068 /* confdefs.h. */ 9061 /* confdefs.h. */
9069 _ACEOF 9062 _ACEOF
9070 cat confdefs.h >>conftest.$ac_ext 9063 cat confdefs.h >>conftest.$ac_ext
9071 cat >>conftest.$ac_ext <<_ACEOF 9064 cat >>conftest.$ac_ext <<_ACEOF
9072 /* end confdefs.h. */ 9065 /* end confdefs.h. */
9073
9074 int
9075 main ()
9076 {
9077 void *x = alloca(4); 9066 void *x = alloca(4);
9078 ;
9079 return 0;
9080 }
9081 _ACEOF 9067 _ACEOF
9082 rm -f conftest.$ac_objext conftest$ac_exeext 9068 rm -f conftest.$ac_objext conftest$ac_exeext
9083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9084 (eval $ac_link) 2>conftest.er1 9070 (eval $ac_link) 2>conftest.er1
9085 ac_status=$? 9071 ac_status=$?
9726 * ) add_runtime_path=no ;; 9712 * ) add_runtime_path=no ;;
9727 esac 9713 esac
9728 fi 9714 fi
9729 9715
9730 if test "$add_runtime_path" = "yes"; then 9716 if test "$add_runtime_path" = "yes"; then
9731 echo "$as_me:$LINENO: checking \"for runtime libraries flag\"" >&5 9717 echo "$as_me:$LINENO: checking for runtime libraries flag" >&5
9732 echo $ECHO_N "checking \"for runtime libraries flag\"... $ECHO_C" >&6 9718 echo $ECHO_N "checking for runtime libraries flag... $ECHO_C" >&6
9733 case "$opsys" in 9719 case "$opsys" in
9734 sol2 ) dash_r="-R" ;; 9720 sol2 ) dash_r="-R" ;;
9735 decosf* | linux* | irix*) dash_r="-rpath " ;; 9721 decosf* | linux* | irix*) dash_r="-rpath " ;;
9736 *) 9722 *)
9737 dash_r="" 9723 dash_r=""
9748 * ) xe_check_libs="$xe_check_libs -Xlinker $1" ;; 9734 * ) xe_check_libs="$xe_check_libs -Xlinker $1" ;;
9749 esac 9735 esac
9750 shift 9736 shift
9751 done 9737 done
9752 fi 9738 fi
9753 cat >conftest.$ac_ext <<_ACEOF 9739 rm -f conftest.$ac_objext conftest$ac_exeext
9754 /* confdefs.h. */
9755 _ACEOF
9756 cat confdefs.h >>conftest.$ac_ext
9757 cat >>conftest.$ac_ext <<_ACEOF
9758 /* end confdefs.h. */
9759
9760 int
9761 main ()
9762 {
9763
9764 ;
9765 return 0;
9766 }
9767 _ACEOF
9768 rm -f conftest.$ac_objext conftest$ac_exeext
9769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9770 (eval $ac_link) 2>conftest.er1 9741 (eval $ac_link) 2>conftest.er1
9771 ac_status=$? 9742 ac_status=$?
9772 grep -v '^ *+' conftest.er1 >conftest.err 9743 grep -v '^ *+' conftest.er1 >conftest.err
9773 rm -f conftest.er1 9744 rm -f conftest.er1
9792 echo "$as_me: failed program was:" >&5 9763 echo "$as_me: failed program was:" >&5
9793 sed 's/^/| /' conftest.$ac_ext >&5 9764 sed 's/^/| /' conftest.$ac_ext >&5
9794 9765
9795 fi 9766 fi
9796 rm -f conftest.err conftest.$ac_objext \ 9767 rm -f conftest.err conftest.$ac_objext \
9797 conftest$ac_exeext conftest.$ac_ext 9768 conftest$ac_exeext
9798 xe_check_libs="" 9769 xe_check_libs=""
9799 test -n "$dash_r" && break 9770 test -n "$dash_r" && break
9800 done ;; 9771 done ;;
9801 esac 9772 esac
9802 if test -n "$dash_r"; 9773 if test -n "$dash_r";
9803 then echo "$as_me:$LINENO: result: "\"${dash_r}\""" >&5 9774 then echo "$as_me:$LINENO: result: \"${dash_r}\"" >&5
9804 echo "${ECHO_T}"\"${dash_r}\""" >&6 9775 echo "${ECHO_T}\"${dash_r}\"" >&6
9805 else echo "$as_me:$LINENO: result: NONE" >&5 9776 else echo "$as_me:$LINENO: result: NONE" >&5
9806 echo "${ECHO_T}NONE" >&6 9777 echo "${ECHO_T}NONE" >&6
9807 fi 9778 fi
9808 fi 9779 fi
9809 9780
10522 10493
10523 10494
10524 10495
10525 10496
10526 10497
10527 10498 for ac_header in a.out.h elf.h cygwin/version.h fcntl.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/resource.h sys/time.h sys/timeb.h sys/times.h sys/un.h sys/vlimit.h ulimit.h
10528
10529 for ac_header in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/resource.h sys/time.h sys/timeb.h sys/times.h sys/un.h sys/vlimit.h ulimit.h unistd.h
10530 do 10499 do
10531 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10500 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10532 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10533 echo "$as_me:$LINENO: checking for $ac_header" >&5 10502 echo "$as_me:$LINENO: checking for $ac_header" >&5
10534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11663 cat >>conftest.$ac_ext <<_ACEOF 11632 cat >>conftest.$ac_ext <<_ACEOF
11664 /* end confdefs.h. */ 11633 /* end confdefs.h. */
11665 #include <sys/types.h> 11634 #include <sys/types.h>
11666 intptr_t x; 11635 intptr_t x;
11667 11636
11668 int
11669 main ()
11670 {
11671
11672 ;
11673 return 0;
11674 }
11675 _ACEOF 11637 _ACEOF
11676 rm -f conftest.$ac_objext 11638 rm -f conftest.$ac_objext
11677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11678 (eval $ac_compile) 2>conftest.er1 11640 (eval $ac_compile) 2>conftest.er1
11679 ac_status=$? 11641 ac_status=$?
11721 /* end confdefs.h. */ 11683 /* end confdefs.h. */
11722 #include <sys/types.h> 11684 #include <sys/types.h>
11723 #include <sys/socket.h> 11685 #include <sys/socket.h>
11724 socklen_t x; 11686 socklen_t x;
11725 11687
11726 int
11727 main ()
11728 {
11729
11730 ;
11731 return 0;
11732 }
11733 _ACEOF 11688 _ACEOF
11734 rm -f conftest.$ac_objext 11689 rm -f conftest.$ac_objext
11735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11736 (eval $ac_compile) 2>conftest.er1 11691 (eval $ac_compile) 2>conftest.er1
11737 ac_status=$? 11692 ac_status=$?
11768 /* end confdefs.h. */ 11723 /* end confdefs.h. */
11769 #include <sys/types.h> 11724 #include <sys/types.h>
11770 #include <sys/socket.h> 11725 #include <sys/socket.h>
11771 int accept (int, struct sockaddr *, size_t *); 11726 int accept (int, struct sockaddr *, size_t *);
11772 11727
11773 int
11774 main ()
11775 {
11776
11777 ;
11778 return 0;
11779 }
11780 _ACEOF 11728 _ACEOF
11781 rm -f conftest.$ac_objext 11729 rm -f conftest.$ac_objext
11782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11783 (eval $ac_compile) 2>conftest.er1 11731 (eval $ac_compile) 2>conftest.er1
11784 ac_status=$? 11732 ac_status=$?
15372 15320
15373 fi 15321 fi
15374 done 15322 done
15375 15323
15376 15324
15377 { echo "$as_me:$LINENO: checking type of mail spool file locking..." >&5 15325 echo "$as_me:$LINENO: checking type of mail spool file locking" >&5
15378 echo "$as_me: checking type of mail spool file locking..." >&6;} 15326 echo $ECHO_N "checking type of mail spool file locking... $ECHO_C" >&6
15327 echo "$as_me:$LINENO: result: " >&5
15328 echo "${ECHO_T}" >&6
15379 15329
15380 15330
15381 for ac_func in lockf flock 15331 for ac_func in lockf flock
15382 do 15332 do
15383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15625 esac 15575 esac
15626 fi 15576 fi
15627 fi 15577 fi
15628 15578
15629 15579
15630 { echo "$as_me:$LINENO: checking for specified window system..." >&5 15580 echo "$as_me:$LINENO: checking for specified window system" >&5
15631 echo "$as_me: checking for specified window system..." >&6;} 15581 echo $ECHO_N "checking for specified window system... $ECHO_C" >&6
15582 echo "$as_me:$LINENO: result: " >&5
15583 echo "${ECHO_T}" >&6
15632 15584
15633 15585
15634 GNOME_CONFIG=no 15586 GNOME_CONFIG=no
15635 GTK_CONFIG=no 15587 GTK_CONFIG=no
15636 15588
18116 test ! -z "$bitmapdirs" && cat >>confdefs.h <<_ACEOF 18068 test ! -z "$bitmapdirs" && cat >>confdefs.h <<_ACEOF
18117 #define BITMAPDIR "$bitmapdirs" 18069 #define BITMAPDIR "$bitmapdirs"
18118 _ACEOF 18070 _ACEOF
18119 18071
18120 18072
18121 { echo "$as_me:$LINENO: checking for X defines extracted by xmkmf..." >&5 18073 echo "$as_me:$LINENO: checking for X defines extracted by xmkmf" >&5
18122 echo "$as_me: checking for X defines extracted by xmkmf..." >&6;} 18074 echo $ECHO_N "checking for X defines extracted by xmkmf... $ECHO_C" >&6
18075 echo "$as_me:$LINENO: result: " >&5
18076 echo "${ECHO_T}" >&6
18123 rm -fr conftestdir 18077 rm -fr conftestdir
18124 if mkdir conftestdir; then 18078 if mkdir conftestdir; then
18125 cd conftestdir 18079 cd conftestdir
18126 cat > Imakefile <<'EOF' 18080 cat > Imakefile <<'EOF'
18127 xetest: 18081 xetest:
19012 #define NeedFunctionPrototypes 1 18966 #define NeedFunctionPrototypes 1
19013 #include <X11/Xlib.h> 18967 #include <X11/Xlib.h>
19014 extern Bool XRegisterIMInstantiateCallback( 18968 extern Bool XRegisterIMInstantiateCallback(
19015 Display*, struct _XrmHashBucketRec*, char*, char*, XIMProc, XPointer*); 18969 Display*, struct _XrmHashBucketRec*, char*, char*, XIMProc, XPointer*);
19016 18970
19017 int
19018 main ()
19019 {
19020
19021 ;
19022 return 0;
19023 }
19024 _ACEOF 18971 _ACEOF
19025 rm -f conftest.$ac_objext 18972 rm -f conftest.$ac_objext
19026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 18973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19027 (eval $ac_compile) 2>conftest.er1 18974 (eval $ac_compile) 2>conftest.er1
19028 ac_status=$? 18975 ac_status=$?
19217 fi 19164 fi
19218 fi 19165 fi
19219 19166
19220 19167
19221 if test "$with_xft_emacs" = "yes"; then 19168 if test "$with_xft_emacs" = "yes"; then
19222 { echo "$as_me:$LINENO: checking for Xrender, fontconfig, and Xft..." >&5 19169 echo "$as_me:$LINENO: checking for Xrender, fontconfig, and Xft" >&5
19223 echo "$as_me: checking for Xrender, fontconfig, and Xft..." >&6;} 19170 echo $ECHO_N "checking for Xrender, fontconfig, and Xft... $ECHO_C" >&6
19224 xft_includes_found=no 19171 xft_includes_found=no
19225 19172
19226 for ac_header in freetype/config/ftheader.h 19173 for ac_header in freetype/config/ftheader.h
19227 do 19174 do
19228 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 19175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19372 19319
19373 for freetype_include_top in "/usr/X11R6/include/freetype2" \ 19320 for freetype_include_top in "/usr/X11R6/include/freetype2" \
19374 "/usr/include/freetype2" 19321 "/usr/include/freetype2"
19375 do 19322 do
19376 if test -d $freetype_include_top; then 19323 if test -d $freetype_include_top; then
19377 { echo "$as_me:$LINENO: checking in ${freetype_include_top}/freetype2..." >&5 19324 echo "$as_me:$LINENO: checking in ${freetype_include_top}/freetype2" >&5
19378 echo "$as_me: checking in ${freetype_include_top}/freetype2..." >&6;} 19325 echo $ECHO_N "checking in ${freetype_include_top}/freetype2... $ECHO_C" >&6
19379 unset "$as_ac_Header" 19326 unset "$as_ac_Header"
19380 save_c_switch_site="$c_switch_site" 19327 save_c_switch_site="$c_switch_site"
19381 c_switch_site="$c_switch_site -I${freetype_include_top}" 19328 c_switch_site="$c_switch_site -I${freetype_include_top}"
19382 19329
19383 for ac_header in freetype/config/ftheader.h 19330 for ac_header in freetype/config/ftheader.h
19758 fi 19705 fi
19759 fi 19706 fi
19760 19707
19761 fi 19708 fi
19762 if test "$with_msw" != "no"; then 19709 if test "$with_msw" != "no"; then
19763 { echo "$as_me:$LINENO: checking for MS-Windows..." >&5 19710 echo "$as_me:$LINENO: checking for MS-Windows" >&5
19764 echo "$as_me: checking for MS-Windows..." >&6;} 19711 echo $ECHO_N "checking for MS-Windows... $ECHO_C" >&6
19712 echo "$as_me:$LINENO: result: " >&5
19713 echo "${ECHO_T}" >&6
19765 echo "$as_me:$LINENO: checking for main in -lgdi32" >&5 19714 echo "$as_me:$LINENO: checking for main in -lgdi32" >&5
19766 echo $ECHO_N "checking for main in -lgdi32... $ECHO_C" >&6 19715 echo $ECHO_N "checking for main in -lgdi32... $ECHO_C" >&6
19767 if test "${ac_cv_lib_gdi32_main+set}" = set; then 19716 if test "${ac_cv_lib_gdi32_main+set}" = set; then
19768 echo $ECHO_N "(cached) $ECHO_C" >&6 19717 echo $ECHO_N "(cached) $ECHO_C" >&6
19769 else 19718 else
20014 case "$x_libraries" in *X11R4* ) 19963 case "$x_libraries" in *X11R4* )
20015 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" 19964 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h"
20016 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 19965 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
20017 esac 19966 esac
20018 19967
20019 { echo "$as_me:$LINENO: checking for WM_COMMAND option..." >&5 19968 echo "$as_me:$LINENO: checking for WM_COMMAND option" >&5
20020 echo "$as_me: checking for WM_COMMAND option..." >&6;} 19969 echo $ECHO_N "checking for WM_COMMAND option... $ECHO_C" >&6
20021 if test "$with_wmcommand" != "no"; then 19970 if test "$with_wmcommand" != "no"; then
20022 cat >>confdefs.h <<\_ACEOF 19971 cat >>confdefs.h <<\_ACEOF
20023 #define HAVE_WMCOMMAND 1 19972 #define HAVE_WMCOMMAND 1
20024 _ACEOF 19973 _ACEOF
20025 19974
19975 echo "$as_me:$LINENO: result: yes" >&5
19976 echo "${ECHO_T}yes" >&6
19977 else
19978 echo "$as_me:$LINENO: result: no" >&5
19979 echo "${ECHO_T}no" >&6
20026 fi 19980 fi
20027 19981
20028 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 19982 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
20029 test -z "$with_xauth" && { if test "${ac_cv_header_X11_Xauth_h+set}" = set; then 19983 test -z "$with_xauth" && { if test "${ac_cv_header_X11_Xauth_h+set}" = set; then
20030 echo "$as_me:$LINENO: checking for X11/Xauth.h" >&5 19984 echo "$as_me:$LINENO: checking for X11/Xauth.h" >&5
20263 LIBSTDCPP= 20217 LIBSTDCPP=
20264 fi 20218 fi
20265 20219
20266 20220
20267 if test "$enable_modules" != "no"; then 20221 if test "$enable_modules" != "no"; then
20268 { echo "$as_me:$LINENO: checking for module support..." >&5 20222 echo "$as_me:$LINENO: checking for module support" >&5
20269 echo "$as_me: checking for module support..." >&6;} 20223 echo $ECHO_N "checking for module support... $ECHO_C" >&6
20224 echo "$as_me:$LINENO: result: " >&5
20225 echo "${ECHO_T}" >&6
20270 20226
20271 case "$opsys" in 20227 case "$opsys" in
20272 mingw* | cygwin* ) have_dl=yes ;; 20228 mingw* | cygwin* ) have_dl=yes ;;
20273 darwin ) have_dl=yes 20229 darwin ) have_dl=yes
20274 cat >>confdefs.h <<\_ACEOF 20230 cat >>confdefs.h <<\_ACEOF
20426 /* end confdefs.h. */ 20382 /* end confdefs.h. */
20427 #include <dlfcn.h> 20383 #include <dlfcn.h>
20428 int 20384 int
20429 main () 20385 main ()
20430 { 20386 {
20431 dlopen ("", 0); 20387 dlopen ("", 0);
20432 ; 20388 ;
20433 return 0; 20389 return 0;
20434 } 20390 }
20435 _ACEOF 20391 _ACEOF
20436 rm -f conftest.$ac_objext conftest$ac_exeext 20392 rm -f conftest.$ac_objext conftest$ac_exeext
20476 /* end confdefs.h. */ 20432 /* end confdefs.h. */
20477 #include <dlfcn.h> 20433 #include <dlfcn.h>
20478 int 20434 int
20479 main () 20435 main ()
20480 { 20436 {
20481 dlopen ("", 0); 20437 dlopen ("", 0);
20482 ; 20438 ;
20483 return 0; 20439 return 0;
20484 } 20440 }
20485 _ACEOF 20441 _ACEOF
20486 rm -f conftest.$ac_objext conftest$ac_exeext 20442 rm -f conftest.$ac_objext conftest$ac_exeext
20525 /* end confdefs.h. */ 20481 /* end confdefs.h. */
20526 #include <dlfcn.h> 20482 #include <dlfcn.h>
20527 int 20483 int
20528 main () 20484 main ()
20529 { 20485 {
20530 dlopen ("", 0); 20486 dlopen ("", 0);
20531 ; 20487 ;
20532 return 0; 20488 return 0;
20533 } 20489 }
20534 _ACEOF 20490 _ACEOF
20535 rm -f conftest.$ac_objext conftest$ac_exeext 20491 rm -f conftest.$ac_objext conftest$ac_exeext
20729 /* end confdefs.h. */ 20685 /* end confdefs.h. */
20730 #include <dl.h> 20686 #include <dl.h>
20731 int 20687 int
20732 main () 20688 main ()
20733 { 20689 {
20734 shl_load ("", 0, 0); 20690 shl_load ("", 0, 0);
20735 ; 20691 ;
20736 return 0; 20692 return 0;
20737 } 20693 }
20738 _ACEOF 20694 _ACEOF
20739 rm -f conftest.$ac_objext conftest$ac_exeext 20695 rm -f conftest.$ac_objext conftest$ac_exeext
20779 /* end confdefs.h. */ 20735 /* end confdefs.h. */
20780 #include <dl.h> 20736 #include <dl.h>
20781 int 20737 int
20782 main () 20738 main ()
20783 { 20739 {
20784 shl_load ("", 0, 0); 20740 shl_load ("", 0, 0);
20785 ; 20741 ;
20786 return 0; 20742 return 0;
20787 } 20743 }
20788 _ACEOF 20744 _ACEOF
20789 rm -f conftest.$ac_objext conftest$ac_exeext 20745 rm -f conftest.$ac_objext conftest$ac_exeext
20981 /* end confdefs.h. */ 20937 /* end confdefs.h. */
20982 #include <ltdl.h> 20938 #include <ltdl.h>
20983 int 20939 int
20984 main () 20940 main ()
20985 { 20941 {
20986 lt_dlinit (); 20942 lt_dlinit ();
20987 ; 20943 ;
20988 return 0; 20944 return 0;
20989 } 20945 }
20990 _ACEOF 20946 _ACEOF
20991 rm -f conftest.$ac_objext conftest$ac_exeext 20947 rm -f conftest.$ac_objext conftest$ac_exeext
21044 dll_ldo="-o" 21000 dll_ldo="-o"
21045 ld_dynamic_link_flags= 21001 ld_dynamic_link_flags=
21046 xehost=$ac_cv_build 21002 xehost=$ac_cv_build
21047 xealias=$ac_cv_build_alias 21003 xealias=$ac_cv_build_alias
21048 21004
21049 { echo "$as_me:$LINENO: checking how to build dynamic libraries for ${xehost}..." >&5 21005 echo "$as_me:$LINENO: checking how to build dynamic libraries for ${xehost}" >&5
21050 echo "$as_me: checking how to build dynamic libraries for ${xehost}..." >&6;} 21006 echo $ECHO_N "checking how to build dynamic libraries for ${xehost}... $ECHO_C" >&6
21007 echo "$as_me:$LINENO: result: " >&5
21008 echo "${ECHO_T}" >&6
21051 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. 21009 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts.
21052 case "$xehost" in 21010 case "$xehost" in
21053 *-*-linux-gnu*) ;; 21011 *-*-linux-gnu*) ;;
21054 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` 21012 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
21055 esac 21013 esac
21213 /* confdefs.h. */ 21171 /* confdefs.h. */
21214 _ACEOF 21172 _ACEOF
21215 cat confdefs.h >>conftest.$ac_ext 21173 cat confdefs.h >>conftest.$ac_ext
21216 cat >>conftest.$ac_ext <<_ACEOF 21174 cat >>conftest.$ac_ext <<_ACEOF
21217 /* end confdefs.h. */ 21175 /* end confdefs.h. */
21218
21219 int
21220 main ()
21221 {
21222 int x=0; 21176 int x=0;
21223 ;
21224 return 0;
21225 }
21226 _ACEOF 21177 _ACEOF
21227 rm -f conftest.$ac_objext 21178 rm -f conftest.$ac_objext
21228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 21179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21229 (eval $ac_compile) 2>conftest.er1 21180 (eval $ac_compile) 2>conftest.er1
21230 ac_status=$? 21181 ac_status=$?
21341 /* confdefs.h. */ 21292 /* confdefs.h. */
21342 _ACEOF 21293 _ACEOF
21343 cat confdefs.h >>conftest.$ac_ext 21294 cat confdefs.h >>conftest.$ac_ext
21344 cat >>conftest.$ac_ext <<_ACEOF 21295 cat >>conftest.$ac_ext <<_ACEOF
21345 /* end confdefs.h. */ 21296 /* end confdefs.h. */
21346
21347 int
21348 main ()
21349 {
21350 int x=0; 21297 int x=0;
21351 ;
21352 return 0;
21353 }
21354 _ACEOF 21298 _ACEOF
21355 rm -f conftest.$ac_objext conftest$ac_exeext 21299 rm -f conftest.$ac_objext conftest$ac_exeext
21356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21357 (eval $ac_link) 2>conftest.er1 21301 (eval $ac_link) 2>conftest.er1
21358 ac_status=$? 21302 ac_status=$?
22382 echo "$as_me:$LINENO: result: no" >&5 22326 echo "$as_me:$LINENO: result: no" >&5
22383 echo "${ECHO_T}no" >&6 22327 echo "${ECHO_T}no" >&6
22384 fi 22328 fi
22385 fi 22329 fi
22386 22330
22387 { echo "$as_me:$LINENO: checking for LDAP..." >&5 22331 echo "$as_me:$LINENO: checking for LDAP" >&5
22388 echo "$as_me: checking for LDAP..." >&6;} 22332 echo $ECHO_N "checking for LDAP... $ECHO_C" >&6
22333 echo "$as_me:$LINENO: result: " >&5
22334 echo "${ECHO_T}" >&6
22389 ldap_libs= 22335 ldap_libs=
22390 test -z "$with_ldap" && { if test "${ac_cv_header_ldap_h+set}" = set; then 22336 test -z "$with_ldap" && { if test "${ac_cv_header_ldap_h+set}" = set; then
22391 echo "$as_me:$LINENO: checking for ldap.h" >&5 22337 echo "$as_me:$LINENO: checking for ldap.h" >&5
22392 echo $ECHO_N "checking for ldap.h... $ECHO_C" >&6 22338 echo $ECHO_N "checking for ldap.h... $ECHO_C" >&6
22393 if test "${ac_cv_header_ldap_h+set}" = set; then 22339 if test "${ac_cv_header_ldap_h+set}" = set; then
23147 fi 23093 fi
23148 23094
23149 23095
23150 postgresql_libs= 23096 postgresql_libs=
23151 if test "$with_postgresql" != "no"; then 23097 if test "$with_postgresql" != "no"; then
23152 { echo "$as_me:$LINENO: checking for PostgreSQL..." >&5 23098 echo "$as_me:$LINENO: checking for PostgreSQL" >&5
23153 echo "$as_me: checking for PostgreSQL..." >&6;} 23099 echo $ECHO_N "checking for PostgreSQL... $ECHO_C" >&6
23100 echo "$as_me:$LINENO: result: " >&5
23101 echo "${ECHO_T}" >&6
23154 23102
23155 for header_dir in "" "pgsql/" "postgresql/"; do 23103 for header_dir in "" "pgsql/" "postgresql/"; do
23156 as_ac_Header=`echo "ac_cv_header_${header_dir}libpq-fe.h" | $as_tr_sh` 23104 as_ac_Header=`echo "ac_cv_header_${header_dir}libpq-fe.h" | $as_tr_sh`
23157 if eval "test \"\${$as_ac_Header+set}\" = set"; then 23105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23158 echo "$as_me:$LINENO: checking for ${header_dir}libpq-fe.h" >&5 23106 echo "$as_me:$LINENO: checking for ${header_dir}libpq-fe.h" >&5
23544 fi 23492 fi
23545 23493
23546 23494
23547 23495
23548 if test "$window_system" != "none"; then 23496 if test "$window_system" != "none"; then
23549 { echo "$as_me:$LINENO: checking for graphics libraries..." >&5 23497 echo "$as_me:$LINENO: checking for graphics libraries" >&5
23550 echo "$as_me: checking for graphics libraries..." >&6;} 23498 echo $ECHO_N "checking for graphics libraries... $ECHO_C" >&6
23499 echo "$as_me:$LINENO: result: " >&5
23500 echo "${ECHO_T}" >&6
23551 23501
23552 libpath_xpm= 23502 libpath_xpm=
23553 incpath_xpm= 23503 incpath_xpm=
23554 case "$opsys" in 23504 case "$opsys" in
23555 cygwin*) 23505 cygwin*)
23654 /* confdefs.h. */ 23604 /* confdefs.h. */
23655 _ACEOF 23605 _ACEOF
23656 cat confdefs.h >>conftest.$ac_ext 23606 cat confdefs.h >>conftest.$ac_ext
23657 cat >>conftest.$ac_ext <<_ACEOF 23607 cat >>conftest.$ac_ext <<_ACEOF
23658 /* end confdefs.h. */ 23608 /* end confdefs.h. */
23659
23660 int
23661 main ()
23662 {
23663 XpmCreatePixmapFromData() 23609 XpmCreatePixmapFromData()
23664 ;
23665 return 0;
23666 }
23667 _ACEOF 23610 _ACEOF
23668 rm -f conftest.$ac_objext conftest$ac_exeext 23611 rm -f conftest.$ac_objext conftest$ac_exeext
23669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23670 (eval $ac_link) 2>conftest.er1 23613 (eval $ac_link) 2>conftest.er1
23671 ac_status=$? 23614 ac_status=$?
25204 libs_gtk="-lcompface $libs_gtk" && if test "$verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_gtk"; fi 25147 libs_gtk="-lcompface $libs_gtk" && if test "$verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_gtk"; fi
25205 fi 25148 fi
25206 fi 25149 fi
25207 25150
25208 25151
25209
25210 if test "$with_x11" = "yes"; then 25152 if test "$with_x11" = "yes"; then
25211 { echo "$as_me:$LINENO: checking for X11 graphics libraries..." >&5 25153 echo "$as_me:$LINENO: checking for X11 graphics libraries" >&5
25212 echo "$as_me: checking for X11 graphics libraries..." >&6;} 25154 echo $ECHO_N "checking for X11 graphics libraries... $ECHO_C" >&6
25155 echo "$as_me:$LINENO: result: " >&5
25156 echo "${ECHO_T}" >&6
25213 fi 25157 fi
25214 25158
25215 case "$enable_widgets" in 25159 case "$enable_widgets" in
25216 "" | "yes" | "athena") detect_athena=yes ;; 25160 "" | "yes" | "athena") detect_athena=yes ;;
25217 *) detect_athena=no ;; 25161 *) detect_athena=no ;;
25220 case "$enable_dialogs" in 25164 case "$enable_dialogs" in
25221 "" | "yes" | "athena") detect_athena=yes ;; 25165 "" | "yes" | "athena") detect_athena=yes ;;
25222 esac 25166 esac
25223 25167
25224 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then 25168 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then
25225 { echo "$as_me:$LINENO: checking for the Athena widgets..." >&5 25169 echo "$as_me:$LINENO: checking for the Athena widgets" >&5
25226 echo "$as_me: checking for the Athena widgets..." >&6;} 25170 echo $ECHO_N "checking for the Athena widgets... $ECHO_C" >&6
25171 echo "$as_me:$LINENO: result: " >&5
25172 echo "${ECHO_T}" >&6
25227 25173
25228 case "$with_athena" in 25174 case "$with_athena" in
25229 "xaw" | "") athena_variant=Xaw athena_3d=no ;; 25175 "xaw" | "") athena_variant=Xaw athena_3d=no ;;
25230 "3d") athena_variant=Xaw3d athena_3d=yes ;; 25176 "3d") athena_variant=Xaw3d athena_3d=yes ;;
25231 "next") athena_variant=neXtaw athena_3d=yes ;; 25177 "next") athena_variant=neXtaw athena_3d=yes ;;
27225 27171
27226 canna_libs= 27172 canna_libs=
27227 wnn_libs= 27173 wnn_libs=
27228 27174
27229 if test "$enable_mule" = "yes" ; then 27175 if test "$enable_mule" = "yes" ; then
27230 { echo "$as_me:$LINENO: checking for Mule-related features..." >&5 27176 echo "$as_me:$LINENO: checking for Mule-related features" >&5
27231 echo "$as_me: checking for Mule-related features..." >&6;} 27177 echo $ECHO_N "checking for Mule-related features... $ECHO_C" >&6
27232 cat >>confdefs.h <<\_ACEOF 27178 cat >>confdefs.h <<\_ACEOF
27233 #define MULE 1 27179 #define MULE 1
27234 _ACEOF 27180 _ACEOF
27235 27181
27236 27182
27457 LIBS="-lintl $LIBS" 27403 LIBS="-lintl $LIBS"
27458 27404
27459 fi 27405 fi
27460 27406
27461 27407
27462 { echo "$as_me:$LINENO: checking for Mule input methods..." >&5 27408 echo "$as_me:$LINENO: checking for Mule input methods" >&5
27463 echo "$as_me: checking for Mule input methods..." >&6;} 27409 echo $ECHO_N "checking for Mule input methods... $ECHO_C" >&6
27464 case "$with_xim" in "" | "yes" ) 27410 case "$with_xim" in "" | "yes" )
27465 { echo "$as_me:$LINENO: checking for XIM..." >&5 27411 echo "$as_me:$LINENO: checking for XIM" >&5
27466 echo "$as_me: checking for XIM..." >&6;} 27412 echo $ECHO_N "checking for XIM... $ECHO_C" >&6
27467 echo "$as_me:$LINENO: checking for XOpenIM in -lX11" >&5 27413 echo "$as_me:$LINENO: checking for XOpenIM in -lX11" >&5
27468 echo $ECHO_N "checking for XOpenIM in -lX11... $ECHO_C" >&6 27414 echo $ECHO_N "checking for XOpenIM in -lX11... $ECHO_C" >&6
27469 if test "${ac_cv_lib_X11_XOpenIM+set}" = set; then 27415 if test "${ac_cv_lib_X11_XOpenIM+set}" = set; then
27470 echo $ECHO_N "(cached) $ECHO_C" >&6 27416 echo $ECHO_N "(cached) $ECHO_C" >&6
27471 else 27417 else
27702 with_xfs=no 27648 with_xfs=no
27703 fi 27649 fi
27704 fi 27650 fi
27705 27651
27706 if test "$with_xfs" = "yes" ; then 27652 if test "$with_xfs" = "yes" ; then
27707 { echo "$as_me:$LINENO: checking for XFontSet..." >&5 27653 echo "$as_me:$LINENO: checking for XFontSet" >&5
27708 echo "$as_me: checking for XFontSet..." >&6;} 27654 echo $ECHO_N "checking for XFontSet... $ECHO_C" >&6
27709 echo "$as_me:$LINENO: checking for XmbDrawString in -lX11" >&5 27655 echo "$as_me:$LINENO: checking for XmbDrawString in -lX11" >&5
27710 echo $ECHO_N "checking for XmbDrawString in -lX11... $ECHO_C" >&6 27656 echo $ECHO_N "checking for XmbDrawString in -lX11... $ECHO_C" >&6
27711 if test "${ac_cv_lib_X11_XmbDrawString+set}" = set; then 27657 if test "${ac_cv_lib_X11_XmbDrawString+set}" = set; then
27712 echo $ECHO_N "(cached) $ECHO_C" >&6 27658 echo $ECHO_N "(cached) $ECHO_C" >&6
27713 else 27659 else
32370 /* confdefs.h. */ 32316 /* confdefs.h. */
32371 _ACEOF 32317 _ACEOF
32372 cat confdefs.h >>conftest.$ac_ext 32318 cat confdefs.h >>conftest.$ac_ext
32373 cat >>conftest.$ac_ext <<_ACEOF 32319 cat >>conftest.$ac_ext <<_ACEOF
32374 /* end confdefs.h. */ 32320 /* end confdefs.h. */
32375
32376 int
32377 main ()
32378 {
32379 int i; __typeof__(i) j; 32321 int i; __typeof__(i) j;
32380 ;
32381 return 0;
32382 }
32383 _ACEOF 32322 _ACEOF
32384 rm -f conftest.$ac_objext 32323 rm -f conftest.$ac_objext
32385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 32324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32386 (eval $ac_compile) 2>conftest.er1 32325 (eval $ac_compile) 2>conftest.er1
32387 ac_status=$? 32326 ac_status=$?
32412 /* confdefs.h. */ 32351 /* confdefs.h. */
32413 _ACEOF 32352 _ACEOF
32414 cat confdefs.h >>conftest.$ac_ext 32353 cat confdefs.h >>conftest.$ac_ext
32415 cat >>conftest.$ac_ext <<_ACEOF 32354 cat >>conftest.$ac_ext <<_ACEOF
32416 /* end confdefs.h. */ 32355 /* end confdefs.h. */
32417
32418 int
32419 main ()
32420 {
32421 int i; typeof(i) j; 32356 int i; typeof(i) j;
32422 ;
32423 return 0;
32424 }
32425 _ACEOF 32357 _ACEOF
32426 rm -f conftest.$ac_objext 32358 rm -f conftest.$ac_objext
32427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 32359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32428 (eval $ac_compile) 2>conftest.er1 32360 (eval $ac_compile) 2>conftest.er1
32429 ac_status=$? 32361 ac_status=$?
34026 33958
34027 cat >>confdefs.h <<\_ACEOF 33959 cat >>confdefs.h <<\_ACEOF
34028 #define HAVE_SOCKETS 1 33960 #define HAVE_SOCKETS 1
34029 _ACEOF 33961 _ACEOF
34030 33962
34031 echo "$as_me:$LINENO: checking \"for sun_len member in struct sockaddr_un\"" >&5 33963 echo "$as_me:$LINENO: checking for sun_len member in struct sockaddr_un" >&5
34032 echo $ECHO_N "checking \"for sun_len member in struct sockaddr_un\"... $ECHO_C" >&6 33964 echo $ECHO_N "checking for sun_len member in struct sockaddr_un... $ECHO_C" >&6
34033 cat >conftest.$ac_ext <<_ACEOF 33965 cat >conftest.$ac_ext <<_ACEOF
34034 /* confdefs.h. */ 33966 /* confdefs.h. */
34035 _ACEOF 33967 _ACEOF
34036 cat confdefs.h >>conftest.$ac_ext 33968 cat confdefs.h >>conftest.$ac_ext
34037 cat >>conftest.$ac_ext <<_ACEOF 33969 cat >>conftest.$ac_ext <<_ACEOF
34083 echo "$as_me:$LINENO: result: no" >&5 34015 echo "$as_me:$LINENO: result: no" >&5
34084 echo "${ECHO_T}no" >&6 34016 echo "${ECHO_T}no" >&6
34085 fi 34017 fi
34086 rm -f conftest.err conftest.$ac_objext \ 34018 rm -f conftest.err conftest.$ac_objext \
34087 conftest$ac_exeext conftest.$ac_ext 34019 conftest$ac_exeext conftest.$ac_ext
34088 echo "$as_me:$LINENO: checking \"for ip_mreq struct in netinet/in.h\"" >&5 34020 echo "$as_me:$LINENO: checking for ip_mreq struct in netinet/in.h" >&5
34089 echo $ECHO_N "checking \"for ip_mreq struct in netinet/in.h\"... $ECHO_C" >&6 34021 echo $ECHO_N "checking for ip_mreq struct in netinet/in.h... $ECHO_C" >&6
34090 cat >conftest.$ac_ext <<_ACEOF 34022 cat >conftest.$ac_ext <<_ACEOF
34091 /* confdefs.h. */ 34023 /* confdefs.h. */
34092 _ACEOF 34024 _ACEOF
34093 cat confdefs.h >>conftest.$ac_ext 34025 cat confdefs.h >>conftest.$ac_ext
34094 cat >>conftest.$ac_ext <<_ACEOF 34026 cat >>conftest.$ac_ext <<_ACEOF
34968 34900
34969 fi 34901 fi
34970 34902
34971 34903
34972 34904
34973 { echo "$as_me:$LINENO: checking for sound support..." >&5 34905 echo "$as_me:$LINENO: checking for sound support" >&5
34974 echo "$as_me: checking for sound support..." >&6;} 34906 echo $ECHO_N "checking for sound support... $ECHO_C" >&6
34907 echo "$as_me:$LINENO: result: " >&5
34908 echo "${ECHO_T}" >&6
34975 34909
34976 test -n "$with_native_sound_lib" && enable_sound_native=yes 34910 test -n "$with_native_sound_lib" && enable_sound_native=yes
34977 34911
34978 if test "$enable_sound_native" != "no"; then 34912 if test "$enable_sound_native" != "no"; then
34979 if test -n "$with_native_sound_lib"; then 34913 if test -n "$with_native_sound_lib"; then
36221 36155
36222 36156
36223 test -z "$with_tty" && with_tty=yes 36157 test -z "$with_tty" && with_tty=yes
36224 36158
36225 if test "$with_tty" = "yes" ; then 36159 if test "$with_tty" = "yes" ; then
36226 { echo "$as_me:$LINENO: checking for TTY-related features..." >&5 36160 echo "$as_me:$LINENO: checking for TTY-related features" >&5
36227 echo "$as_me: checking for TTY-related features..." >&6;} 36161 echo $ECHO_N "checking for TTY-related features... $ECHO_C" >&6
36162 echo "$as_me:$LINENO: result: " >&5
36163 echo "${ECHO_T}" >&6
36228 cat >>confdefs.h <<\_ACEOF 36164 cat >>confdefs.h <<\_ACEOF
36229 #define HAVE_TTY 1 36165 #define HAVE_TTY 1
36230 _ACEOF 36166 _ACEOF
36231 36167
36232 36168
37219 eval "with_${feature}=no" 37155 eval "with_${feature}=no"
37220 done 37156 done
37221 fi 37157 fi
37222 37158
37223 test "$enable_database_gdbm $enable_database_dbm $enable_database_berkdb" \ 37159 test "$enable_database_gdbm $enable_database_dbm $enable_database_berkdb" \
37224 != "no no no" && { echo "$as_me:$LINENO: checking for database support..." >&5 37160 != "no no no" && echo "$as_me:$LINENO: checking for database support" >&5
37225 echo "$as_me: checking for database support..." >&6;} 37161 echo $ECHO_N "checking for database support... $ECHO_C" >&6 && \
37162 echo "$as_me:$LINENO: result: " >&5
37163 echo "${ECHO_T}" >&6
37226 37164
37227 if test "$enable_database_gdbm $enable_database_dbm" != "no no"; then 37165 if test "$enable_database_gdbm $enable_database_dbm" != "no no"; then
37228 if test "${ac_cv_header_ndbm_h+set}" = set; then 37166 if test "${ac_cv_header_ndbm_h+set}" = set; then
37229 echo "$as_me:$LINENO: checking for ndbm.h" >&5 37167 echo "$as_me:$LINENO: checking for ndbm.h" >&5
37230 echo $ECHO_N "checking for ndbm.h... $ECHO_C" >&6 37168 echo $ECHO_N "checking for ndbm.h... $ECHO_C" >&6
37657 #endif 37595 #endif
37658 #endif 37596 #endif
37659 #endif 37597 #endif
37660 #include <$header> 37598 #include <$header>
37661 37599
37662 int
37663 main ()
37664 {
37665
37666 ;
37667 return 0;
37668 }
37669 _ACEOF 37600 _ACEOF
37670 rm -f conftest.$ac_objext 37601 rm -f conftest.$ac_objext
37671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 37602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37672 (eval $ac_compile) 2>conftest.er1 37603 (eval $ac_compile) 2>conftest.er1
37673 ac_status=$? 37604 ac_status=$?