/[emacs]/emacs/configure
ViewVC logotype

Diff of /emacs/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.119.2.9 by miles, Thu Oct 14 08:50:07 2004 UTC revision 1.119.2.10 by miles, Fri Oct 22 10:13:48 2004 UTC
# Line 310  ac_includes_default="\ Line 310  ac_includes_default="\
310  # include <unistd.h>  # include <unistd.h>
311  #endif"  #endif"
312    
313  ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LN_S CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB INSTALL_INFO EGREP LIBSOUND SETARCH SET_MAKE PKG_CONFIG GTK_CFLAGS GTK_LIBS ALLOCA liblockfile LIBOBJS NEED_SETGID KMEM_GROUP GETLOADAVG_LIBS version configuration canonical srcdir lispdir locallisppath lisppath x_default_search_path etcdir archlibdir docdir bitmapdir gamedir gameuser c_switch_system c_switch_machine LD_SWITCH_X_SITE LD_SWITCH_X_SITE_AUX C_SWITCH_X_SITE X_TOOLKIT_TYPE machfile opsysfile carbon_appdir LTLIBOBJS'  ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LN_S CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB INSTALL_INFO EGREP LIBSOUND SET_MAKE PKG_CONFIG GTK_CFLAGS GTK_LIBS ALLOCA liblockfile LIBOBJS NEED_SETGID KMEM_GROUP GETLOADAVG_LIBS version configuration canonical srcdir lispdir locallisppath lisppath x_default_search_path etcdir archlibdir docdir bitmapdir gamedir gameuser c_switch_system c_switch_machine LD_SWITCH_X_SITE LD_SWITCH_X_SITE_AUX C_SWITCH_X_SITE X_TOOLKIT_TYPE machfile opsysfile carbon_appdir LTLIBOBJS'
314  ac_subst_files=''  ac_subst_files=''
315    
316  # Initialize some variables set by options.  # Initialize some variables set by options.
# Line 5440  fi Line 5440  fi
5440  done  done
5441    
5442    
5443    echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5
5444    echo $ECHO_N "checking if personality LINUX32 can be set... $ECHO_C" >&6
5445    cat >conftest.$ac_ext <<_ACEOF
5446    /* confdefs.h.  */
5447    _ACEOF
5448    cat confdefs.h >>conftest.$ac_ext
5449    cat >>conftest.$ac_ext <<_ACEOF
5450    /* end confdefs.h.  */
5451    #include <sys/personality.h>
5452    int
5453    main ()
5454    {
5455    personality (PER_LINUX32)
5456      ;
5457      return 0;
5458    }
5459    _ACEOF
5460    rm -f conftest.$ac_objext
5461    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5462      (eval $ac_compile) 2>conftest.er1
5463      ac_status=$?
5464      grep -v '^ *+' conftest.er1 >conftest.err
5465      rm -f conftest.er1
5466      cat conftest.err >&5
5467      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468      (exit $ac_status); } &&
5469             { ac_try='test -z "$ac_c_werror_flag"
5470                             || test ! -s conftest.err'
5471      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5472      (eval $ac_try) 2>&5
5473      ac_status=$?
5474      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475      (exit $ac_status); }; } &&
5476             { ac_try='test -s conftest.$ac_objext'
5477      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5478      (eval $ac_try) 2>&5
5479      ac_status=$?
5480      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481      (exit $ac_status); }; }; then
5482      emacs_cv_personality_linux32=yes
5483    else
5484      echo "$as_me: failed program was:" >&5
5485    sed 's/^/| /' conftest.$ac_ext >&5
5486    
5487    emacs_cv_personality_linux32=no
5488    fi
5489    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5490    echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5
5491    echo "${ECHO_T}$emacs_cv_personality_linux32" >&6
5492    
5493    if test $emacs_cv_personality_linux32 = yes; then
5494    
5495    cat >>confdefs.h <<\_ACEOF
5496    #define HAVE_PERSONALITY_LINUX32 1
5497    _ACEOF
5498    
5499    fi
5500    
5501    
5502  for ac_header in term.h  for ac_header in term.h
5503  do  do
5504  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
# Line 7741  _ACEOF Line 7800  _ACEOF
7800  fi  fi
7801    
7802    
 echo "$as_me:$LINENO: checking whether heap start address is randomized" >&5  
 echo $ECHO_N "checking whether heap start address is randomized... $ECHO_C" >&6  
 if test x"$ac_cv_header_unistd_h" != x && test x"$ac_cv_header_stdlib_h" != x  
 then  
   if test "$cross_compiling" = yes; then  
   emacs_cv_randomheap='assuming no'  
 else  
   cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #include <stdio.h>  
 #include <unistd.h>  
 #include <stdlib.h>  
 int main (int argc, char *argv[])  
 {  
   unsigned long old_sbrk = 0;  
   unsigned long this_sbrk = (unsigned long) sbrk(0);  
   int nr = 1;  
   if (argc != 1) {  
     old_sbrk = strtoul (argv[1], 0, 0);  
     nr = atoi (argv[2])+1;  
   }  
   if (argc == 1 || (old_sbrk == this_sbrk && nr < 3))  
   {  
     char buf1[32], buf2[32];  
     sprintf (buf1, "%lu", this_sbrk);  
     sprintf (buf2, "%d", nr);  
     execl (argv[0], argv[0], buf1, buf2, 0);  
     exit (-1);  
   }  
   exit (this_sbrk == old_sbrk);  
 }  
 _ACEOF  
 rm -f 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='./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  
   emacs_cv_randomheap=yes  
 else  
   echo "$as_me: program exited with status $ac_status" >&5  
 echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ( exit $ac_status )  
 emacs_cv_randomheap=no  
 fi  
 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  
 fi  
 else  
   emacs_cv_randomheap='assuming no'  
 fi  
 echo "$as_me:$LINENO: result: $emacs_cv_randomheap" >&5  
 echo "${ECHO_T}$emacs_cv_randomheap" >&6  
   
 if test "$emacs_cv_randomheap" = yes; then  
   # Extract the first word of "setarch", so it can be a program name with args.  
 set dummy setarch; ac_word=$2  
 echo "$as_me:$LINENO: checking for $ac_word" >&5  
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
 if test "${ac_cv_path_SETARCH+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   case $SETARCH in  
   [\\/]* | ?:[\\/]*)  
   ac_cv_path_SETARCH="$SETARCH" # Let the user override the test with a path.  
   ;;  
   *)  
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   for ac_exec_ext in '' $ac_executable_extensions; do  
   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_path_SETARCH="$as_dir/$ac_word$ac_exec_ext"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
   
   test -z "$ac_cv_path_SETARCH" && ac_cv_path_SETARCH="no"  
   ;;  
 esac  
 fi  
 SETARCH=$ac_cv_path_SETARCH  
   
 if test -n "$SETARCH"; then  
   echo "$as_me:$LINENO: result: $SETARCH" >&5  
 echo "${ECHO_T}$SETARCH" >&6  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  
   
   
   if test "$SETARCH" != no && test "$machine" = "intel386"; then  
   
 cat >>confdefs.h <<\_ACEOF  
 #define HAVE_RANDOM_HEAPSTART 1  
 _ACEOF  
   
   else  
         emacs_cv_randomheap=warn  
   fi  
 fi  
7803    
7804    
7805    
# Line 22291  s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t Line 22234  s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22234  s,@INSTALL_INFO@,$INSTALL_INFO,;t t  s,@INSTALL_INFO@,$INSTALL_INFO,;t t
22235  s,@EGREP@,$EGREP,;t t  s,@EGREP@,$EGREP,;t t
22236  s,@LIBSOUND@,$LIBSOUND,;t t  s,@LIBSOUND@,$LIBSOUND,;t t
 s,@SETARCH@,$SETARCH,;t t  
22237  s,@SET_MAKE@,$SET_MAKE,;t t  s,@SET_MAKE@,$SET_MAKE,;t t
22238  s,@PKG_CONFIG@,$PKG_CONFIG,;t t  s,@PKG_CONFIG@,$PKG_CONFIG,;t t
22239  s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t  s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t

Legend:
Removed from v.1.119.2.9  
changed lines
  Added in v.1.119.2.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26