comparison configure @ 57206:6e40bed9e91e

* configure.in: Check for exec-shield. * configure: Rebuild.
author Jan Djärv <jan.h.d@swipnet.se>
date Fri, 24 Sep 2004 07:18:15 +0000
parents a3e9f5b44041
children 4408561037cf 0b158db81c28
comparison
equal deleted inserted replaced
57205:fe81978d2a41 57206:6e40bed9e91e
308 #endif 308 #endif
309 #if HAVE_UNISTD_H 309 #if HAVE_UNISTD_H
310 # include <unistd.h> 310 # include <unistd.h>
311 #endif" 311 #endif"
312 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 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' 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 SETARCH 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='' 314 ac_subst_files=''
315 315
316 # Initialize some variables set by options. 316 # Initialize some variables set by options.
317 ac_init_help= 317 ac_init_help=
318 ac_init_version=false 318 ac_init_version=false
4276 fi 4276 fi
4277 rm -f conftest* 4277 rm -f conftest*
4278 4278
4279 4279
4280 4280
4281 echo "$as_me:$LINENO: checking for /proc/sys/kernel/exec-shield" >&5
4282 echo $ECHO_N "checking for /proc/sys/kernel/exec-shield... $ECHO_C" >&6
4283 if test "${ac_cv_file__proc_sys_kernel_exec_shield+set}" = set; then
4284 echo $ECHO_N "(cached) $ECHO_C" >&6
4285 else
4286 test "$cross_compiling" = yes &&
4287 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
4288 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
4289 { (exit 1); exit 1; }; }
4290 if test -r "/proc/sys/kernel/exec-shield"; then
4291 ac_cv_file__proc_sys_kernel_exec_shield=yes
4292 else
4293 ac_cv_file__proc_sys_kernel_exec_shield=no
4294 fi
4295 fi
4296 echo "$as_me:$LINENO: result: $ac_cv_file__proc_sys_kernel_exec_shield" >&5
4297 echo "${ECHO_T}$ac_cv_file__proc_sys_kernel_exec_shield" >&6
4298 if test $ac_cv_file__proc_sys_kernel_exec_shield = yes; then
4299 emacs_cv_execshield=1
4300 else
4301 emacs_cv_execshield=0
4302 fi
4303
4304 if test "$emacs_cv_execshield" = 1; then
4305 # Extract the first word of "setarch", so it can be a program name with args.
4306 set dummy setarch; ac_word=$2
4307 echo "$as_me:$LINENO: checking for $ac_word" >&5
4308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4309 if test "${ac_cv_path_SETARCH+set}" = set; then
4310 echo $ECHO_N "(cached) $ECHO_C" >&6
4311 else
4312 case $SETARCH in
4313 [\\/]* | ?:[\\/]*)
4314 ac_cv_path_SETARCH="$SETARCH" # Let the user override the test with a path.
4315 ;;
4316 *)
4317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4318 for as_dir in $PATH
4319 do
4320 IFS=$as_save_IFS
4321 test -z "$as_dir" && as_dir=.
4322 for ac_exec_ext in '' $ac_executable_extensions; do
4323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4324 ac_cv_path_SETARCH="$as_dir/$ac_word$ac_exec_ext"
4325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4326 break 2
4327 fi
4328 done
4329 done
4330
4331 test -z "$ac_cv_path_SETARCH" && ac_cv_path_SETARCH="no"
4332 ;;
4333 esac
4334 fi
4335 SETARCH=$ac_cv_path_SETARCH
4336
4337 if test -n "$SETARCH"; then
4338 echo "$as_me:$LINENO: result: $SETARCH" >&5
4339 echo "${ECHO_T}$SETARCH" >&6
4340 else
4341 echo "$as_me:$LINENO: result: no" >&5
4342 echo "${ECHO_T}no" >&6
4343 fi
4344
4345
4346 if test "$setarch" != no; then
4347
4348 cat >>confdefs.h <<\_ACEOF
4349 #define HAVE_EXECSHIELD 1
4350 _ACEOF
4351
4352 fi
4353 fi
4354
4281 #### Extract some information from the operating system and machine files. 4355 #### Extract some information from the operating system and machine files.
4282 4356
4283 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out 4357 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out
4284 - which libraries the lib-src programs will want, and 4358 - which libraries the lib-src programs will want, and
4285 - whether the GNU malloc routines are usable..." >&5 4359 - whether the GNU malloc routines are usable..." >&5
13275 13349
13276 13350
13277 13351
13278 13352
13279 13353
13280
13281 for ac_func in gethostname getdomainname dup2 \ 13354 for ac_func in gethostname getdomainname dup2 \
13282 rename closedir mkdir rmdir sysinfo \ 13355 rename closedir mkdir rmdir sysinfo \
13283 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ 13356 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
13284 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ 13357 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
13285 utimes setrlimit setpgid getcwd getwd shutdown getaddrinfo \ 13358 utimes setrlimit setpgid getcwd getwd shutdown getaddrinfo \
13286 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ 13359 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
13287 sendto recvfrom getsockopt setsockopt getsockname getpeername \ 13360 sendto recvfrom getsockopt setsockopt getsockname getpeername \
13288 gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \ 13361 gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \
13289 memset memcmp memmove difftime memcpy mempcpy mblen mbrlen posix_memalign 13362 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign
13290 do 13363 do
13291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 13364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13292 echo "$as_me:$LINENO: checking for $ac_func" >&5 13365 echo "$as_me:$LINENO: checking for $ac_func" >&5
13293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 13366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13294 if eval "test \"\${$as_ac_var+set}\" = set"; then 13367 if eval "test \"\${$as_ac_var+set}\" = set"; then
22000 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 22073 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22001 s,@RANLIB@,$RANLIB,;t t 22074 s,@RANLIB@,$RANLIB,;t t
22002 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 22075 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22003 s,@INSTALL_INFO@,$INSTALL_INFO,;t t 22076 s,@INSTALL_INFO@,$INSTALL_INFO,;t t
22004 s,@EGREP@,$EGREP,;t t 22077 s,@EGREP@,$EGREP,;t t
22078 s,@SETARCH@,$SETARCH,;t t
22005 s,@LIBSOUND@,$LIBSOUND,;t t 22079 s,@LIBSOUND@,$LIBSOUND,;t t
22006 s,@SET_MAKE@,$SET_MAKE,;t t 22080 s,@SET_MAKE@,$SET_MAKE,;t t
22007 s,@PKG_CONFIG@,$PKG_CONFIG,;t t 22081 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
22008 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t 22082 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
22009 s,@GTK_LIBS@,$GTK_LIBS,;t t 22083 s,@GTK_LIBS@,$GTK_LIBS,;t t