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 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 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='' |
ac_subst_files='' |
315 |
|
|
316 |
# Initialize some variables set by options. |
# Initialize some variables set by options. |
4278 |
|
|
4279 |
|
|
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 |
|
|
4355 |
#### Extract some information from the operating system and machine files. |
#### Extract some information from the operating system and machine files. |
4356 |
|
|
4357 |
{ echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out |
{ echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out |
13351 |
|
|
13352 |
|
|
13353 |
|
|
|
|
|
13354 |
for ac_func in gethostname getdomainname dup2 \ |
for ac_func in gethostname getdomainname dup2 \ |
13355 |
rename closedir mkdir rmdir sysinfo \ |
rename closedir mkdir rmdir sysinfo \ |
13356 |
random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ |
random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ |
13359 |
__fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ |
__fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ |
13360 |
sendto recvfrom getsockopt setsockopt getsockname getpeername \ |
sendto recvfrom getsockopt setsockopt getsockname getpeername \ |
13361 |
gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \ |
gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \ |
13362 |
memset memcmp memmove difftime memcpy mempcpy mblen mbrlen posix_memalign |
memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign |
13363 |
do |
do |
13364 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13365 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
22075 |
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
22076 |
s,@INSTALL_INFO@,$INSTALL_INFO,;t t |
s,@INSTALL_INFO@,$INSTALL_INFO,;t t |
22077 |
s,@EGREP@,$EGREP,;t t |
s,@EGREP@,$EGREP,;t t |
22078 |
|
s,@SETARCH@,$SETARCH,;t t |
22079 |
s,@LIBSOUND@,$LIBSOUND,;t t |
s,@LIBSOUND@,$LIBSOUND,;t t |
22080 |
s,@SET_MAKE@,$SET_MAKE,;t t |
s,@SET_MAKE@,$SET_MAKE,;t t |
22081 |
s,@PKG_CONFIG@,$PKG_CONFIG,;t t |
s,@PKG_CONFIG@,$PKG_CONFIG,;t t |