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.
1022
2007/
06
/
17
02
:
40
:
44
mast
Exp $")
+
AC_REVISION("$Id: configure.in,v 1.
1023
2007/
10
/
03
09
:
21
:
59
grubba
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:1513:
dnl top of freeze_node in src/las.c. /mast dnl AC_ARG_WITH(shared-nodes, dnl MY_DESCR([--without-shared-nodes], dnl [disable the SHARED_NODES mode of the optimizer]), dnl [],[with_shared_nodes=yes]) AC_ARG_WITH(typechecker, MY_DESCR([--with-typechecker=new|old],[])) AC_ARG_WITH(type-checker, MY_DESCR([--with-type-checker=new|old], [select type-checker behaviour]), [],[with_type_checker="${with_typechecker:-old}"])
-
if test "x$with_type_checker" = "
xnew
"; then
-
PIKE_MSG_WARN([
New
type checker
enabled (EXPERIMENTAL)
.])
+
if test "x$with_type_checker" = "
xold
"; then
:;
+
PIKE_MSG_WARN([
Old
type checker
selected
.])
+
else
AC_DEFINE(NEW_ARG_CHECK) fi AC_ARG_WITH(computed-goto, MY_DESCR([--with-computed-goto], [enable use of gcc-style computed goto (EXPERIMENTAL).]), [], [with_computed_goto=no]) AC_ARG_WITH(machine-code, MY_DESCR([--without-machine-code], [do not try to use of machine code on supported architectures.]), [], [
pike.git/src/configure.in:1553:
]) AC_ARG_WITH(small-eval-instruction, MY_DESCR([--with-small-eval-instruction], [attempt to reduce the size of eval_instruction (EXPERIMENTAL).]), [ AC_DEFINE(PIKE_SMALL_EVAL_INSTRUCTION) with_machine_code="no" with_computed_goto="no" ]) MY_AC_ARG_WITH(keypair-loop,
-
MY_DESCR([--
with
-keypair-loop],
-
[enable use of keypair mapping loop method (
EXPERIMENTAL
)
.
]
)
,
+
MY_DESCR([--
without
-keypair-loop],
+
[enable use of keypair mapping loop method
.]),
+
[AC_DEFINE
(
PIKE_MAPPING_KEYPAIR_LOOP
)],
[],
[AC_DEFINE(PIKE_MAPPING_KEYPAIR_LOOP)]) MY_AC_ARG_WITH(portable-bytecode, MY_DESCR([--without-portable-bytecode], [disable portable bytecode support.]), [AC_DEFINE(PIKE_PORTABLE_BYTECODE)],[], [AC_DEFINE(PIKE_PORTABLE_BYTECODE)]) MY_AC_ARG_WITH(lock, MY_DESCR([--without-lock],
pike.git/src/configure.in:2301:
############################################################################# # 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.
1022
2007/
06
/
17
02
:
40
:
44
mast
Exp $.
+
# Automatically generated by $Id: configure.in,v 1.
1023
2007/
10
/
03
09
:
21
:
59
grubba
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:2339:
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.
1022
2007/
06
/
17
02
:
40
:
44
mast
Exp $.
+
# Automatically generated by $Id: configure.in,v 1.
1023
2007/
10
/
03
09
:
21
:
59
grubba
Exp $.
# POSIX-version. Do NOT edit. cat EOF fi else # rntcl-style cat <<\EOF #!/bin/sh
-
# Automatically generated by $Id: configure.in,v 1.
1022
2007/
06
/
17
02
:
40
:
44
mast
Exp $.
+
# Automatically generated by $Id: configure.in,v 1.
1023
2007/
10
/
03
09
:
21
:
59
grubba
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:7524:
Darwin*) CCSHARED="-fPIC" ;; IRIX*) AC_SYS_COMPILER_FLAG(-share,cc_shared,CCSHARED) ;; hp*|HP*) CCSHARED="+z"; ;; FreeBSD*) CCSHARED="-fpic";; SCO_SV*) CCSHARED="-KPIC -dy -Bdynamic";; UnixWare*|OpenUNIX*) CCSHARED="-KPIC -dy -Bdynamic";;
-
Solaris*) CCSHARED="-KPIC -Bdynamic";;
+
Solaris*)
+
CCSHARED="-KPIC -Bdynamic"
+
# Note: The Image module fails with
+
# Failed to load library: ld.so.1: pike: fatal:
+
# relocation error: R_AMD64_PC32: file Image.so:
+
# symbol really_free_svalue: value 0x28001ca5b2d does not fit
+
# if the module is compiled with the default model.
+
AC_SYS_COMPILER_FLAG(-xmodel=medium, xmodel_medium, CCSHARED)
+
;;
Windows_NT*) CCSHARED="-shared" ;; esac fi fi OLD_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $CCSHARED" AC_TRY_COMPILE([], [exit(0);], pike_cv_sys_ccshared="$CCSHARED", pike_cv_sys_ccshared='') CFLAGS="$OLD_CFLAGS" ])