Branch: Tag:

1996-09-22

1996-09-22 19:40:33 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

Pike

Rev: .cvsignore:1.1.1.1
Rev: README:1.1.1.1
Rev: bin/export.pike:1.1.1.1
Rev: bin/fixdepends.sh:1.1.1.1
Rev: bin/hilfe:1.1.1.1
Rev: bin/htmlify_docs.pike:1.1.1.1
Rev: bin/httpd.pike:1.1.1.1
Rev: bin/metatest:1.1.1.1
Rev: bin/mkpeep.pike:1.1.1.1
Rev: bin/rsif:1.1.1.1
Rev: doc/README:1.1.1.1
Rev: doc/builtin/_verify_internals:1.1.1.1
Rev: doc/builtin/add_constant:1.1.1.1
Rev: doc/builtin/aggregage_multiset:1.1.1.1
Rev: doc/builtin/aggregate:1.1.1.1
Rev: doc/builtin/aggregate_mapping:1.1.1.1
Rev: doc/builtin/alarm:1.1.1.1
Rev: doc/builtin/all_constants:1.1.1.1
Rev: doc/builtin/allocate:1.1.1.1
Rev: doc/builtin/arrayp:1.1.1.1
Rev: doc/builtin/backtrace:1.1.1.1
Rev: doc/builtin/call_function:1.1.1.1
Rev: doc/builtin/clone:1.1.1.1
Rev: doc/builtin/column:1.1.1.1
Rev: doc/builtin/combine_path:1.1.1.1
Rev: doc/builtin/compile_file:1.1.1.1
Rev: doc/builtin/compile_string:1.1.1.1
Rev: doc/builtin/copy_value:1.1.1.1
Rev: doc/builtin/crypt:1.1.1.1
Rev: doc/builtin/ctime:1.1.1.1
Rev: doc/builtin/destruct:1.1.1.1
Rev: doc/builtin/equal:1.1.1.1
Rev: doc/builtin/exit:1.1.1.1
Rev: doc/builtin/floatp:1.1.1.1
Rev: doc/builtin/function_name:1.1.1.1
Rev: doc/builtin/function_object:1.1.1.1
Rev: doc/builtin/functionp:1.1.1.1
Rev: doc/builtin/gc:1.1.1.1
Rev: doc/builtin/getpid:1.1.1.1
Rev: doc/builtin/glob:1.1.1.1
Rev: doc/builtin/hash:1.1.1.1
Rev: doc/builtin/indices:1.1.1.1
Rev: doc/builtin/intp:1.1.1.1
Rev: doc/builtin/kill:1.1.1.1
Rev: doc/builtin/localtime:1.1.1.1
Rev: doc/builtin/lower_case:1.1.1.1
Rev: doc/builtin/m_delete:1.1.1.1
Rev: doc/builtin/mappingp:1.1.1.1
Rev: doc/builtin/mkmapping:1.1.1.1
Rev: doc/builtin/multisetp:1.1.1.1
Rev: doc/builtin/next_object:1.1.1.1
Rev: doc/builtin/object_program:1.1.1.1
Rev: doc/builtin/objectp:1.1.1.1
Rev: doc/builtin/programp:1.1.1.1
Rev: doc/builtin/query_host_name:1.1.1.1
Rev: doc/builtin/query_num_arg:1.1.1.1
Rev: doc/builtin/random:1.1.1.1
Rev: doc/builtin/random_seed:1.1.1.1
Rev: doc/builtin/replace:1.1.1.1
Rev: doc/builtin/reverse:1.1.1.1
Rev: doc/builtin/rows:1.1.1.1
Rev: doc/builtin/rusage:1.1.1.1
Rev: doc/builtin/search:1.1.1.1
Rev: doc/builtin/signal:1.1.1.1
Rev: doc/builtin/signame:1.1.1.1
Rev: doc/builtin/signum:1.1.1.1
Rev: doc/builtin/sizeof:1.1.1.1
Rev: doc/builtin/sleep:1.1.1.1
Rev: doc/builtin/sort:1.1.1.1
Rev: doc/builtin/stringp:1.1.1.1
Rev: doc/builtin/this_object:1.1.1.1
Rev: doc/builtin/throw:1.1.1.1
Rev: doc/builtin/time:1.1.1.1
Rev: doc/builtin/trace:1.1.1.1
Rev: doc/builtin/ualarm:1.1.1.1
Rev: doc/builtin/upper_case:1.1.1.1
Rev: doc/builtin/values:1.1.1.1
Rev: doc/builtin/zero_type:1.1.1.1
Rev: doc/index.bmml:1.1.1.1
Rev: doc/manual/example1:1.1.1.1
Rev: doc/manual/example2:1.1.1.1
Rev: doc/manual/example3:1.1.1.1
Rev: doc/manual/tutorial:1.1.1.1
Rev: doc/operators/and:1.1.1.1
Rev: doc/operators/complement:1.1.1.1
Rev: doc/operators/divide:1.1.1.1
Rev: doc/operators/index:1.1.1.1
Rev: doc/operators/is_equal:1.1.1.1
Rev: doc/operators/is_greater_or_equal:1.1.1.1
Rev: doc/operators/is_greater_than:1.1.1.1
Rev: doc/operators/is_lesser_or_equal:1.1.1.1
Rev: doc/operators/is_lesser_than:1.1.1.1
Rev: doc/operators/logical_and:1.1.1.1
Rev: doc/operators/logical_or:1.1.1.1
Rev: doc/operators/minus:1.1.1.1
Rev: doc/operators/modulo:1.1.1.1
Rev: doc/operators/mult:1.1.1.1
Rev: doc/operators/not:1.1.1.1
Rev: doc/operators/not_equal:1.1.1.1
Rev: doc/operators/operators:1.1.1.1
Rev: doc/operators/or:1.1.1.1
Rev: doc/operators/plus:1.1.1.1
Rev: doc/operators/range:1.1.1.1
Rev: doc/operators/shift_left:1.1.1.1
Rev: doc/operators/shift_right:1.1.1.1
Rev: doc/operators/xor:1.1.1.1
Rev: doc/pike/all.bmml:1.1.1.1
Rev: doc/pike/cast:1.1.1.1
Rev: doc/pike/catch:1.1.1.1
Rev: doc/pike/class:1.1.1.1
Rev: doc/pike/command_line_options:1.1.1.1
Rev: doc/pike/control_structures/break:1.1.1.1
Rev: doc/pike/control_structures/catch:1.1.1.1
Rev: doc/pike/control_structures/continue:1.1.1.1
Rev: doc/pike/control_structures/do-while:1.1.1.1
Rev: doc/pike/control_structures/for:1.1.1.1
Rev: doc/pike/control_structures/foreach:1.1.1.1
Rev: doc/pike/control_structures/if-else:1.1.1.1
Rev: doc/pike/control_structures/return:1.1.1.1
Rev: doc/pike/control_structures/switch:1.1.1.1
Rev: doc/pike/control_structures/while:1.1.1.1
Rev: doc/pike/efuns.bmml:1.1.1.1
Rev: doc/pike/functions:1.1.1.1
Rev: doc/pike/gauge:1.1.1.1
Rev: doc/pike/hilfe:1.1.1.1
Rev: doc/pike/how_to_make_modules:1.1.1.1
Rev: doc/pike/inherit:1.1.1.1
Rev: doc/pike/lambda:1.1.1.1
Rev: doc/pike/modifier:1.1.1.1
Rev: doc/pike/preprocessor:1.1.1.1
Rev: doc/pike/reserved.bmml:1.1.1.1
Rev: doc/pike/sscanf:1.1.1.1
Rev: doc/pike/typeof:1.1.1.1
Rev: doc/pike/variables:1.1.1.1
Rev: doc/simulated/PI:1.1.1.1
Rev: doc/simulated/add_efun:1.1.1.1
Rev: doc/simulated/aggregage_list:1.1.1.1
Rev: doc/simulated/all_efuns:1.1.1.1
Rev: doc/simulated/capitalize:1.1.1.1
Rev: doc/simulated/describe_backtrace:1.1.1.1
Rev: doc/simulated/exec:1.1.1.1
Rev: doc/simulated/explode:1.1.1.1
Rev: doc/simulated/file_size:1.1.1.1
Rev: doc/simulated/filter:1.1.1.1
Rev: doc/simulated/filter_array:1.1.1.1
Rev: doc/simulated/get_function:1.1.1.1
Rev: doc/simulated/getenv:1.1.1.1
Rev: doc/simulated/implode:1.1.1.1
Rev: doc/simulated/l_sizeof:1.1.1.1
Rev: doc/simulated/listp:1.1.1.1
Rev: doc/simulated/m_indices:1.1.1.1
Rev: doc/simulated/m_sizeof:1.1.1.1
Rev: doc/simulated/m_values:1.1.1.1
Rev: doc/simulated/map:1.1.1.1
Rev: doc/simulated/map_array:1.1.1.1
Rev: doc/simulated/master:1.1.1.1
Rev: doc/simulated/member_array:1.1.1.1
Rev: doc/simulated/mklist:1.1.1.1
Rev: doc/simulated/mkmultiset:1.1.1.1
Rev: doc/simulated/perror:1.1.1.1
Rev: doc/simulated/popen:1.1.1.1
Rev: doc/simulated/previous_object:1.1.1.1
Rev: doc/simulated/putenv:1.1.1.1
Rev: doc/simulated/read_bytes:1.1.1.1
Rev: doc/simulated/regexp:1.1.1.1
Rev: doc/simulated/search_array:1.1.1.1
Rev: doc/simulated/sort_array:1.1.1.1
Rev: doc/simulated/spawn:1.1.1.1
Rev: doc/simulated/strlen:1.1.1.1
Rev: doc/simulated/strstr:1.1.1.1
Rev: doc/simulated/sum:1.1.1.1
Rev: doc/simulated/sum_arrays:1.1.1.1
Rev: doc/simulated/system:1.1.1.1
Rev: doc/simulated/this_function:1.1.1.1
Rev: doc/simulated/version:1.1.1.1
Rev: doc/simulated/write:1.1.1.1
Rev: doc/simulated/write_file:1.1.1.1
Rev: doc/types/array:1.1.1.1
Rev: doc/types/float:1.1.1.1
Rev: doc/types/function:1.1.1.1
Rev: doc/types/int:1.1.1.1
Rev: doc/types/mapping:1.1.1.1
Rev: doc/types/mixed:1.1.1.1
Rev: doc/types/multiset:1.1.1.1
Rev: doc/types/object:1.1.1.1
Rev: doc/types/program:1.1.1.1
Rev: doc/types/string:1.1.1.1
Rev: lib/include/array.h:1.1.1.1
Rev: lib/include/array.pre.pike:1.1.1.1
Rev: lib/include/process.h:1.1.1.1
Rev: lib/include/process.pre.pike:1.1.1.1
Rev: lib/include/simulate.h:1.1.1.1
Rev: lib/include/simulate.pre.pike:1.1.1.1
Rev: lib/include/stdio.h:1.1.1.1
Rev: lib/include/stdio.pre.pike:1.1.1.1
Rev: lib/master.pike:1.1.1.1
Rev: src/.cvsignore:1.1.1.1
Rev: src/BUGS:1.1.1.1
Rev: src/COPYING:1.1.1.1
Rev: src/COPYRIGHT:1.1.1.1
Rev: src/ChangeLog:1.1.1.1
Rev: src/DISCLAIMER:1.1.1.1
Rev: src/Makefile.src:1.1.1.1
Rev: src/README:1.1.1.1
Rev: src/alloca.c:1.1.1.1
Rev: src/array.c:1.1.1.1
Rev: src/array.h:1.1.1.1
Rev: src/backend.c:1.1.1.1
Rev: src/backend.h:1.1.1.1
Rev: src/build_modlist_h:1.1.1.1
Rev: src/builtin_functions.c:1.1.1.1
Rev: src/builtin_functions.h:1.1.1.1
Rev: src/callback.c:1.1.1.1
Rev: src/callback.h:1.1.1.1
Rev: src/compilation.h:1.1.1.1
Rev: src/config.cache:1.1.1.1
Rev: src/config.h:1.1.1.1
Rev: src/config.log:1.1.1.1
Rev: src/configure.in:1.1.1.1
Rev: src/constants.c:1.1.1.1
Rev: src/constants.h:1.1.1.1
Rev: src/docode.c:1.1.1.1
Rev: src/docode.h:1.1.1.1
Rev: src/dynamic_buffer.c:1.1.1.1
Rev: src/dynamic_buffer.h:1.1.1.1
Rev: src/efun.h:1.1.1.1
Rev: src/error.c:1.1.1.1
Rev: src/error.h:1.1.1.1
Rev: src/fd_control.c:1.1.1.1
Rev: src/fd_control.h:1.1.1.1
Rev: src/fsort.c:1.1.1.1
Rev: src/fsort.h:1.1.1.1
Rev: src/gc.c:1.1.1.1
Rev: src/gc.h:1.1.1.1
Rev: src/global.h:1.1.1.1
Rev: src/hashtable.c:1.1.1.1
Rev: src/hashtable.h:1.1.1.1
Rev: src/install-sh:1.1.1.1
Rev: src/interpret.c:1.1.1.1
Rev: src/interpret.h:1.1.1.1
Rev: src/language.y:1.1.1.1
Rev: src/las.c:1.1.1.1
Rev: src/las.h:1.1.1.1
Rev: src/lex.c:1.1.1.1
Rev: src/lex.h:1.1.1.1
Rev: src/machine.h.in:1.1.1.1
Rev: src/macros.h:1.1.1.1
Rev: src/main.c:1.1.1.1
Rev: src/main.h:1.1.1.1
Rev: src/mapping.c:1.1.1.1
Rev: src/mapping.h:1.1.1.1
Rev: src/memory.c:1.1.1.1
Rev: src/memory.h:1.1.1.1
Rev: src/module.c:1.1.1.1
Rev: src/module.h:1.1.1.1
Rev: src/modules/.cvsignore:1.1.1.1
Rev: src/modules/Makefile.src:1.1.1.1
Rev: src/modules/call_out/.cvsignore:1.1.1.1
Rev: src/modules/call_out/Makefile.src:1.1.1.1
Rev: src/modules/call_out/call_out.c:1.1.1.1
Rev: src/modules/call_out/configure.in:1.1.1.1
Rev: src/modules/call_out/doc/call_out:1.1.1.1
Rev: src/modules/call_out/doc/call_out_info:1.1.1.1
Rev: src/modules/call_out/doc/find_call_out:1.1.1.1
Rev: src/modules/call_out/doc/remove_call_out:1.1.1.1
Rev: src/modules/configure.in:1.1.1.1
Rev: src/modules/files/.cvsignore:1.1.1.1
Rev: src/modules/files/Makefile.src:1.1.1.1
Rev: src/modules/files/configure.in:1.1.1.1
Rev: src/modules/files/datagram.c:1.1.1.1
Rev: src/modules/files/doc/cd:1.1.1.1
Rev: src/modules/files/doc/errno:1.1.1.1
Rev: src/modules/files/doc/exece:1.1.1.1
Rev: src/modules/files/doc/file:1.1.1.1
Rev: src/modules/files/doc/file_stat:1.1.1.1
Rev: src/modules/files/doc/fork:1.1.1.1
Rev: src/modules/files/doc/get_dir:1.1.1.1
Rev: src/modules/files/doc/getcwd:1.1.1.1
Rev: src/modules/files/doc/mkdir:1.1.1.1
Rev: src/modules/files/doc/mv:1.1.1.1
Rev: src/modules/files/doc/port:1.1.1.1
Rev: src/modules/files/doc/rm:1.1.1.1
Rev: src/modules/files/doc/strerror:1.1.1.1
Rev: src/modules/files/doc/werror:1.1.1.1
Rev: src/modules/files/efuns.c:1.1.1.1
Rev: src/modules/files/file.c:1.1.1.1
Rev: src/modules/files/file.h:1.1.1.1
Rev: src/modules/files/file_machine.h.in:1.1.1.1
Rev: src/modules/files/socket.c:1.1.1.1
Rev: src/modules/gdbmmod/.cvsignore:1.1.1.1
Rev: src/modules/gdbmmod/Makefile.src:1.1.1.1
Rev: src/modules/gdbmmod/configure.in:1.1.1.1
Rev: src/modules/gdbmmod/doc/gdbm:1.1.1.1
Rev: src/modules/gdbmmod/gdbm_machine.h.in:1.1.1.1
Rev: src/modules/gdbmmod/gdbmmod.c:1.1.1.1
Rev: src/modules/gmpmod/.cvsignore:1.1.1.1
Rev: src/modules/gmpmod/Makefile.src:1.1.1.1
Rev: src/modules/gmpmod/configure.in:1.1.1.1
Rev: src/modules/gmpmod/doc/mpz:1.1.1.1
Rev: src/modules/gmpmod/gmp_machine.h.in:1.1.1.1
Rev: src/modules/gmpmod/mpz_glue.c:1.1.1.1
Rev: src/modules/image/Makefile.in:1.1.1.1
Rev: src/modules/image/Makefile.src:1.1.1.1
Rev: src/modules/image/configure:1.1.1.1
Rev: src/modules/image/configure.in:1.1.1.1
Rev: src/modules/image/dependencies:1.1.1.1
Rev: src/modules/image/doc.txt:1.1.1.1
Rev: src/modules/image/doc/image.html:1.1.1.1
Rev: src/modules/image/font.c:1.1.1.1
Rev: src/modules/image/image.c:1.1.1.1
Rev: src/modules/image/image.h:1.1.1.1
Rev: src/modules/image/lzw.c:1.1.1.1
Rev: src/modules/image/lzw.h:1.1.1.1
Rev: src/modules/image/quant.c:1.1.1.1
Rev: src/modules/image/togif.c:1.1.1.1
Rev: src/modules/math/.cvsignore:1.1.1.1
Rev: src/modules/math/Makefile.src:1.1.1.1
Rev: src/modules/math/configure.in:1.1.1.1
Rev: src/modules/math/doc/acos:1.1.1.1
Rev: src/modules/math/doc/asin:1.1.1.1
Rev: src/modules/math/doc/atan:1.1.1.1
Rev: src/modules/math/doc/ceil:1.1.1.1
Rev: src/modules/math/doc/cos:1.1.1.1
Rev: src/modules/math/doc/exp:1.1.1.1
Rev: src/modules/math/doc/floor:1.1.1.1
Rev: src/modules/math/doc/log:1.1.1.1
Rev: src/modules/math/doc/pow:1.1.1.1
Rev: src/modules/math/doc/sin:1.1.1.1
Rev: src/modules/math/doc/sqrt:1.1.1.1
Rev: src/modules/math/doc/tan:1.1.1.1
Rev: src/modules/math/math.c:1.1.1.1
Rev: src/modules/module_dir_marker:1.1.1.1
Rev: src/modules/pipe/Makefile.in:1.1.1.1
Rev: src/modules/pipe/Makefile.src:1.1.1.1
Rev: src/modules/pipe/config.h:1.1.1.1
Rev: src/modules/pipe/configure:1.1.1.1
Rev: src/modules/pipe/configure.in:1.1.1.1
Rev: src/modules/pipe/dependencies:1.1.1.1
Rev: src/modules/pipe/pipe.c:1.1.1.1
Rev: src/modules/readlinemod/.cvsignore:1.1.1.1
Rev: src/modules/readlinemod/Makefile.src:1.1.1.1
Rev: src/modules/readlinemod/configure.in:1.1.1.1
Rev: src/modules/readlinemod/doc/readline:1.1.1.1
Rev: src/modules/readlinemod/readline_machine.h.in:1.1.1.1
Rev: src/modules/readlinemod/readlinemod.c:1.1.1.1
Rev: src/modules/regexp/.cvsignore:1.1.1.1
Rev: src/modules/regexp/Makefile.src:1.1.1.1
Rev: src/modules/regexp/configure.in:1.1.1.1
Rev: src/modules/regexp/doc/regexp:1.1.1.1
Rev: src/modules/regexp/glue.c:1.1.1.1
Rev: src/modules/regexp/regexp.c:1.1.1.1
Rev: src/modules/regexp/regexp.h:1.1.1.1
Rev: src/modules/spider/Makefile.in:1.1.1.1
Rev: src/modules/spider/Makefile.src:1.1.1.1
Rev: src/modules/spider/configure:1.1.1.1
Rev: src/modules/spider/configure.in:1.1.1.1
Rev: src/modules/spider/defs.h:1.1.1.1
Rev: src/modules/spider/dependencies:1.1.1.1
Rev: src/modules/spider/discdate.c:1.1.1.1
Rev: src/modules/spider/encode_decode.c:1.1.1.1
Rev: src/modules/spider/http_parse.c:1.1.1.1
Rev: src/modules/spider/lock.c:1.1.1.1
Rev: src/modules/spider/lock.h:1.1.1.1
Rev: src/modules/spider/sdebug.c:1.1.1.1
Rev: src/modules/spider/shared_mem_mapping.c:1.1.1.1
Rev: src/modules/spider/sharedmem.c:1.1.1.1
Rev: src/modules/spider/sharedmem.h:1.1.1.1
Rev: src/modules/spider/spider.c:1.1.1.1
Rev: src/modules/spider/spider.h.in:1.1.1.1
Rev: src/modules/spider/stardate.c:1.1.1.1
Rev: src/modules/spider/streamed_parser.c:1.1.1.1
Rev: src/modules/spider/streamed_parser.h:1.1.1.1
Rev: src/modules/spider/tree.c:1.1.1.1
Rev: src/modules/sprintf/.cvsignore:1.1.1.1
Rev: src/modules/sprintf/Makefile.src:1.1.1.1
Rev: src/modules/sprintf/configure.in:1.1.1.1
Rev: src/modules/sprintf/doc/sprintf:1.1.1.1
Rev: src/modules/sprintf/sprintf.c:1.1.1.1
Rev: src/multiset.c:1.1.1.1
Rev: src/multiset.h:1.1.1.1
Rev: src/object.c:1.1.1.1
Rev: src/object.h:1.1.1.1
Rev: src/opcodes.c:1.1.1.1
Rev: src/opcodes.h:1.1.1.1
Rev: src/operators.c:1.1.1.1
Rev: src/operators.h:1.1.1.1
Rev: src/otable.h:1.1.1.1
Rev: src/peep.c:1.1.1.1
Rev: src/peep.h:1.1.1.1
Rev: src/peep.in:1.1.1.1
Rev: src/pike_types.c:1.1.1.1
Rev: src/pike_types.h:1.1.1.1
Rev: src/port.c:1.1.1.1
Rev: src/port.h:1.1.1.1
Rev: src/program.c:1.1.1.1
Rev: src/program.h:1.1.1.1
Rev: src/run_autoconfig:1.1.1.1
Rev: src/rusage.c:1.1.1.1
Rev: src/rusage.h:1.1.1.1
Rev: src/signal_handler.c:1.1.1.1
Rev: src/signal_handler.h:1.1.1.1
Rev: src/stamp-h:1.1.1.1
Rev: src/stralloc.c:1.1.1.1
Rev: src/stralloc.h:1.1.1.1
Rev: src/stuff.c:1.1.1.1
Rev: src/stuff.h:1.1.1.1
Rev: src/svalue.c:1.1.1.1
Rev: src/svalue.h:1.1.1.1
Rev: src/test/.cvsignore:1.1.1.1
Rev: src/test/create_testsuite:1.1.1.1
Rev: src/test/test_pike.pike:1.1.1.1
Rev: src/time_stuff.h:1.1.1.1
Rev: src/todo:1.1.1.1
Rev: src/types.h:1.1.1.1
Rev: src/ualarm.c:1.1.1.1

