pike.git
/
src
/
configure.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/configure.in:1:
-
AC_REVISION("$Id: configure.in,v 1.
963
2006/
06
/
28
22
:
33
:
48
mast Exp $")
+
AC_REVISION("$Id: configure.in,v 1.
964
2006/
07
/
01
23
:
47
:
41
mast Exp $")
AC_INIT(interpret.c) AC_CONFIG_HEADER(machine.h) rm -f config.warnings 2>/dev/null if_autoconf(2,50,[ if test "x$cache_file" = "x/dev/null"; then cache_file=./config.cache if test -r "$cache_file"; then echo "loading cache $cache_file"
pike.git/src/configure.in:654:
;; esac else pike_cv_sys_os="Not Solaris" fi fi ]) AC_MSG_RESULT($pike_cv_sys_os)
+
if test "x$pike_cv_sys_os" = xWindows_NT; then
+
PIKE_FUNCS_NEED_DECLS(yes)
+
fi
+
if test "$GCC" = "yes"; then :; else # # Special hack for HP-UX stupid cc # if test "$pike_cv_sys_os" = "HP-UX"; then AC_TRY_COMPILE([int foo(int bar);],[],[], [ OLD_CC="${CC-cc}" OLD_CFLAGS="$CFLAGS" case "/$CC" in
pike.git/src/configure.in:2244:
############################################################################# # Script to translate from POSIX paths to native paths. echo "Creating posix_to_native.sh..." if test "x$PIKE_PATH_TRANSLATE" = "x"; then if test "x$pike_cv_is_mingw" = "xyes"; then # MinGW system. cat <<\EOF #!/bin/sh
-
# Automatically generated by $Id: configure.in,v 1.
963
2006/
06
/
28
22
:
33
:
48
mast Exp $.
+
# Automatically generated by $Id: configure.in,v 1.
964
2006/
07
/
01
23
:
47
:
41
mast Exp $.
# MinGW-version. Do NOT edit. posix_name="`cat`" posix_prefix="/" native_prefix="/" case "$posix_name" in /*) ;; *) posix_name="`pwd`/$posix_name" ;; esac case "$posix_name" in EOF
pike.git/src/configure.in:2282:
cat <<\EOF esac echo "$posix_name" | \ sed -e "s,^$posix_prefix,$native_prefix," | \ sed -e 's/\/\//\//g' EOF else # Native POSIX system. cat <<\EOF #!/bin/sh
-
# Automatically generated by $Id: configure.in,v 1.
963
2006/
06
/
28
22
:
33
:
48
mast Exp $.
+
# Automatically generated by $Id: configure.in,v 1.
964
2006/
07
/
01
23
:
47
:
41
mast Exp $.
# POSIX-version. Do NOT edit. cat EOF fi else # rntcl-style cat <<\EOF #!/bin/sh
-
# Automatically generated by $Id: configure.in,v 1.
963
2006/
06
/
28
22
:
33
:
48
mast Exp $.
+
# Automatically generated by $Id: configure.in,v 1.
964
2006/
07
/
01
23
:
47
:
41
mast Exp $.
# RNTCL-version. Do NOT edit. sed -e "$PIKE_PATH_TRANSLATE" EOF fi >posix_to_native.sh chmod a+x posix_to_native.sh ############################################################################# if test ! -d modules/. ; then
pike.git/src/configure.in:2908:
]) if test "$pike_cv_function_cast" = "yes"; then AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) AC_DEFINE(NO_CAST_TO_FUN) fi #############################################################################
+
# Note: For function detection to work correctly with
+
# PIKE_FUNCS_NEED_DECLS (i.e. windows), it's necessary that
+
# AC_CHECK_HEADERS tests all potential header files for a function
+
# before AC_CHECK_FUNCS is used.
+
AC_HEADER_TIME AC_HEADER_STDC AC_CHECK_HEADERS(sys/rusage.h time.h sys/time.h sys/types.h unistd.h stdlib.h \ memory.h values.h string.h strings.h fcntl.h sys/filio.h \ sys/sockio.h crypt.h locale.h sys/select.h net/socket.h \ sys/param.h \ sys/mman.h setjmp.h sys/user.h limits.h pthread.h \ crt/signal.h sys/id.h mach-o/dyld.h sys/ptrace.h \ thread.h dlfcn.h dld.h dl.h sys/times.h sched.h \ sys/procfs.h winsock.h sys/ioct.h sys/socket.h \