Mercurial > hg > xemacs-beta
diff 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 |
line wrap: on
line diff
--- a/configure Mon Mar 27 21:51:28 2006 +0000 +++ b/configure Tue Mar 28 15:55:52 2006 +0000 @@ -9025,14 +9025,7 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -int -main () -{ void *x = alloca(4); - ; - return 0; -} _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 @@ -9070,14 +9063,7 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -int -main () -{ void *x = alloca(4); - ; - return 0; -} _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 @@ -9728,8 +9714,8 @@ fi if test "$add_runtime_path" = "yes"; then - echo "$as_me:$LINENO: checking \"for runtime libraries flag\"" >&5 -echo $ECHO_N "checking \"for runtime libraries flag\"... $ECHO_C" >&6 + echo "$as_me:$LINENO: checking for runtime libraries flag" >&5 +echo $ECHO_N "checking for runtime libraries flag... $ECHO_C" >&6 case "$opsys" in sol2 ) dash_r="-R" ;; decosf* | linux* | irix*) dash_r="-rpath " ;; @@ -9750,22 +9736,7 @@ shift done fi - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext + rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? @@ -9794,14 +9765,14 @@ fi rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext xe_check_libs="" test -n "$dash_r" && break done ;; esac if test -n "$dash_r"; - then echo "$as_me:$LINENO: result: "\"${dash_r}\""" >&5 -echo "${ECHO_T}"\"${dash_r}\""" >&6 + then echo "$as_me:$LINENO: result: \"${dash_r}\"" >&5 +echo "${ECHO_T}\"${dash_r}\"" >&6 else echo "$as_me:$LINENO: result: NONE" >&5 echo "${ECHO_T}NONE" >&6 fi @@ -10524,9 +10495,7 @@ - - -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 +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 do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then @@ -11665,13 +11634,6 @@ #include <sys/types.h> intptr_t x; -int -main () -{ - - ; - return 0; -} _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 @@ -11723,13 +11685,6 @@ #include <sys/socket.h> socklen_t x; -int -main () -{ - - ; - return 0; -} _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 @@ -11770,13 +11725,6 @@ #include <sys/socket.h> int accept (int, struct sockaddr *, size_t *); -int -main () -{ - - ; - return 0; -} _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 @@ -15374,8 +15322,10 @@ done -{ echo "$as_me:$LINENO: checking type of mail spool file locking..." >&5 -echo "$as_me: checking type of mail spool file locking..." >&6;} +echo "$as_me:$LINENO: checking type of mail spool file locking" >&5 +echo $ECHO_N "checking type of mail spool file locking... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: " >&5 +echo "${ECHO_T}" >&6 for ac_func in lockf flock @@ -15627,8 +15577,10 @@ fi -{ echo "$as_me:$LINENO: checking for specified window system..." >&5 -echo "$as_me: checking for specified window system..." >&6;} +echo "$as_me:$LINENO: checking for specified window system" >&5 +echo $ECHO_N "checking for specified window system... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: " >&5 +echo "${ECHO_T}" >&6 GNOME_CONFIG=no @@ -18118,8 +18070,10 @@ _ACEOF - { echo "$as_me:$LINENO: checking for X defines extracted by xmkmf..." >&5 -echo "$as_me: checking for X defines extracted by xmkmf..." >&6;} + echo "$as_me:$LINENO: checking for X defines extracted by xmkmf" >&5 +echo $ECHO_N "checking for X defines extracted by xmkmf... $ECHO_C" >&6 + echo "$as_me:$LINENO: result: " >&5 +echo "${ECHO_T}" >&6 rm -fr conftestdir if mkdir conftestdir; then cd conftestdir @@ -19014,13 +18968,6 @@ extern Bool XRegisterIMInstantiateCallback( Display*, struct _XrmHashBucketRec*, char*, char*, XIMProc, XPointer*); -int -main () -{ - - ; - return 0; -} _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 @@ -19219,8 +19166,8 @@ if test "$with_xft_emacs" = "yes"; then - { echo "$as_me:$LINENO: checking for Xrender, fontconfig, and Xft..." >&5 -echo "$as_me: checking for Xrender, fontconfig, and Xft..." >&6;} + echo "$as_me:$LINENO: checking for Xrender, fontconfig, and Xft" >&5 +echo $ECHO_N "checking for Xrender, fontconfig, and Xft... $ECHO_C" >&6 xft_includes_found=no for ac_header in freetype/config/ftheader.h @@ -19374,8 +19321,8 @@ "/usr/include/freetype2" do if test -d $freetype_include_top; then - { echo "$as_me:$LINENO: checking in ${freetype_include_top}/freetype2..." >&5 -echo "$as_me: checking in ${freetype_include_top}/freetype2..." >&6;} + echo "$as_me:$LINENO: checking in ${freetype_include_top}/freetype2" >&5 +echo $ECHO_N "checking in ${freetype_include_top}/freetype2... $ECHO_C" >&6 unset "$as_ac_Header" save_c_switch_site="$c_switch_site" c_switch_site="$c_switch_site -I${freetype_include_top}" @@ -19760,8 +19707,10 @@ fi if test "$with_msw" != "no"; then - { echo "$as_me:$LINENO: checking for MS-Windows..." >&5 -echo "$as_me: checking for MS-Windows..." >&6;} + echo "$as_me:$LINENO: checking for MS-Windows" >&5 +echo $ECHO_N "checking for MS-Windows... $ECHO_C" >&6 + echo "$as_me:$LINENO: result: " >&5 +echo "${ECHO_T}" >&6 echo "$as_me:$LINENO: checking for main in -lgdi32" >&5 echo $ECHO_N "checking for main in -lgdi32... $ECHO_C" >&6 if test "${ac_cv_lib_gdi32_main+set}" = set; then @@ -20016,13 +19965,18 @@ test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" esac -{ echo "$as_me:$LINENO: checking for WM_COMMAND option..." >&5 -echo "$as_me: checking for WM_COMMAND option..." >&6;} +echo "$as_me:$LINENO: checking for WM_COMMAND option" >&5 +echo $ECHO_N "checking for WM_COMMAND option... $ECHO_C" >&6 if test "$with_wmcommand" != "no"; then cat >>confdefs.h <<\_ACEOF #define HAVE_WMCOMMAND 1 _ACEOF + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no @@ -20265,8 +20219,10 @@ if test "$enable_modules" != "no"; then - { echo "$as_me:$LINENO: checking for module support..." >&5 -echo "$as_me: checking for module support..." >&6;} + echo "$as_me:$LINENO: checking for module support" >&5 +echo $ECHO_N "checking for module support... $ECHO_C" >&6 + echo "$as_me:$LINENO: result: " >&5 +echo "${ECHO_T}" >&6 case "$opsys" in mingw* | cygwin* ) have_dl=yes ;; @@ -20428,7 +20384,7 @@ int main () { - dlopen ("", 0); +dlopen ("", 0); ; return 0; } @@ -20478,7 +20434,7 @@ int main () { - dlopen ("", 0); +dlopen ("", 0); ; return 0; } @@ -20527,7 +20483,7 @@ int main () { - dlopen ("", 0); +dlopen ("", 0); ; return 0; } @@ -20731,7 +20687,7 @@ int main () { - shl_load ("", 0, 0); +shl_load ("", 0, 0); ; return 0; } @@ -20781,7 +20737,7 @@ int main () { - shl_load ("", 0, 0); +shl_load ("", 0, 0); ; return 0; } @@ -20983,7 +20939,7 @@ int main () { - lt_dlinit (); +lt_dlinit (); ; return 0; } @@ -21046,8 +21002,10 @@ xehost=$ac_cv_build xealias=$ac_cv_build_alias -{ echo "$as_me:$LINENO: checking how to build dynamic libraries for ${xehost}..." >&5 -echo "$as_me: checking how to build dynamic libraries for ${xehost}..." >&6;} +echo "$as_me:$LINENO: checking how to build dynamic libraries for ${xehost}" >&5 +echo $ECHO_N "checking how to build dynamic libraries for ${xehost}... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: " >&5 +echo "${ECHO_T}" >&6 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. case "$xehost" in *-*-linux-gnu*) ;; @@ -21215,14 +21173,7 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -int -main () -{ int x=0; - ; - return 0; -} _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 @@ -21343,14 +21294,7 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -int -main () -{ int x=0; - ; - return 0; -} _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 @@ -22384,8 +22328,10 @@ fi fi -{ echo "$as_me:$LINENO: checking for LDAP..." >&5 -echo "$as_me: checking for LDAP..." >&6;} +echo "$as_me:$LINENO: checking for LDAP" >&5 +echo $ECHO_N "checking for LDAP... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: " >&5 +echo "${ECHO_T}" >&6 ldap_libs= test -z "$with_ldap" && { if test "${ac_cv_header_ldap_h+set}" = set; then echo "$as_me:$LINENO: checking for ldap.h" >&5 @@ -23149,8 +23095,10 @@ postgresql_libs= if test "$with_postgresql" != "no"; then - { echo "$as_me:$LINENO: checking for PostgreSQL..." >&5 -echo "$as_me: checking for PostgreSQL..." >&6;} + echo "$as_me:$LINENO: checking for PostgreSQL" >&5 +echo $ECHO_N "checking for PostgreSQL... $ECHO_C" >&6 + echo "$as_me:$LINENO: result: " >&5 +echo "${ECHO_T}" >&6 for header_dir in "" "pgsql/" "postgresql/"; do as_ac_Header=`echo "ac_cv_header_${header_dir}libpq-fe.h" | $as_tr_sh` @@ -23546,8 +23494,10 @@ if test "$window_system" != "none"; then - { echo "$as_me:$LINENO: checking for graphics libraries..." >&5 -echo "$as_me: checking for graphics libraries..." >&6;} + echo "$as_me:$LINENO: checking for graphics libraries" >&5 +echo $ECHO_N "checking for graphics libraries... $ECHO_C" >&6 + echo "$as_me:$LINENO: result: " >&5 +echo "${ECHO_T}" >&6 libpath_xpm= incpath_xpm= @@ -23656,14 +23606,7 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -int -main () -{ XpmCreatePixmapFromData() - ; - return 0; -} _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 @@ -25206,10 +25149,11 @@ fi - if test "$with_x11" = "yes"; then - { echo "$as_me:$LINENO: checking for X11 graphics libraries..." >&5 -echo "$as_me: checking for X11 graphics libraries..." >&6;} + echo "$as_me:$LINENO: checking for X11 graphics libraries" >&5 +echo $ECHO_N "checking for X11 graphics libraries... $ECHO_C" >&6 + echo "$as_me:$LINENO: result: " >&5 +echo "${ECHO_T}" >&6 fi case "$enable_widgets" in @@ -25222,8 +25166,10 @@ esac if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then - { echo "$as_me:$LINENO: checking for the Athena widgets..." >&5 -echo "$as_me: checking for the Athena widgets..." >&6;} + echo "$as_me:$LINENO: checking for the Athena widgets" >&5 +echo $ECHO_N "checking for the Athena widgets... $ECHO_C" >&6 + echo "$as_me:$LINENO: result: " >&5 +echo "${ECHO_T}" >&6 case "$with_athena" in "xaw" | "") athena_variant=Xaw athena_3d=no ;; @@ -27227,8 +27173,8 @@ wnn_libs= if test "$enable_mule" = "yes" ; then - { echo "$as_me:$LINENO: checking for Mule-related features..." >&5 -echo "$as_me: checking for Mule-related features..." >&6;} + echo "$as_me:$LINENO: checking for Mule-related features" >&5 +echo $ECHO_N "checking for Mule-related features... $ECHO_C" >&6 cat >>confdefs.h <<\_ACEOF #define MULE 1 _ACEOF @@ -27459,11 +27405,11 @@ fi - { echo "$as_me:$LINENO: checking for Mule input methods..." >&5 -echo "$as_me: checking for Mule input methods..." >&6;} + echo "$as_me:$LINENO: checking for Mule input methods" >&5 +echo $ECHO_N "checking for Mule input methods... $ECHO_C" >&6 case "$with_xim" in "" | "yes" ) - { echo "$as_me:$LINENO: checking for XIM..." >&5 -echo "$as_me: checking for XIM..." >&6;} + echo "$as_me:$LINENO: checking for XIM" >&5 +echo $ECHO_N "checking for XIM... $ECHO_C" >&6 echo "$as_me:$LINENO: checking for XOpenIM in -lX11" >&5 echo $ECHO_N "checking for XOpenIM in -lX11... $ECHO_C" >&6 if test "${ac_cv_lib_X11_XOpenIM+set}" = set; then @@ -27704,8 +27650,8 @@ fi if test "$with_xfs" = "yes" ; then - { echo "$as_me:$LINENO: checking for XFontSet..." >&5 -echo "$as_me: checking for XFontSet..." >&6;} + echo "$as_me:$LINENO: checking for XFontSet" >&5 +echo $ECHO_N "checking for XFontSet... $ECHO_C" >&6 echo "$as_me:$LINENO: checking for XmbDrawString in -lX11" >&5 echo $ECHO_N "checking for XmbDrawString in -lX11... $ECHO_C" >&6 if test "${ac_cv_lib_X11_XmbDrawString+set}" = set; then @@ -32372,14 +32318,7 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -int -main () -{ int i; __typeof__(i) j; - ; - return 0; -} _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 @@ -32414,14 +32353,7 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -int -main () -{ int i; typeof(i) j; - ; - return 0; -} _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 @@ -34028,8 +33960,8 @@ #define HAVE_SOCKETS 1 _ACEOF - echo "$as_me:$LINENO: checking \"for sun_len member in struct sockaddr_un\"" >&5 -echo $ECHO_N "checking \"for sun_len member in struct sockaddr_un\"... $ECHO_C" >&6 + echo "$as_me:$LINENO: checking for sun_len member in struct sockaddr_un" >&5 +echo $ECHO_N "checking for sun_len member in struct sockaddr_un... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -34085,8 +34017,8 @@ fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - echo "$as_me:$LINENO: checking \"for ip_mreq struct in netinet/in.h\"" >&5 -echo $ECHO_N "checking \"for ip_mreq struct in netinet/in.h\"... $ECHO_C" >&6 + echo "$as_me:$LINENO: checking for ip_mreq struct in netinet/in.h" >&5 +echo $ECHO_N "checking for ip_mreq struct in netinet/in.h... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -34970,8 +34902,10 @@ -{ echo "$as_me:$LINENO: checking for sound support..." >&5 -echo "$as_me: checking for sound support..." >&6;} +echo "$as_me:$LINENO: checking for sound support" >&5 +echo $ECHO_N "checking for sound support... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: " >&5 +echo "${ECHO_T}" >&6 test -n "$with_native_sound_lib" && enable_sound_native=yes @@ -36223,8 +36157,10 @@ test -z "$with_tty" && with_tty=yes if test "$with_tty" = "yes" ; then - { echo "$as_me:$LINENO: checking for TTY-related features..." >&5 -echo "$as_me: checking for TTY-related features..." >&6;} + echo "$as_me:$LINENO: checking for TTY-related features" >&5 +echo $ECHO_N "checking for TTY-related features... $ECHO_C" >&6 + echo "$as_me:$LINENO: result: " >&5 +echo "${ECHO_T}" >&6 cat >>confdefs.h <<\_ACEOF #define HAVE_TTY 1 _ACEOF @@ -37221,8 +37157,10 @@ fi test "$enable_database_gdbm $enable_database_dbm $enable_database_berkdb" \ - != "no no no" && { echo "$as_me:$LINENO: checking for database support..." >&5 -echo "$as_me: checking for database support..." >&6;} + != "no no no" && echo "$as_me:$LINENO: checking for database support" >&5 +echo $ECHO_N "checking for database support... $ECHO_C" >&6 && \ + echo "$as_me:$LINENO: result: " >&5 +echo "${ECHO_T}" >&6 if test "$enable_database_gdbm $enable_database_dbm" != "no no"; then if test "${ac_cv_header_ndbm_h+set}" = set; then @@ -37659,13 +37597,6 @@ #endif #include <$header> -int -main () -{ - - ; - return 0; -} _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5