1:   AC_INIT(interpret.c)   AC_PROG_CC + AC_C_CROSS    -  + ############################################################################# +    # We need some special hacks when running slowaris   AC_PATH_PROG(uname_prog,uname,no)   AC_MSG_CHECKING(operating system) - AC_CACHE_VAL(lpc_cv_sys_os, + AC_CACHE_VAL(pike_cv_sys_os,   [   if test "$uname_prog" != "no"; then -  lpc_cv_sys_os="`uname`" +  pike_cv_sys_os="`uname`"    -  if test "$lpc_cv_sys_os" = "SunOS"; then +  if test "$pike_cv_sys_os" = "SunOS"; then    case "`uname -r`" in -  5.*) lpc_cv_sys_os="Solaris"; +  5.*) pike_cv_sys_os="Solaris";    esac    fi   else -  lpc_cv_sys_os="Not Solaris" +  pike_cv_sys_os="Not Solaris"   fi   ]) - AC_MSG_RESULT($lpc_cv_sys_os) + AC_MSG_RESULT($pike_cv_sys_os)      dnl   dnl This enables a mutex lock around accept() unfortunately   dnl accept bangs out every 20000th time or so when linked   dnl with libthreads. Solaris...   dnl - dnl if test "$lpc_cv_sys_os" = "Solaris"; then + dnl if test "$pike_cv_sys_os" = "Solaris"; then   dnl AC_DEFINE(SOLARIS)   dnl LIBS="$LIBS -lthread"   dnl fi   dnl    -  + ############################################################################# +    OLD_CFLAGS="$CFLAGS"   OPTIMIZE="";    -  + AC_MSG_CHECKING(-fast) + AC_CACHE_VAL(pike_cv_option_fast, + [ +  CFLAGS="$OLD_CFLAGS -fast" +  AC_TRY_LINK([],[ exit(0); ],pike_cv_option_fast=yes,pike_cv_option_fast=no) + ]) +  + CFLAGS="$OLD_CFLAGS" +  + if test "$pike_cv_option_fast" = "yes" ; then +  OPTIMIZE="$OPTIMIZE -fast" +  AC_MSG_RESULT(-fast found) + else +  AC_MSG_RESULT(-fast not found) +     AC_MSG_CHECKING(-O) - AC_CACHE_VAL(lpc_cv_option_opt, +  AC_CACHE_VAL(pike_cv_option_opt,    [    CFLAGS="$OLD_CFLAGS -O" -  AC_TRY_LINK([],[ exit(0); ],lpc_cv_option_opt=yes,lpc_cv_option_opt=no) +  AC_TRY_LINK([],[ exit(0); ],pike_cv_option_opt=yes,pike_cv_option_opt=no)    ])    - if test "$lpc_cv_option_opt" = "yes" ; then +  if test "$pike_cv_option_opt" = "yes" ; then    CFLAGS="$OLD_CFLAGS -O"    OPTIMIZE="$OPTIMIZE -O"    AC_MSG_RESULT(-O found)
50:   fi      CFLAGS="$OLD_CFLAGS" + fi    -  +    if test "$GCC" = "yes"; then -  WARN="-g -W -Wunused -Wformat" +  WARN="-g -W -Wformat"       AC_MSG_CHECKING(-pipe) -  AC_CACHE_VAL(lpc_cv_option_pipe, +  AC_CACHE_VAL(pike_cv_option_pipe,    [    CFLAGS="$OLD_CFLAGS -pipe" -  AC_TRY_LINK([],[ exit(0); ],lpc_cv_option_pipe=yes,lpc_cv_option_pipe=no) +  AC_TRY_LINK([],[ exit(0); ],pike_cv_option_pipe=yes,pike_cv_option_pipe=no)    ])    -  if test "$lpc_cv_option_pipe" = "yes" ; then +  if test "$pike_cv_option_pipe" = "yes" ; then    CFLAGS="$OLD_CFLAGS -pipe"    OPTIMIZE="$OPTIMIZE -pipe"    AC_MSG_RESULT(-pipe found)
76:   #   # Special hack for HP-UX stupid cc   # -  if test "$lpc_cv_sys_os" = "HP-UX"; then +  if test "$pike_cv_sys_os" = "HP-UX"; then    OLD_CC="${CC-cc}"    CC="$CC -Aa -D_HPUX_SOURCE +Olibcalls"    AC_TRY_LINK([int foo(int bar);],[ exit(0); ],[],[CC="$OLD_CC"])    fi   fi    -  + ############################################################################# +    AC_MSG_CHECKING(ansi prototype capability) - AC_CACHE_VAL(lpc_cv_sys_ansi_prototypes, + AC_CACHE_VAL(pike_cv_sys_ansi_prototypes,   [    AC_TRY_LINK([int foo(int bar);],[ exit(0); ], -  [lpc_cv_sys_ansi_prototypes=yes], -  [lpc_cv_sys_ansi_prototypes=no]) +  [pike_cv_sys_ansi_prototypes=yes], +  [pike_cv_sys_ansi_prototypes=no])   ])    - if test "$lpc_cv_sys_ansi_prototypes" = "yes"; then + if test "$pike_cv_sys_ansi_prototypes" = "yes"; then    AC_MSG_RESULT(yes)   else    AC_MSG_RESULT(no, giving up...)    exit 1   fi    -  + ############################################################################# +    AC_CONFIG_HEADER(machine.h)   AC_PROG_INSTALL - AC_PROG_YACC +    AC_PROG_CPP   AC_PROG_RANLIB   AC_SET_MAKE    -  + ############################################################################# +  + AC_MSG_CHECKING(for yacc clone that handles %pure_parser) + AC_CACHE_VAL(pike_cv_prog_working_yacc, + [ + for YACC in byacc "bison -y" yacc "echo Get bison if you want to make export" ; do +  set dummy $YACC; ac_word=$2 +  has_it=no +  IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" +  for ac_dir in $PATH; do +  test -z "$ac_dir" && ac_dir=. +  if test -f $ac_dir/$ac_word; then +  has_it="yes" +  break +  fi +  done +  IFS="$ac_save_ifs" +  +  if test "$has_it" = "yes"; then + cat >conftest.y<<\EOF + %pure_parser + %{ + void parse(); + void yyerror(char *); + %} + %% + all: foo bar + foo: 'f' 'o' 'o' { parse(); } ; + bar: 'b' 'a' 'r' ; + %% + int context; +  + int yylex(YYSTYPE *yylval) + { +  switch(context++) +  { +  case 0: return 'f'; +  case 1: return 'o'; +  case 2: return 'o'; +  case 3: return 'b'; +  case 4: return 'a'; +  case 5: return 'r'; +  default: return 0; +  } + } +  + int depth=0; + void parse() + { +  int tmp; +  if(depth++>5) return; +  tmp=context; +  context=0; +  yyparse(); +  context=tmp; + } + int errors=0; + void yyerror(char *fel) { errors++; } + int main() + { +  parse(); +  exit(errors); + } + EOF +  if $YACC -d conftest.y 1>&5 2>&5; then +  AC_TRY_RUN([ + #include "y.tab.c" + ],pure_parser_works=yes,pure_parser_works=no) +  if test "$pure_parser_works" = "yes"; then +  break +  fi +  fi +  fi + done + pike_cv_prog_working_yacc="$YACC" + ]) +  + YACC="$pike_cv_prog_working_yacc" + AC_MSG_RESULT($YACC) +  + ############################################################################# +    AC_MSG_CHECKING(first yacc define) - AC_CACHE_VAL(lpc_cv_yacc_first, + AC_CACHE_VAL(pike_cv_yacc_first,   [   cat >conftest.y <<\EOF   %token GURKA
114:   all: GURKA   %%   EOF - lpc_cv_yacc_first=257; - if $YACC -d conftest.y ; then + pike_cv_yacc_first=257; + if $YACC -d conftest.y 1>&5 2>&5; then    if test -f y.tab.h; then -  lpc_cv_yacc_first=`egrep GURKA y.tab.h | sed 's/^#[^0-9]*\([0-9]*\)[^0-9]*$/\1/'` -  echo $lpc_cv_yacc_first >conftest.out +  pike_cv_yacc_first=`egrep GURKA y.tab.h | sed 's/^#[^0-9]*\([0-9]*\)[^0-9]*$/\1/'` +  echo $pike_cv_yacc_first >conftest.out    if egrep '^(0|1|2|3|4|5|6|7|8|9)+$' conftest.out >/dev/null 2>&1; then    echo >/dev/null    else -  lpc_cv_yacc_first=257 +  pike_cv_yacc_first=257    fi    fi   fi   ]) - AC_MSG_RESULT($lpc_cv_yacc_first) - AC_DEFINE_UNQUOTED(F_OFFSET,$lpc_cv_yacc_first) + AC_MSG_RESULT($pike_cv_yacc_first) + AC_DEFINE_UNQUOTED(F_OFFSET,$pike_cv_yacc_first)      rm -rf conftest.y y.tab.c y.tab.h conftest.out    - AC_HAVE_HEADERS(sys/rusage.h time.h sys/time.h unistd.h stdlib.h memory.h values.h \ -  string.h fcntl.h sys/filio.h sys/sockio.h crypt.h locale.h sys/resource.h \ -  sys/select.h netdb.h) - AC_STDC_HEADERS + #############################################################################    -  + AC_HEADER_TIME + AC_HEADER_STDC + AC_CHECK_HEADERS(sys/rusage.h time.h sys/time.h unistd.h stdlib.h memory.h \ + values.h string.h fcntl.h sys/filio.h sys/sockio.h crypt.h locale.h \ + sys/resource.h sys/select.h sys/mman.h setjmp.h) +    AC_SIZEOF_TYPE(char *)   AC_SIZEOF_TYPE(long)   AC_SIZEOF_TYPE(int)
144:   AC_SIZEOF_TYPE(float)   AC_SIZEOF_TYPE(double)    - AC_SIZE_T - AC_PID_T - AC_UID_T - AC_RETSIGTYPE + AC_TYPE_SIZE_T + AC_TYPE_PID_T + AC_TYPE_UID_T + AC_TYPE_SIGNAL   AC_CHECK_TYPE(time_t,INT32)    - AC_CHECK_LIB(PW, alloca) + dnl AC_CHECK_LIB(PW, alloca) +  + dnl AC_CHECK_LIB(crypt, crypt) +    AC_CHECK_LIB(m, floor) - if test "${ac_cv_lib_m}" = "no" -a "${lpc_cv_sys_os}" = "Linux"; then + if test "${ac_cv_lib_m}" = "no" -a "${pike_cv_sys_os}" = "Linux"; then    AC_MSG_WARN(I will compensate for this by adding -lc -lm)    LIBS="${LIBS} -lc -lm"   fi - AC_CHECK_LIB(socket, socket) +    AC_CHECK_LIB(crypt, crypt) - if test "$ac_cv_lib_socket" = yes -o "$ac_cv_lib_ucb"; then -  AC_CHECK_LIB(nsl, main) - fi +     -  +    OLD_LIBOBJS="${LIBOBJS}"      AC_FUNC_MEMCMP
173:      LIBOBJS="${OLD_LIBOBJS}"    - AC_HAVE_FUNCS( + AC_FUNC_STRCOLL + AC_FUNC_MMAP +  + AC_CHECK_FUNCS(    _crypt \    bcopy \    bzero \    clock \    crypt \    fchmod \ -  getcwd \ +     getenv \    getrlimit \    getrusage \ -  getwd \ +  gettimeofday \    index \ -  +  localtime \    memchr \    memcpy \    memset \
204:    times \    vfprintf \    vsprintf \ +  wait3 \    wait4 \    waitpid \ -  +  munmap \   )    -  + AC_STRUCT_TM +  + ############################################################################# +  + AC_MSG_CHECKING(extern int timezone) +  + AC_CACHE_VAL(pike_cv_has_external_timezone,[ + AC_TRY_LINK([ + #include <time.h> + ],[ +  int _tz; +  _tz=timezone; + ],pike_cv_has_external_timezone=yes,pike_cv_has_external_timezone=no) + ]) +  + if test "$pike_cv_has_external_timezone" = "yes"; then +  AC_DEFINE(HAVE_EXTERNAL_TIMEZONE) + fi +  + AC_MSG_RESULT($pike_cv_has_external_timezone) +  + ############################################################################# +  + # No test for this yet... + AC_DEFINE(HAVE_STRUCT_TIMEVAL) +  + ############################################################################# +  + AC_MSG_CHECKING(if gettimeofday takes two arguments) + AC_CACHE_VAL(pike_cv_func_gettimeofday_has_two_args, + [ + AC_TRY_RUN([ + #if TIME_WITH_SYS_TIME + # include <sys/time.h> + # include <time.h> + #else + # if HAVE_SYS_TIME_H + # include <sys/time.h> + # else + # if HAVE_TIME_H + # include <time.h> + # endif + # endif + #endif +  + #ifndef HAVE_STRUCT_TIMEVAL + struct timeval + { +  long tv_sec; +  long tv_usec; + }; + #endif +  + int main() { +  struct timeval tv; +  gettimeofday(&tv,(void *)0); +  exit(0); + } + ], + pike_cv_func_gettimeofday_has_two_args=yes, + pike_cv_func_gettimeofday_has_two_args=no)]) +  + if test $pike_cv_func_gettimeofday_has_two_args = yes; then +  AC_DEFINE(GETTIMEOFDAY_TAKES_TWO_ARGS) + fi +  + AC_MSG_RESULT($pike_cv_func_gettimeofday_has_two_args) +  + AC_MSG_CHECKING(if struct tm has tm_gmtoff) +  + AC_CACHE_VAL(pike_cv_struct_tm_has_gmtoff,[ + AC_TRY_LINK([ + #ifdef TM_IN_SYS_TIME + #include <sys/time.h> + #endif + #include <time.h> + #else + ],[ +  int _tz; +  struct tm foo; +  _tz=foo->tm_gmtoff; + ],pike_cv_struct_tm_has_gmtoff=yes,pike_cv_struct_tm_has_gmtoff=no) + ]) +  + if test "$pike_cv_struct_tm_has_gmtoff" = "yes"; then +  AC_DEFINE(STRUCT_TM_HAS_GMTOFF) + fi +  + AC_MSG_RESULT($pike_cv_struct_tm_has_gmtoff) +  +    define(MY_CHECK_HEADERS,   [    AC_MSG_CHECKING(for $1 declaration) -  AC_CACHE_VAL(lpc_cv_decl_$1, +  AC_CACHE_VAL(pike_cv_decl_$1,    [ -  lpc_cv_decl_$1=nonexistant +  pike_cv_decl_$1=nonexistant    for a in $2    do -  AC_HEADER_EGREP($1,$a,lpc_cv_decl_$1=existant; break) +  AC_EGREP_HEADER($1,$a,pike_cv_decl_$1=existant; break)    done    ]) -  AC_MSG_RESULT($lpc_cv_decl_$1) -  if test "$lpc_cv_decl_$1" = nonexistant; then +  AC_MSG_RESULT($pike_cv_decl_$1) +  if test "$pike_cv_decl_$1" = nonexistant; then    AC_DEFINE(translit($1,[a-z],[A-Z])[]_DECL_MISSING)    fi   ])
232:   MY_CHECK_HEADERS(getenv,unistd.h stdlib.h)   MY_CHECK_HEADERS(gethostname,unistd.h)    +    AC_MSG_CHECKING(return type of free) - AC_CACHE_VAL(lpc_cv_sys_free_return, + AC_CACHE_VAL(pike_cv_sys_free_return,   [AC_TRY_LINK([   #ifdef HAVE_STDLIB_H   #include <stdlib.h>
251:      ],   [], -  lpc_cv_sys_free_return='char *' +  pike_cv_sys_free_return='char *'   , -  lpc_cv_sys_free_return='void' +  pike_cv_sys_free_return='void'   )])    - if test "$lpc_cv_sys_free_return" = void; then + if test "$pike_cv_sys_free_return" = void; then    AC_DEFINE(FREE_RETURNS_VOID)    AC_MSG_RESULT([void]);   else
264:   fi      AC_MSG_CHECKING([void* or char* from malloc]) - AC_CACHE_VAL(lpc_cv_sys_malloc_return, + AC_CACHE_VAL(pike_cv_sys_malloc_return,   [   AC_TRY_LINK([   #include <sys/types.h>
292:      ],   [], -  lpc_cv_sys_malloc_return="void *" +  pike_cv_sys_malloc_return="void *"   , -  lpc_cv_sys_malloc_return="char *" +  pike_cv_sys_malloc_return="char *"   )])    - AC_MSG_RESULT($lpc_cv_sys_malloc_return) - AC_DEFINE_UNQUOTED(POINTER,$lpc_cv_sys_malloc_return) + AC_MSG_RESULT($pike_cv_sys_malloc_return) + AC_DEFINE_UNQUOTED(POINTER,$pike_cv_sys_malloc_return)         AC_ALLOCA    - AC_CONST - AC_INLINE + AC_C_CONST + AC_C_INLINE      AC_REPLACE_FUNCS(ualarm)   
312:    *ualarm.o*) ;;    *)    AC_DEFINE(HAVE_UALARM) +  AC_MSG_CHECKING(no of arguments to ualarm) +  AC_CACHE_VAL(pike_cv_ualarm_takes_two_args, +  [ +  AC_TRY_LINK([ +  #include <unistd.h> +  ],[ +  int main() { ualarm(0,0); } +  ],pike_cv_ualarm_takes_two_args=yes,pike_cv_ualarm_takes_two_args=no) +  +  if test "$pike_cv_ualarm_takes_two_args" = yes; then +  AC_MSG_RESULT(2) +  AC_DEFINE(UALARM_TAKES_TWO_ARGS) +  else +  AC_MSG_RESULT(1) +  fi +  +  ])    ;;   esac      AC_MSG_CHECKING(byteorder) - AC_CACHE_VAL(lpc_cv_hardware_byteorder, + AC_CACHE_VAL(pike_cv_hardware_byteorder,   [   AC_TRY_RUN([   #include <stdio.h>
345:       return 0;   }], - lpc_cv_hardware_byteorder=`cat conftest.out.2` + pike_cv_hardware_byteorder=`cat conftest.out.2`   , - lpc_cv_hardware_byteorder=0 + pike_cv_hardware_byteorder=0   )])    - AC_MSG_RESULT($lpc_cv_hardware_byteorder) - AC_DEFINE_UNQUOTED(BYTEORDER,$lpc_cv_hardware_byteorder) + AC_MSG_RESULT($pike_cv_hardware_byteorder) + AC_DEFINE_UNQUOTED(BYTEORDER,$pike_cv_hardware_byteorder)      AC_MSG_CHECKING(for working memmem) - AC_CACHE_VAL(lpc_cv_func_memmem, + AC_CACHE_VAL(pike_cv_func_memmem,   [   AC_TRY_RUN([   #include <string.h>
372:    exit(1);    exit(0);   } - ],lpc_cv_func_memmem=yes,lpc_cv_func_memmem=no)]) + ],pike_cv_func_memmem=yes,pike_cv_func_memmem=no)])    - if test "$lpc_cv_func_memmem" = yes; then + if test "$pike_cv_func_memmem" = yes; then    AC_MSG_RESULT(yes)    AC_DEFINE(HAVE_MEMMEM)   else    AC_MSG_RESULT(no)   fi    - AC_MSG_CHECKING(for working strcoll) - AC_CACHE_VAL(lpc_cv_func_strcoll, - [ - AC_TRY_RUN([ - #include <string.h> - int main() - { -  if(strcoll("a","b")< 0 && -  strcoll("a","a")==0 && -  strcoll("b","a")> 0) -  exit(0); -  exit(1); - } - ],lpc_cv_func_strcoll=yes,lpc_cv_func_strcoll=no)]) -  - if test "$lpc_cv_func_strcoll" = yes; then -  AC_MSG_RESULT(yes) -  AC_DEFINE(HAVE_STRCOLL) - else -  AC_MSG_RESULT(no) - fi -  +    AC_MSG_CHECKING(for working memmove) - AC_CACHE_VAL(lpc_cv_func_memmove, + AC_CACHE_VAL(pike_cv_func_memmove,   [   AC_TRY_RUN([   #include <string.h>
421:    if(strcmp(buf,"ooo bar gaznk elefantsnabel.")) exit(1);    exit(0);   } - ],lpc_cv_func_memmove=yes,lpc_cv_func_memmove=no)]) + ],pike_cv_func_memmove=yes,pike_cv_func_memmove=no)])    - if test "$lpc_cv_func_memmove" = yes; then + if test "$pike_cv_func_memmove" = yes; then    AC_MSG_RESULT(yes)    AC_DEFINE(HAVE_MEMMOVE)   else
431:   fi      AC_MSG_CHECKING(how to extract an unsigned char) - AC_CACHE_VAL(lpc_cv_method_extract_uchar, + AC_CACHE_VAL(pike_cv_method_extract_uchar,   [   AC_TRY_RUN([   int main()
442:    if(*(unsigned char *)(p)!= 0x100 - 10) exit(1);    exit(0);   } - ],lpc_cv_method_extract_uchar=by_cast, - lpc_cv_method_extract_uchar=not_by_cast)]) + ],pike_cv_method_extract_uchar=by_cast, + pike_cv_method_extract_uchar=not_by_cast)])    - if test "$lpc_cv_method_extract_uchar" = by_cast; then + if test "$pike_cv_method_extract_uchar" = by_cast; then    AC_MSG_RESULT(by cast)    AC_DEFINE(EXTRACT_UCHAR_BY_CAST)   else
453:   fi      AC_MSG_CHECKING(how to extract a signed char) - AC_CACHE_VAL(lpc_cv_method_extract_char, + AC_CACHE_VAL(pike_cv_method_extract_char,   [   AC_TRY_RUN([   int main()
464:    if(*(signed char *)(p)!= -10) exit(1);    exit(0);   } - ],lpc_cv_method_extract_char=by_cast, - lpc_cv_method_extract_char=not_by_cast)]) + ],pike_cv_method_extract_char=by_cast, + pike_cv_method_extract_char=not_by_cast)])    - if test "$lpc_cv_method_extract_char" = by_cast; then + if test "$pike_cv_method_extract_char" = by_cast; then    AC_MSG_RESULT(by cast)    AC_DEFINE(EXTRACT_CHAR_BY_CAST)   else
475:   fi       - AC_MSG_CHECKING(if signals are oneshot or not) - AC_CACHE_VAL(lpc_cv_sys_signal_oneshot, + AC_MSG_CHECKING(if signal handlers reset automatically) + AC_CACHE_VAL(pike_cv_sys_signal_oneshot,   [   AC_TRY_RUN([   #include <signal.h>
521:    sigrun=0;    exit(0);   } - ],lpc_cv_sys_signal_oneshot=no,lpc_cv_sys_signal_oneshot=yes)]) + ],pike_cv_sys_signal_oneshot=no,pike_cv_sys_signal_oneshot=yes)])    - if test "$lpc_cv_sys_signal_oneshot" = yes; then + if test "$pike_cv_sys_signal_oneshot" = yes; then    AC_MSG_RESULT(yes)    AC_DEFINE(SIGNAL_ONESHOT)   else
533:         AC_MSG_CHECKING(available file descriptors) - AC_CACHE_VAL(lpc_cv_max_open_fd, + AC_CACHE_VAL(pike_cv_max_open_fd,   [   AC_TRY_RUN([   #include <stdio.h>
583:    return 0;   }   ], - lpc_cv_max_open_fd=`cat conftest.out.2` + pike_cv_max_open_fd=`cat conftest.out.2`   , - lpc_cv_max_open_fd=256 + pike_cv_max_open_fd=256   )]) - AC_MSG_RESULT($lpc_cv_max_open_fd) - AC_DEFINE_UNQUOTED(MAX_OPEN_FILEDESCRIPTORS,$lpc_cv_max_open_fd) + AC_MSG_RESULT($pike_cv_max_open_fd) + AC_DEFINE_UNQUOTED(MAX_OPEN_FILEDESCRIPTORS,$pike_cv_max_open_fd)    - if test "$ac_cv_func_getrusage" = "yes"; then +    AC_MSG_CHECKING(full availability of struct rusage members) - AC_CACHE_VAL(lpc_cv_func_getrusage_full, + AC_CACHE_VAL(pike_cv_func_getrusage_full,   [   AC_TRY_LINK([   #include <sys/time.h>
622:    *v++ = rus.ru_nvcsw;    *v++ = rus.ru_nivcsw;   ], -  lpc_cv_func_getrusage_full=yes +  pike_cv_func_getrusage_full=yes   , -  lpc_cv_func_getrusage_full=no +  pike_cv_func_getrusage_full=no   )])    - if test "$lpc_cv_func_getrusage_full" = yes; then + if test "$pike_cv_func_getrusage_full" = yes; then    AC_MSG_RESULT(all there)   else    AC_MSG_RESULT(getrusage is restricted)    AC_DEFINE(GETRUSAGE_RESTRICTED)   fi    - else -  +    AC_MSG_CHECKING(getrusage() through procfs) - AC_CACHE_VAL(lpc_cv_getrusage_procfs, + AC_CACHE_VAL(pike_cv_getrusage_procfs,   [   AC_TRY_LINK([   #include <sys/procfs.h>
647:   ],[    sprintf(proc_name, "/proc/%05d", getpid());    proc_fd = open(proc_name, O_RDONLY); +  ioctl(proc_fd, PIOCUSAGE, &pru); +  ioctl(proc_fd, PIOCSTATUS, &prs);   ], -  lpc_cv_getrusage_procfs=yes +  pike_cv_getrusage_procfs=yes   , -  lpc_cv_getrusage_procfs=no +  pike_cv_getrusage_procfs=no   )])    - if test "$lpc_cv_getrusage_procfs" = yes; then + if test "$pike_cv_getrusage_procfs" = yes; then    AC_MSG_RESULT(yes)    AC_DEFINE(GETRUSAGE_THROUGH_PROCFS)   else    AC_MSG_RESULT(no)   fi - fi +       AC_MSG_CHECKING(checking for volatile) - AC_CACHE_VAL(lpc_cv_volatile, + AC_CACHE_VAL(pike_cv_volatile,   [ -  AC_TRY_LINK([],[ volatile int foo=1;], lpc_cv_volatile=yes,lpc_cv_volatile=no) +  AC_TRY_LINK([],[ volatile int foo=1;], pike_cv_volatile=yes,pike_cv_volatile=no)   ])    - if test "$lpc_cv_volatile" = yes; then + if test "$pike_cv_volatile" = yes; then    AC_MSG_RESULT(yes)    AC_DEFINE(VOLATILE,volatile)   else
676:   fi      AC_MSG_CHECKING(for gcc function attributes) - AC_CACHE_VAL(lpc_cv_gcc_attributes, + AC_CACHE_VAL(pike_cv_gcc_attributes,   [   AC_TRY_RUN([   #include <stdarg.h>
695:   }   main() { exit(0); }    - ], lpc_cv_gcc_attributes=yes, lpc_cv_gcc_attributes=no)]) + ], pike_cv_gcc_attributes=yes, pike_cv_gcc_attributes=no)])    - AC_MSG_RESULT($lpc_cv_gcc_attributes) - if test "$lpc_cv_gcc_attributes" = yes; then + AC_MSG_RESULT($pike_cv_gcc_attributes) + if test "$pike_cv_gcc_attributes" = yes; then    AC_DEFINE(HAVE_FUNCTION_ATTRIBUTES)   fi      AC_MSG_CHECKING(how to set things nonblocking) - AC_CACHE_VAL(lpc_cv_sys_nonblock, + AC_CACHE_VAL(pike_cv_sys_nonblock,   [   AC_TRY_RUN([   #define TESTING   #define USE_FCNTL_FNDELAY   #include "$srcdir/fd_control.c" - ],lpc_cv_sys_nonblock=USE_FCNTL_FNDELAY, + ],pike_cv_sys_nonblock=USE_FCNTL_FNDELAY,   AC_TRY_RUN([   #define TESTING   #define USE_FCNTL_O_NDELAY   #include "$srcdir/fd_control.c" - ],lpc_cv_sys_nonblock=USE_FCNTL_O_NDELAY, + ],pike_cv_sys_nonblock=USE_FCNTL_O_NDELAY,   AC_TRY_RUN([   #define TESTING   #define USE_FCNTL_O_NONBLOCK   #include "$srcdir/fd_control.c" - ],lpc_cv_sys_nonblock=USE_FCNTL_O_NONBLOCK, + ],pike_cv_sys_nonblock=USE_FCNTL_O_NONBLOCK,   AC_TRY_RUN([   #define TESTING   #define USE_IOCTL_FIONBIO   #include "$srcdir/fd_control.c" - ],lpc_cv_sys_nonblock=USE_IOCTL_FIONBIO, - unset lpc_cv_sys_nonblock + ],pike_cv_sys_nonblock=USE_IOCTL_FIONBIO, + unset pike_cv_sys_nonblock   ))))])    - if test "${lpc_cv_sys_nonblock}" = ""; then + if test "${pike_cv_sys_nonblock}" = ""; then    AC_MSG_RESULT(none found)   else -  AC_MSG_RESULT($lpc_cv_sys_nonblock) -  AC_DEFINE_UNQUOTED($lpc_cv_sys_nonblock) +  AC_MSG_RESULT($pike_cv_sys_nonblock) +  AC_DEFINE_UNQUOTED($pike_cv_sys_nonblock)   fi      rm -f core    -  - dirs= - MODULE_OBJS= - module_names= - for a in `(cd $srcdir/modules ; echo *)` - do -  if test "$a" != "CVS" -a "$a" != "RCS" ; then -  if test -d "$srcdir/modules/$a" ; then -  dirs="$dirs modules/$a" -  MODULE_OBJS="$MODULE_OBJS modules/$a/$a.a" -  module_names="$module_names $a" -  fi -  fi - done -  +    LIBDIR=`(cd $srcdir/../lib ; pwd)`   BINDIR=`(cd $srcdir/../bin ; pwd)`   DOCDIR=`(cd $srcdir/../doc ; pwd)`   BUILDDIR=`pwd`    - AC_CONFIG_SUBDIRS($dirs) + AC_CONFIG_SUBDIRS(modules)    - AC_SUBST(MODULE_OBJS) + AC_SUBST(YACC)   AC_SUBST(INSTALL)   AC_SUBST(WARN)   AC_SUBST(OPTIMIZE)
770:   AC_SUBST(BUILDDIR)   AC_SUBST(DOCDIR)    - AC_OUTPUT(Makefile, - [ - echo "FOO" >stamp-h - if test ! -d ./modules ; then -  mkdir modules - fi + AC_OUTPUT(Makefile,[echo foo >stamp-h])    - AC_MSG_RESULT(creating modlist.h) - echo "void init_main_efuns(void);" >modlist.h - echo "void init_main_programs(void);" >>modlist.h - echo "void exit_main(void);" >>modlist.h +     - for a in $dirs - do -  echo "void init_"$a"_efuns(void);" >>modlist.h -  echo "void init_"$a"_programs(void);" >>modlist.h -  echo "void exit_"$a"(void);" >>modlist.h - done - echo "" >>modlist.h - echo "struct module module_list UGLY_WORKAROUND={" >>modlist.h -  - echo " { \"main\", init_main_efuns, init_main_programs, exit_main, 0 }" >>modlist.h - for a in $dirs - do -  echo " ,{ \"$a\", init_"$a"_efuns, init_"$a"_programs, exit_$a, 0 }" >>modlist.h - done - echo "};" >>modlist.h - ] - , - dirs="$module_names" - ) -  -  +