diff -r 3c3009f63700 -r 05fde8943685 Include/frameobject.h --- a/Include/frameobject.h Mon Nov 14 18:04:05 2011 +0200 +++ b/Include/frameobject.h Tue Nov 15 05:09:56 2011 +0100 @@ -44,6 +44,9 @@ PyCode_Addr2Line to calculate the line from the current bytecode index. */ int f_lineno; /* Current line number */ +#ifdef WITH_DTRACE + int f_calllineno; /* line number of call site */ +#endif int f_iblock; /* index in f_blockstack */ PyTryBlock f_blockstack[CO_MAXBLOCKS]; /* for try and loop blocks */ PyObject *f_localsplus[1]; /* locals+stack, dynamically sized */ diff -r 3c3009f63700 -r 05fde8943685 Include/phelper.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Include/phelper.d Tue Nov 15 05:09:56 2011 +0100 @@ -0,0 +1,149 @@ + +/* + * Python ustack helper. This relies on the first argument (PyFrame *) being + * on the stack; see Python/ceval.c for the contortions we go through to ensure + * this is the case. + * + * On x86, the PyFrame * is two slots up from the frame pointer; on SPARC, it's + * eight. + */ + +/* + * Yes, this is as gross as it looks. DTrace cannot handle static functions, + * and our stat_impl.h has them in ILP32. + */ +#define _SYS_STAT_H + +/* +** When compiling in 32 bits: +** - Early inclusion to avoid problems with +** _FILE_OFFSET_BITS redefined. +** - Also, we must "undef" _POSIX_PTHREAD_SEMANTICS +** to avoid error compiling this source. +*/ +#include "pyconfig.h" +#undef _POSIX_PTHREAD_SEMANTICS + +#include +#include + +#include "pyport.h" +#include "object.h" +#include "pystate.h" +#include "pyarena.h" +#include "pythonrun.h" +#include "compile.h" +#include "frameobject.h" +#include "stringobject.h" + +#if defined(__i386) +#define startframe PyEval_EvalFrameEx +#define endframe PyEval_EvalCodeEx +#elif defined(__amd64) +#define PyEval_EvalFrameEx PyEval_EvalFrameExReal +#define startframe PyEval_EvalFrameExReal +#define endframe PyEval_EvalCodeEx +#elif defined(__sparc) +#define PyEval_EvalFrameEx PyEval_EvalFrameExReal +#define startframe PyEval_EvalFrameEx +#define endframe PyEval_EvalFrameExReal +#endif + +#ifdef __sparcv9 +#define STACK_BIAS (2048-1) +#else +#define STACK_BIAS 0 +#endif + +/* + * Not defining PHELPER lets us test this code as a normal D script. + */ +#ifdef PHELPER + +#define at_evalframe(addr) \ + ((uintptr_t)addr>= ((uintptr_t)&``startframe) && \ + (uintptr_t)addr < ((uintptr_t)&``endframe)) +#define probe dtrace:helper:ustack: +#define print_result(r) (r) + +#if defined(__i386) || defined(__amd64) +#define frame_ptr_addr ((uintptr_t)arg1 + sizeof(uintptr_t) * 2) +#elif defined(__sparc) +#define frame_ptr_addr ((uintptr_t)arg1 + STACK_BIAS + sizeof(uintptr_t) * 8) +#else +#error unknown architecture +#endif + +#else /* PHELPER */ + +#define at_evalframe(addr) (1) +#define probe pid$target::PyEval_EvalFrame:entry +#define print_result(r) (trace(r)) + +#if defined(__i386) || defined(__amd64) +#define frame_ptr_addr ((uintptr_t)uregs[R_SP] + sizeof(uintptr_t)) +#elif defined(__sparc) +/* + * Not implemented: we could just use R_I0, but what's the point? + */ +#else +#error unknown architecture +#endif + +#endif /* PHELPER */ + +extern uintptr_t PyEval_EvalFrameEx; +extern uintptr_t PyEval_EvalCodeEx; + +#define copyin_obj(addr, obj) ((obj *)copyin((uintptr_t)addr, sizeof(obj))) +#define pystr_addr(addr) ((char *)addr + offsetof(PyStringObject, ob_sval)) +#define copyin_str(dest, addr, obj) \ + (copyinto((uintptr_t)pystr_addr(addr), obj->ob_size, (dest))) +#define add_str(addr, obj) \ + copyin_str(this->result + this->pos, addr, obj); \ + this->pos += obj->ob_size; \ + this->result[this->pos] = '0円'; +#define add_digit(nr, div) ((nr / div) ? \ + (this->result[this->pos++] = '0' + ((nr / div) % 10)) : \ + (this->result[this->pos] = '0円')) +#define add_char(c) (this->result[this->pos++] = c) + +probe /at_evalframe(arg0)/ +{ + this->framep = *(uintptr_t *)copyin(frame_ptr_addr, sizeof(uintptr_t)); + this->frameo = copyin_obj(this->framep, PyFrameObject); + this->codep = this->frameo->f_code; + this->lineno = this->frameo->f_calllineno; + this->codeo = copyin_obj(this->codep, PyCodeObject); + this->filenamep = this->codeo->co_filename; + this->fnamep = this->codeo->co_name; + this->filenameo = copyin_obj(this->filenamep, PyStringObject); + this->fnameo = copyin_obj(this->fnamep, PyStringObject); + + this->len = 1 + this->filenameo->ob_size + 1 + 5 + 2 + + this->fnameo->ob_size + 1 + 1; + + this->result = (char *)alloca(this->len); + this->pos = 0; + + add_char('@'); + add_str(this->filenamep, this->filenameo); + add_char(':'); + add_digit(this->lineno, 10000); + add_digit(this->lineno, 1000); + add_digit(this->lineno, 100); + add_digit(this->lineno, 10); + add_digit(this->lineno, 1); + add_char(' '); + add_char('('); + add_str(this->fnamep, this->fnameo); + add_char(')'); + this->result[this->pos] = '0円'; + + print_result(stringof(this->result)); +} + +probe /!at_evalframe(arg0)/ +{ + NULL; +} diff -r 3c3009f63700 -r 05fde8943685 Include/pydtrace.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Include/pydtrace.d Tue Nov 15 05:09:56 2011 +0100 @@ -0,0 +1,10 @@ +provider python { + probe function__entry(const char *, const char *, int); + probe function__return(const char *, const char *, int); +}; + +#pragma D attributes Evolving/Evolving/Common provider python provider +#pragma D attributes Private/Private/Common provider python module +#pragma D attributes Private/Private/Common provider python function +#pragma D attributes Evolving/Evolving/Common provider python name +#pragma D attributes Evolving/Evolving/Common provider python args diff -r 3c3009f63700 -r 05fde8943685 Include/pydtrace.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Include/pydtrace.h Tue Nov 15 05:09:56 2011 +0100 @@ -0,0 +1,45 @@ +/* + * Generated by dtrace(1M). + */ + +#ifndef _PYDTRACE_H +#define _PYDTRACE_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#if _DTRACE_VERSION + +#define PYTHON_FUNCTION_ENTRY(arg0, arg1, arg2) \ + __dtrace_python___function__entry(arg0, arg1, arg2) +#define PYTHON_FUNCTION_ENTRY_ENABLED() \ + __dtraceenabled_python___function__entry() +#define PYTHON_FUNCTION_RETURN(arg0, arg1, arg2) \ + __dtrace_python___function__return(arg0, arg1, arg2) +#define PYTHON_FUNCTION_RETURN_ENABLED() \ + __dtraceenabled_python___function__return() + + +extern void __dtrace_python___function__entry(char *, char *, int); +extern int __dtraceenabled_python___function__entry(void); +extern void __dtrace_python___function__return(char *, char *, int); +extern int __dtraceenabled_python___function__return(void); + +#else + +#define PYTHON_FUNCTION_ENTRY(arg0, arg1, arg2) +#define PYTHON_FUNCTION_ENTRY_ENABLED() (0) +#define PYTHON_FUNCTION_RETURN(arg0, arg1, arg2) +#define PYTHON_FUNCTION_RETURN_ENABLED() (0) + +#endif + + +#ifdef __cplusplus +} +#endif + +#endif /* _PYDTRACE_H */ diff -r 3c3009f63700 -r 05fde8943685 Makefile.pre.in --- a/Makefile.pre.in Mon Nov 14 18:04:05 2011 +0200 +++ b/Makefile.pre.in Tue Nov 15 05:09:56 2011 +0100 @@ -47,6 +47,10 @@ # Use this to make a link between python$(VERSION) and python in $(BINDIR) LN= @LN@ +DTRACE= @DTRACE@ +DFLAGS= @DFLAGS@ + + # Portable install script (configure doesn't always guess right) INSTALL= @INSTALL@ INSTALL_PROGRAM=@INSTALL_PROGRAM@ @@ -301,6 +305,7 @@ Python/formatter_unicode.o \ Python/formatter_string.o \ Python/$(DYNLOADFILE) \ + @DTRACEOBJS@ \ $(LIBOBJS) \ $(MACHDEP_OBJS) \ $(THREADOBJ) @@ -604,6 +609,37 @@ Python/formatter_string.o: $(srcdir)/Python/formatter_string.c \ $(STRINGLIB_HEADERS) +# Only generated on Solaris +Python/phelper.o: $(srcdir)/Include/phelper.d + if test "$(DTRACE)" != "" ; then \ + $(DTRACE) -o $@ -DPHELPER $(DFLAGS) \ + $(CPPFLAGS) -C -G -s $(srcdir)/Include/phelper.d ; \ + else touch $@ ; \ + fi; + +Include/pydtrace.h: $(srcdir)/Include/pydtrace.d + if test "$(DTRACE)" != "" ; then \ + $(DTRACE) -o $@ $(DFLAGS) \ + -C -h -s $(srcdir)/Include/pydtrace.d ; \ + else touch $@ ; \ + fi; + +Include/phelper.h: $(srcdir)/Include/phelper.d + if test "$(DTRACE)" != "" ; then \ + $(DTRACE) -o $@ $(DFLAGS) \ + -C -h -s $(srcdir)/Python/python.d ; \ + else touch $@ ; \ + fi; + +Python/ceval.o: Include/pydtrace.h + +Python/dtrace.o: $(srcdir)/Include/pydtrace.d Python/ceval.o + if test "$(DTRACE)" != "" ; then \ + $(DTRACE) -o $@ $(DFLAGS) \ + -C -G -s $(srcdir)/Include/pydtrace.d Python/ceval.o ; \ + else touch $@ ; \ + fi; + ############################################################################ # Header files @@ -1186,6 +1222,7 @@ find . -name '*.so.[0-9]*.[0-9]*' -exec rm -f {} ';' find build -name 'fficonfig.h' -exec rm -f {} ';' || true find build -name 'fficonfig.py' -exec rm -f {} ';' || true + rm -f Include/pydtrace.h Include/phelper.h -rm -f Lib/lib2to3/*Grammar*.pickle profile-removal: @@ -1214,6 +1251,7 @@ -o -name '*.orig' -o -name '*.rej' \ -o -name '*.bak' ')' \ -exec rm -f {} ';' + rm -f Include/pydtrace.h Include/phelper.h # Check for smelly exported symbols (not starting with Py/_Py) smelly: all diff -r 3c3009f63700 -r 05fde8943685 Objects/frameobject.c --- a/Objects/frameobject.c Mon Nov 14 18:04:05 2011 +0200 +++ b/Objects/frameobject.c Tue Nov 15 05:09:56 2011 +0100 @@ -736,6 +736,9 @@ f->f_tstate = tstate; f->f_lasti = -1; +#ifdef WITH_DTRACE + f->f_calllineno = code->co_firstlineno; +#endif f->f_lineno = code->co_firstlineno; f->f_iblock = 0; diff -r 3c3009f63700 -r 05fde8943685 Python/ceval.c --- a/Python/ceval.c Mon Nov 14 18:04:05 2011 +0200 +++ b/Python/ceval.c Tue Nov 15 05:09:56 2011 +0100 @@ -19,6 +19,10 @@ #include +#ifdef WITH_DTRACE +#include "pydtrace.h" +#endif + #ifndef WITH_TSC #define READ_TIMESTAMP(var) @@ -477,6 +481,7 @@ j = pendingfirst; if (j == pendinglast) { func = NULL; /* Queue empty */ + arg = NULL; } else { func = pendingcalls[j].func; arg = pendingcalls[j].arg; @@ -672,6 +677,55 @@ NULL); } +#ifdef WITH_DTRACE +static void +dtrace_entry(PyFrameObject *f) +{ + const char *filename; + const char *fname; + int lineno; + + filename = PyString_AsString(f->f_code->co_filename); + fname = PyString_AsString(f->f_code->co_name); + lineno = PyCode_Addr2Line(f->f_code, f->f_lasti); + + PYTHON_FUNCTION_ENTRY((char *)filename, (char *)fname, lineno); + + /* + * Currently a USDT tail-call will not receive the correct arguments. + * Disable the tail call here. + */ +#if defined(__sparc) + asm("nop"); +#endif +} + +static void +dtrace_return(PyFrameObject *f) +{ + const char *filename; + const char *fname; + int lineno; + + filename = PyString_AsString(f->f_code->co_filename); + fname = PyString_AsString(f->f_code->co_name); + lineno = PyCode_Addr2Line(f->f_code, f->f_lasti); + PYTHON_FUNCTION_RETURN((char *)filename, (char *)fname, lineno); + + /* + * Currently a USDT tail-call will not receive the correct arguments. + * Disable the tail call here. + */ +#if defined(__sparc) + asm("nop"); +#endif +} +#else +#define PYTHON_FUNCTION_ENTRY_ENABLED() 0 +#define PYTHON_FUNCTION_RETURN_ENABLED() 0 +#define dtrace_entry(f) +#define dtrace_return(f) +#endif /* Interpreter main loop */ @@ -683,9 +737,84 @@ return PyEval_EvalFrameEx(f, 0); } +/* + * These shenanigans look like utter madness, but what we're actually doing is + * making sure that the ustack helper will see the PyFrameObject pointer on the + * stack. We have two tricky cases: + * + * amd64 + * + * We use up the six registers for passing arguments, meaning the call can't + * use a register for passing 'f', and has to push it onto the stack in a known + * location. + * + * And how does "throwflag" figure in to this? -PN + * + * SPARC + * + * Here the problem is that (on 32-bit) the compiler is re-using %i0 before + * some calls inside PyEval_EvalFrameReal(), which means that when it's saved, + * it's just some junk value rather than the real first argument. So, instead, + * we trace our proxy PyEval_EvalFrame(), where we 'know' the compiler won't + * decide to re-use %i0. We also need to defeat optimization of our proxy. + */ + +#if defined(WITH_DTRACE) + +#if defined(__amd64) +PyObject *PyEval_EvalFrameExReal(long, long, long, long, long, long, + PyFrameObject *, int throwflag); + + + PyObject * PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) { + volatile PyObject *f2; + f2 = PyEval_EvalFrameExReal(0, 0, 0, 0, 0, 0, f, throwflag); + return (PyObject *)f2; +} + +PyObject * +PyEval_EvalFrameExReal(long a1, long a2, long a3, long a4, long a5, long a6, + PyFrameObject *f, int throwflag) +{ + +#elif defined(__sparc) + +PyObject *PyEval_EvalFrameExReal(PyFrameObject *f, int throwflag); + +volatile int dummy; + +PyObject * +PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) +{ + volatile PyObject *f2; + f2 = PyEval_EvalFrameExReal(f, throwflag); + dummy = f->ob_refcnt; + return (PyObject *)f2; +} + +PyObject * +PyEval_EvalFrameExReal(PyFrameObject *f, int throwflag) +{ + +#else /* __amd64 || __sparc */ + +PyObject * +PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) +{ + +#endif /* __amd64 || __sparc */ + +#else /* WITH_DTRACE not defined */ + +PyObject * +PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) +{ + +#endif /* WITH_DTRACE */ + #ifdef DXPAIRS int lastopcode = 0; #endif @@ -910,6 +1039,9 @@ } } + if (PYTHON_FUNCTION_ENTRY_ENABLED()) + dtrace_entry(f); + co = f->f_code; names = co->co_names; consts = co->co_consts; @@ -2660,6 +2792,10 @@ PyObject **sp; PCALL(PCALL_ALL); sp = stack_pointer; +#ifdef WITH_DTRACE + f->f_calllineno = PyCode_Addr2Line(f->f_code, + f->f_lasti); +#endif #ifdef WITH_TSC x = call_function(&sp, oparg, &intr0, &intr1); #else @@ -2701,6 +2837,11 @@ } else Py_INCREF(func); sp = stack_pointer; +#ifdef WITH_DTRACE + f->f_calllineno = PyCode_Addr2Line(f->f_code, + f->f_lasti); +#endif + READ_TIMESTAMP(intr0); x = ext_do_call(func, &sp, flags, na, nk); READ_TIMESTAMP(intr1); @@ -3001,6 +3142,8 @@ /* pop frame */ exit_eval_frame: + if (PYTHON_FUNCTION_RETURN_ENABLED()) + dtrace_return(f); Py_LeaveRecursiveCall(); tstate->frame = f->f_back; diff -r 3c3009f63700 -r 05fde8943685 configure --- a/configure Mon Nov 14 18:04:05 2011 +0200 +++ b/configure Tue Nov 15 05:09:56 2011 +0100 @@ -1,7 +1,7 @@ #! /bin/sh # From configure.in Revision. # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.67 for python 2.7. +# Generated by GNU Autoconf 2.68 for python 2.7. # # Report bugs to . # @@ -92,6 +92,7 @@ IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. +as_myself= case 0ドル in #(( *[\\/]* ) as_myself=0ドル ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -217,11 +218,18 @@ # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. + # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV)>/dev/null 2>&1 && unset BASH_ENV ENV export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} + case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; + esac + exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} fi if test x$as_have_required = xno; then : @@ -611,6 +619,10 @@ MACHDEP_OBJS DYNLOADFILE DLINCLDIR +DTRACEHDRS +DTRACEOBJS +DFLAGS +DTRACE THREADOBJ LDLAST USE_THREAD_MODULE @@ -754,6 +766,7 @@ with_tsc with_pymalloc with_valgrind +with_dtrace with_wctype_functions with_fpectl with_libm @@ -1174,7 +1187,7 @@ $as_echo "$as_me: WARNING: you should use --build, --host, --target">&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]">/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option">&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac @@ -1429,6 +1442,7 @@ --with(out)-tsc enable/disable timestamp counter profile --with(out)-pymalloc disable/enable specialized mallocs --with-valgrind Enable Valgrind support + --with(out)-dtrace disable/enable dtrace support --with-wctype-functions use wctype.h functions --with-fpectl enable SIGFPE catching --with-libm=STRING math library @@ -1511,7 +1525,7 @@ if $ac_init_version; then cat <<\_aceof python configure 2.7 -generated by GNU Autoconf 2.67 +generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation @@ -1557,7 +1571,7 @@ ac_retval=1 fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile @@ -1594,7 +1608,7 @@ ac_retval=1 fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp @@ -1607,10 +1621,10 @@ ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"1ドル"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if eval "test \"\${3ドル+set}\"" = set; then : + if eval \${3ドル+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 2ドル">&5 $as_echo_n "checking for 2ドル... ">&6; } -if eval "test \"\${3ドル+set}\"" = set; then : +if eval \${3ドル+:} false; then : $as_echo_n "(cached) ">&6 fi eval ac_res=\$3ドル @@ -1677,7 +1691,7 @@ esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 2ドル">&5 $as_echo_n "checking for 2ドル... ">&6; } -if eval "test \"\${3ドル+set}\"" = set; then : +if eval \${3ドル+:} false; then : $as_echo_n "(cached) ">&6 else eval "3ドル=\$ac_header_compiler" @@ -1686,7 +1700,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res">&5 $as_echo "$ac_res">&6; } fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel @@ -1727,7 +1741,7 @@ ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run @@ -1741,7 +1755,7 @@ as_lineno=${as_lineno-"1ドル"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 2ドル">&5 $as_echo_n "checking for 2ドル... ">&6; } -if eval "test \"\${3ドル+set}\"" = set; then : +if eval \${3ドル+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -1759,7 +1773,7 @@ eval ac_res=\$3ドル { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res">&5 $as_echo "$ac_res">&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile @@ -1804,7 +1818,7 @@ # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link @@ -1818,7 +1832,7 @@ as_lineno=${as_lineno-"1ドル"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 2ドル">&5 $as_echo_n "checking for 2ドル... ">&6; } -if eval "test \"\${3ドル+set}\"" = set; then : +if eval \${3ドル+:} false; then : $as_echo_n "(cached) ">&6 else eval "3ドル=no" @@ -1859,7 +1873,7 @@ eval ac_res=\$3ドル { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res">&5 $as_echo "$ac_res">&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_type @@ -1872,7 +1886,7 @@ as_lineno=${as_lineno-"1ドル"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint2ドル_t">&5 $as_echo_n "checking for uint2ドル_t... ">&6; } -if eval "test \"\${3ドル+set}\"" = set; then : +if eval \${3ドル+:} false; then : $as_echo_n "(cached) ">&6 else eval "3ドル=no" @@ -1912,7 +1926,7 @@ eval ac_res=\$3ドル { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res">&5 $as_echo "$ac_res">&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_find_uintX_t @@ -1925,7 +1939,7 @@ as_lineno=${as_lineno-"1ドル"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int2ドル_t">&5 $as_echo_n "checking for int2ドル_t... ">&6; } -if eval "test \"\${3ドル+set}\"" = set; then : +if eval \${3ドル+:} false; then : $as_echo_n "(cached) ">&6 else eval "3ドル=no" @@ -1986,7 +2000,7 @@ eval ac_res=\$3ドル { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res">&5 $as_echo "$ac_res">&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_find_intX_t @@ -2163,7 +2177,7 @@ rm -f conftest.val fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_compute_int @@ -2176,7 +2190,7 @@ as_lineno=${as_lineno-"1ドル"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 2ドル">&5 $as_echo_n "checking for 2ドル... ">&6; } -if eval "test \"\${3ドル+set}\"" = set; then : +if eval \${3ドル+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -2231,7 +2245,7 @@ eval ac_res=\$3ドル { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res">&5 $as_echo "$ac_res">&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func @@ -2244,7 +2258,7 @@ as_lineno=${as_lineno-"1ドル"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 2ドル.3ドル">&5 $as_echo_n "checking for 2ドル.3ドル... ">&6; } -if eval "test \"\${4ドル+set}\"" = set; then : +if eval \${4ドル+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -2288,7 +2302,7 @@ eval ac_res=\$4ドル { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res">&5 $as_echo "$ac_res">&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_member @@ -2303,7 +2317,7 @@ as_decl_use=`echo 2ドル|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared">&5 $as_echo_n "checking whether $as_decl_name is declared... ">&6; } -if eval "test \"\${3ドル+set}\"" = set; then : +if eval \${3ドル+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -2334,7 +2348,7 @@ eval ac_res=\$3ドル { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res">&5 $as_echo "$ac_res">&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_decl cat>config.log <<_aceof @@ -2342,7 +2356,7 @@ running configure, to aid debugging if configure makes a mistake. It was created by python $as_me 2.7, which was -generated by GNU Autoconf 2.67. Invocation command line was +generated by GNU Autoconf 2.68. Invocation command line was $ 0ドル $@ @@ -2600,7 +2614,7 @@ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error $? "failed to load site script $ac_site_file -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } fi done @@ -3241,7 +3255,7 @@ set dummy ${ac_tool_prefix}gcc; ac_word=2ドル { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word">&5 $as_echo_n "checking for $ac_word... ">&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) ">&6 else if test -n "$CC"; then @@ -3281,7 +3295,7 @@ set dummy gcc; ac_word=2ドル { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word">&5 $as_echo_n "checking for $ac_word... ">&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : +if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) ">&6 else if test -n "$ac_ct_CC"; then @@ -3334,7 +3348,7 @@ set dummy ${ac_tool_prefix}cc; ac_word=2ドル { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word">&5 $as_echo_n "checking for $ac_word... ">&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) ">&6 else if test -n "$CC"; then @@ -3374,7 +3388,7 @@ set dummy cc; ac_word=2ドル { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word">&5 $as_echo_n "checking for $ac_word... ">&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) ">&6 else if test -n "$CC"; then @@ -3433,7 +3447,7 @@ set dummy $ac_tool_prefix$ac_prog; ac_word=2ドル { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word">&5 $as_echo_n "checking for $ac_word... ">&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) ">&6 else if test -n "$CC"; then @@ -3477,7 +3491,7 @@ set dummy $ac_prog; ac_word=2ドル { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word">&5 $as_echo_n "checking for $ac_word... ">&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : +if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) ">&6 else if test -n "$ac_ct_CC"; then @@ -3532,7 +3546,7 @@ test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error $? "no acceptable C compiler found in \$PATH -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version">&5 @@ -3647,7 +3661,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error 77 "C compiler cannot create executables -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes">&5 $as_echo "yes">&6; } @@ -3690,7 +3704,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext">&5 @@ -3749,7 +3763,7 @@ $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } fi fi fi @@ -3760,7 +3774,7 @@ ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files">&5 $as_echo_n "checking for suffix of object files... ">&6; } -if test "${ac_cv_objext+set}" = set; then : +if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -3801,7 +3815,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi @@ -3811,7 +3825,7 @@ ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler">&5 $as_echo_n "checking whether we are using the GNU C compiler... ">&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then : +if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -3848,7 +3862,7 @@ ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g">&5 $as_echo_n "checking whether $CC accepts -g... ">&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then : +if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) ">&6 else ac_save_c_werror_flag=$ac_c_werror_flag @@ -3926,7 +3940,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89">&5 $as_echo_n "checking for $CC option to accept ISO C89... ">&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then : +if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) ">&6 else ac_cv_prog_cc_c89=no @@ -4065,7 +4079,7 @@ set dummy g++; ac_word=2ドル { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word">&5 $as_echo_n "checking for $ac_word... ">&6; } -if test "${ac_cv_path_CXX+set}" = set; then : +if ${ac_cv_path_CXX+:} false; then : $as_echo_n "(cached) ">&6 else case $CXX in @@ -4106,7 +4120,7 @@ set dummy c++; ac_word=2ドル { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word">&5 $as_echo_n "checking for $ac_word... ">&6; } -if test "${ac_cv_path_CXX+set}" = set; then : +if ${ac_cv_path_CXX+:} false; then : $as_echo_n "(cached) ">&6 else case $CXX in @@ -4157,7 +4171,7 @@ set dummy $ac_prog; ac_word=2ドル { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word">&5 $as_echo_n "checking for $ac_word... ">&6; } -if test "${ac_cv_prog_CXX+set}" = set; then : +if ${ac_cv_prog_CXX+:} false; then : $as_echo_n "(cached) ">&6 else if test -n "$CXX"; then @@ -4228,7 +4242,7 @@ CPP= fi if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then : + if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) ">&6 else # Double quotes because CPP needs to be expanded @@ -4344,7 +4358,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c @@ -4356,7 +4370,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e">&5 $as_echo_n "checking for grep that handles long lines and -e... ">&6; } -if test "${ac_cv_path_GREP+set}" = set; then : +if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) ">&6 else if test -z "$GREP"; then @@ -4419,7 +4433,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep">&5 $as_echo_n "checking for egrep... ">&6; } -if test "${ac_cv_path_EGREP+set}" = set; then : +if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) ">&6 else if echo a | $GREP -E '(a|b)'>/dev/null 2>&1 @@ -4486,7 +4500,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files">&5 $as_echo_n "checking for ANSI C header files... ">&6; } -if test "${ac_cv_header_stdc+set}" = set; then : +if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -4615,7 +4629,7 @@ ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" -if test "x$ac_cv_header_minix_config_h" = x""yes; then : +if test "x$ac_cv_header_minix_config_h" = xyes; then : MINIX=yes else MINIX= @@ -4637,7 +4651,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__">&5 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... ">&6; } -if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : +if ${ac_cv_safe_to_define___extensions__+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -4981,7 +4995,7 @@ set dummy ${ac_tool_prefix}ranlib; ac_word=2ドル { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word">&5 $as_echo_n "checking for $ac_word... ">&6; } -if test "${ac_cv_prog_RANLIB+set}" = set; then : +if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) ">&6 else if test -n "$RANLIB"; then @@ -5021,7 +5035,7 @@ set dummy ranlib; ac_word=2ドル { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word">&5 $as_echo_n "checking for $ac_word... ">&6; } -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) ">&6 else if test -n "$ac_ct_RANLIB"; then @@ -5075,7 +5089,7 @@ set dummy $ac_prog; ac_word=2ドル { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word">&5 $as_echo_n "checking for $ac_word... ">&6; } -if test "${ac_cv_prog_AR+set}" = set; then : +if ${ac_cv_prog_AR+:} false; then : $as_echo_n "(cached) ">&6 else if test -n "$AR"; then @@ -5125,7 +5139,7 @@ set dummy svnversion; ac_word=2ドル { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word">&5 $as_echo_n "checking for $ac_word... ">&6; } -if test "${ac_cv_prog_SVNVERSION+set}" = set; then : +if ${ac_cv_prog_SVNVERSION+:} false; then : $as_echo_n "(cached) ">&6 else if test -n "$SVNVERSION"; then @@ -5173,7 +5187,7 @@ set dummy hg; ac_word=2ドル { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word">&5 $as_echo_n "checking for $ac_word... ">&6; } -if test "${ac_cv_prog_HAS_HG+set}" = set; then : +if ${ac_cv_prog_HAS_HG+:} false; then : $as_echo_n "(cached) ">&6 else if test -n "$HAS_HG"; then @@ -5272,7 +5286,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install">&5 $as_echo_n "checking for a BSD-compatible install... ">&6; } if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then : +if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) ">&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -5459,7 +5473,7 @@ $as_echo_n "checking whether $CC accepts -fno-strict-aliasing... ">&6; } ac_save_cc="$CC" CC="$CC -fno-strict-aliasing" - if test "${ac_cv_no_strict_aliasing_ok+set}" = set; then : + if ${ac_cv_no_strict_aliasing_ok+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -5649,7 +5663,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -OPT:Olimit=0">&5 $as_echo_n "checking whether $CC accepts -OPT:Olimit=0... ">&6; } -if test "${ac_cv_opt_olimit_ok+set}" = set; then : +if ${ac_cv_opt_olimit_ok+:} false; then : $as_echo_n "(cached) ">&6 else ac_save_cc="$CC" @@ -5691,7 +5705,7 @@ else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Olimit 1500">&5 $as_echo_n "checking whether $CC accepts -Olimit 1500... ">&6; } - if test "${ac_cv_olimit_ok+set}" = set; then : + if ${ac_cv_olimit_ok+:} false; then : $as_echo_n "(cached) ">&6 else ac_save_cc="$CC" @@ -5769,7 +5783,7 @@ # options before we can check whether -Kpthread improves anything. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads are available without options">&5 $as_echo_n "checking whether pthreads are available without options... ">&6; } -if test "${ac_cv_pthread_is_default+set}" = set; then : +if ${ac_cv_pthread_is_default+:} false; then : $as_echo_n "(cached) ">&6 else if test "$cross_compiling" = yes; then : @@ -5822,7 +5836,7 @@ # function available. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Kpthread">&5 $as_echo_n "checking whether $CC accepts -Kpthread... ">&6; } -if test "${ac_cv_kpthread+set}" = set; then : +if ${ac_cv_kpthread+:} false; then : $as_echo_n "(cached) ">&6 else ac_save_cc="$CC" @@ -5871,7 +5885,7 @@ # function available. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Kthread">&5 $as_echo_n "checking whether $CC accepts -Kthread... ">&6; } -if test "${ac_cv_kthread+set}" = set; then : +if ${ac_cv_kthread+:} false; then : $as_echo_n "(cached) ">&6 else ac_save_cc="$CC" @@ -5920,7 +5934,7 @@ # function available. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -pthread">&5 $as_echo_n "checking whether $CC accepts -pthread... ">&6; } -if test "${ac_cv_thread+set}" = set; then : +if ${ac_cv_thread+:} false; then : $as_echo_n "(cached) ">&6 else ac_save_cc="$CC" @@ -6005,7 +6019,7 @@ # checks for header files { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files">&5 $as_echo_n "checking for ANSI C header files... ">&6; } -if test "${ac_cv_header_stdc+set}" = set; then : +if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -6144,7 +6158,7 @@ as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR">&5 $as_echo_n "checking for $ac_hdr that defines DIR... ">&6; } -if eval "test \"\${$as_ac_Header+set}\"" = set; then : +if eval \${$as_ac_Header+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -6184,7 +6198,7 @@ if test $ac_header_dirent = dirent.h; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir">&5 $as_echo_n "checking for library containing opendir... ">&6; } -if test "${ac_cv_search_opendir+set}" = set; then : +if ${ac_cv_search_opendir+:} false; then : $as_echo_n "(cached) ">&6 else ac_func_search_save_LIBS=$LIBS @@ -6218,11 +6232,11 @@ fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext - if test "${ac_cv_search_opendir+set}" = set; then : + if ${ac_cv_search_opendir+:} false; then : break fi done -if test "${ac_cv_search_opendir+set}" = set; then : +if ${ac_cv_search_opendir+:} false; then : else ac_cv_search_opendir=no @@ -6241,7 +6255,7 @@ else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir">&5 $as_echo_n "checking for library containing opendir... ">&6; } -if test "${ac_cv_search_opendir+set}" = set; then : +if ${ac_cv_search_opendir+:} false; then : $as_echo_n "(cached) ">&6 else ac_func_search_save_LIBS=$LIBS @@ -6275,11 +6289,11 @@ fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext - if test "${ac_cv_search_opendir+set}" = set; then : + if ${ac_cv_search_opendir+:} false; then : break fi done -if test "${ac_cv_search_opendir+set}" = set; then : +if ${ac_cv_search_opendir+:} false; then : else ac_cv_search_opendir=no @@ -6299,7 +6313,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev">&5 $as_echo_n "checking whether sys/types.h defines makedev... ">&6; } -if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then : +if ${ac_cv_header_sys_types_h_makedev+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -6327,7 +6341,7 @@ if test $ac_cv_header_sys_types_h_makedev = no; then ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_mkdev_h" = x""yes; then : +if test "x$ac_cv_header_sys_mkdev_h" = xyes; then : $as_echo "#define MAJOR_IN_MKDEV 1">>confdefs.h @@ -6337,7 +6351,7 @@ if test $ac_cv_header_sys_mkdev_h = no; then ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_sysmacros_h" = x""yes; then : +if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then : $as_echo "#define MAJOR_IN_SYSMACROS 1">>confdefs.h @@ -6357,7 +6371,7 @@ #endif " -if test "x$ac_cv_header_term_h" = x""yes; then : +if test "x$ac_cv_header_term_h" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_TERM_H 1 _ACEOF @@ -6379,7 +6393,7 @@ #endif " -if test "x$ac_cv_header_linux_netlink_h" = x""yes; then : +if test "x$ac_cv_header_linux_netlink_h" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_LINUX_NETLINK_H 1 _ACEOF @@ -6542,7 +6556,7 @@ # Type availability checks ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" -if test "x$ac_cv_type_mode_t" = x""yes; then : +if test "x$ac_cv_type_mode_t" = xyes; then : else @@ -6553,7 +6567,7 @@ fi ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" -if test "x$ac_cv_type_off_t" = x""yes; then : +if test "x$ac_cv_type_off_t" = xyes; then : else @@ -6564,7 +6578,7 @@ fi ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" -if test "x$ac_cv_type_pid_t" = x""yes; then : +if test "x$ac_cv_type_pid_t" = xyes; then : else @@ -6580,7 +6594,7 @@ _ACEOF ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" -if test "x$ac_cv_type_size_t" = x""yes; then : +if test "x$ac_cv_type_size_t" = xyes; then : else @@ -6592,7 +6606,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h">&5 $as_echo_n "checking for uid_t in sys/types.h... ">&6; } -if test "${ac_cv_type_uid_t+set}" = set; then : +if ${ac_cv_type_uid_t+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -6671,7 +6685,7 @@ esac ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" -if test "x$ac_cv_type_ssize_t" = x""yes; then : +if test "x$ac_cv_type_ssize_t" = xyes; then : $as_echo "#define HAVE_SSIZE_T 1">>confdefs.h @@ -6686,7 +6700,7 @@ # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int">&5 $as_echo_n "checking size of int... ">&6; } -if test "${ac_cv_sizeof_int+set}" = set; then : +if ${ac_cv_sizeof_int+:} false; then : $as_echo_n "(cached) ">&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : @@ -6696,7 +6710,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error 77 "cannot compute sizeof (int) -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_int=0 fi @@ -6719,7 +6733,7 @@ # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long">&5 $as_echo_n "checking size of long... ">&6; } -if test "${ac_cv_sizeof_long+set}" = set; then : +if ${ac_cv_sizeof_long+:} false; then : $as_echo_n "(cached) ">&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : @@ -6729,7 +6743,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error 77 "cannot compute sizeof (long) -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_long=0 fi @@ -6752,7 +6766,7 @@ # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *">&5 $as_echo_n "checking size of void *... ">&6; } -if test "${ac_cv_sizeof_void_p+set}" = set; then : +if ${ac_cv_sizeof_void_p+:} false; then : $as_echo_n "(cached) ">&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : @@ -6762,7 +6776,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error 77 "cannot compute sizeof (void *) -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_void_p=0 fi @@ -6785,7 +6799,7 @@ # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short">&5 $as_echo_n "checking size of short... ">&6; } -if test "${ac_cv_sizeof_short+set}" = set; then : +if ${ac_cv_sizeof_short+:} false; then : $as_echo_n "(cached) ">&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : @@ -6795,7 +6809,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error 77 "cannot compute sizeof (short) -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_short=0 fi @@ -6818,7 +6832,7 @@ # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float">&5 $as_echo_n "checking size of float... ">&6; } -if test "${ac_cv_sizeof_float+set}" = set; then : +if ${ac_cv_sizeof_float+:} false; then : $as_echo_n "(cached) ">&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then : @@ -6828,7 +6842,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error 77 "cannot compute sizeof (float) -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_float=0 fi @@ -6851,7 +6865,7 @@ # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double">&5 $as_echo_n "checking size of double... ">&6; } -if test "${ac_cv_sizeof_double+set}" = set; then : +if ${ac_cv_sizeof_double+:} false; then : $as_echo_n "(cached) ">&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then : @@ -6861,7 +6875,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error 77 "cannot compute sizeof (double) -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_double=0 fi @@ -6884,7 +6898,7 @@ # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of fpos_t">&5 $as_echo_n "checking size of fpos_t... ">&6; } -if test "${ac_cv_sizeof_fpos_t+set}" = set; then : +if ${ac_cv_sizeof_fpos_t+:} false; then : $as_echo_n "(cached) ">&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (fpos_t))" "ac_cv_sizeof_fpos_t" "$ac_includes_default"; then : @@ -6894,7 +6908,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error 77 "cannot compute sizeof (fpos_t) -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_fpos_t=0 fi @@ -6917,7 +6931,7 @@ # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t">&5 $as_echo_n "checking size of size_t... ">&6; } -if test "${ac_cv_sizeof_size_t+set}" = set; then : +if ${ac_cv_sizeof_size_t+:} false; then : $as_echo_n "(cached) ">&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then : @@ -6927,7 +6941,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error 77 "cannot compute sizeof (size_t) -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_size_t=0 fi @@ -6950,7 +6964,7 @@ # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pid_t">&5 $as_echo_n "checking size of pid_t... ">&6; } -if test "${ac_cv_sizeof_pid_t+set}" = set; then : +if ${ac_cv_sizeof_pid_t+:} false; then : $as_echo_n "(cached) ">&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (pid_t))" "ac_cv_sizeof_pid_t" "$ac_includes_default"; then : @@ -6960,7 +6974,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error 77 "cannot compute sizeof (pid_t) -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_pid_t=0 fi @@ -7010,7 +7024,7 @@ # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long">&5 $as_echo_n "checking size of long long... ">&6; } -if test "${ac_cv_sizeof_long_long+set}" = set; then : +if ${ac_cv_sizeof_long_long+:} false; then : $as_echo_n "(cached) ">&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : @@ -7020,7 +7034,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error 77 "cannot compute sizeof (long long) -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_long_long=0 fi @@ -7071,7 +7085,7 @@ # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double">&5 $as_echo_n "checking size of long double... ">&6; } -if test "${ac_cv_sizeof_long_double+set}" = set; then : +if ${ac_cv_sizeof_long_double+:} false; then : $as_echo_n "(cached) ">&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then : @@ -7081,7 +7095,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error 77 "cannot compute sizeof (long double) -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_long_double=0 fi @@ -7132,7 +7146,7 @@ # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of _Bool">&5 $as_echo_n "checking size of _Bool... ">&6; } -if test "${ac_cv_sizeof__Bool+set}" = set; then : +if ${ac_cv_sizeof__Bool+:} false; then : $as_echo_n "(cached) ">&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (_Bool))" "ac_cv_sizeof__Bool" "$ac_includes_default"; then : @@ -7142,7 +7156,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error 77 "cannot compute sizeof (_Bool) -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof__Bool=0 fi @@ -7168,7 +7182,7 @@ #include #endif " -if test "x$ac_cv_type_uintptr_t" = x""yes; then : +if test "x$ac_cv_type_uintptr_t" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_UINTPTR_T 1 @@ -7180,7 +7194,7 @@ # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintptr_t">&5 $as_echo_n "checking size of uintptr_t... ">&6; } -if test "${ac_cv_sizeof_uintptr_t+set}" = set; then : +if ${ac_cv_sizeof_uintptr_t+:} false; then : $as_echo_n "(cached) ">&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uintptr_t))" "ac_cv_sizeof_uintptr_t" "$ac_includes_default"; then : @@ -7190,7 +7204,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error 77 "cannot compute sizeof (uintptr_t) -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_uintptr_t=0 fi @@ -7216,7 +7230,7 @@ # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t">&5 $as_echo_n "checking size of off_t... ">&6; } -if test "${ac_cv_sizeof_off_t+set}" = set; then : +if ${ac_cv_sizeof_off_t+:} false; then : $as_echo_n "(cached) ">&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" " @@ -7231,7 +7245,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error 77 "cannot compute sizeof (off_t) -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_off_t=0 fi @@ -7275,7 +7289,7 @@ # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t">&5 $as_echo_n "checking size of time_t... ">&6; } -if test "${ac_cv_sizeof_time_t+set}" = set; then : +if ${ac_cv_sizeof_time_t+:} false; then : $as_echo_n "(cached) ">&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t" " @@ -7293,7 +7307,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error 77 "cannot compute sizeof (time_t) -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_time_t=0 fi @@ -7349,7 +7363,7 @@ # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pthread_t">&5 $as_echo_n "checking size of pthread_t... ">&6; } -if test "${ac_cv_sizeof_pthread_t+set}" = set; then : +if ${ac_cv_sizeof_pthread_t+:} false; then : $as_echo_n "(cached) ">&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (pthread_t))" "ac_cv_sizeof_pthread_t" " @@ -7364,7 +7378,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error 77 "cannot compute sizeof (pthread_t) -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_pthread_t=0 fi @@ -7876,7 +7890,7 @@ # checks for libraries { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl">&5 $as_echo_n "checking for dlopen in -ldl... ">&6; } -if test "${ac_cv_lib_dl_dlopen+set}" = set; then : +if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -7910,7 +7924,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen">&5 $as_echo "$ac_cv_lib_dl_dlopen">&6; } -if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_LIBDL 1 _ACEOF @@ -7921,7 +7935,7 @@ # Dynamic linking for SunOS/Solaris and SYSV { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld">&5 $as_echo_n "checking for shl_load in -ldld... ">&6; } -if test "${ac_cv_lib_dld_shl_load+set}" = set; then : +if ${ac_cv_lib_dld_shl_load+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -7955,7 +7969,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load">&5 $as_echo "$ac_cv_lib_dld_shl_load">&6; } -if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : +if test "x$ac_cv_lib_dld_shl_load" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_LIBDLD 1 _ACEOF @@ -7969,7 +7983,7 @@ if test "$with_threads" = "yes" -o -z "$with_threads"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sem_init">&5 $as_echo_n "checking for library containing sem_init... ">&6; } -if test "${ac_cv_search_sem_init+set}" = set; then : +if ${ac_cv_search_sem_init+:} false; then : $as_echo_n "(cached) ">&6 else ac_func_search_save_LIBS=$LIBS @@ -8003,11 +8017,11 @@ fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext - if test "${ac_cv_search_sem_init+set}" = set; then : + if ${ac_cv_search_sem_init+:} false; then : break fi done -if test "${ac_cv_search_sem_init+set}" = set; then : +if ${ac_cv_search_sem_init+:} false; then : else ac_cv_search_sem_init=no @@ -8030,7 +8044,7 @@ # check if we need libintl for locale functions { $as_echo "$as_me:${as_lineno-$LINENO}: checking for textdomain in -lintl">&5 $as_echo_n "checking for textdomain in -lintl... ">&6; } -if test "${ac_cv_lib_intl_textdomain+set}" = set; then : +if ${ac_cv_lib_intl_textdomain+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -8064,7 +8078,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_textdomain">&5 $as_echo "$ac_cv_lib_intl_textdomain">&6; } -if test "x$ac_cv_lib_intl_textdomain" = x""yes; then : +if test "x$ac_cv_lib_intl_textdomain" = xyes; then : $as_echo "#define WITH_LIBINTL 1">>confdefs.h @@ -8111,7 +8125,7 @@ # BeOS' sockets are stashed in libnet. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for t_open in -lnsl">&5 $as_echo_n "checking for t_open in -lnsl... ">&6; } -if test "${ac_cv_lib_nsl_t_open+set}" = set; then : +if ${ac_cv_lib_nsl_t_open+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -8145,13 +8159,13 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_t_open">&5 $as_echo "$ac_cv_lib_nsl_t_open">&6; } -if test "x$ac_cv_lib_nsl_t_open" = x""yes; then : +if test "x$ac_cv_lib_nsl_t_open" = xyes; then : LIBS="-lnsl $LIBS" fi # SVR4 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket">&5 $as_echo_n "checking for socket in -lsocket... ">&6; } -if test "${ac_cv_lib_socket_socket+set}" = set; then : +if ${ac_cv_lib_socket_socket+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -8185,7 +8199,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket">&5 $as_echo "$ac_cv_lib_socket_socket">&6; } -if test "x$ac_cv_lib_socket_socket" = x""yes; then : +if test "x$ac_cv_lib_socket_socket" = xyes; then : LIBS="-lsocket $LIBS" fi # SVR4 sockets @@ -8194,7 +8208,7 @@ BeOS*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnet">&5 $as_echo_n "checking for socket in -lnet... ">&6; } -if test "${ac_cv_lib_net_socket+set}" = set; then : +if ${ac_cv_lib_net_socket+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -8228,7 +8242,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_net_socket">&5 $as_echo "$ac_cv_lib_net_socket">&6; } -if test "x$ac_cv_lib_net_socket" = x""yes; then : +if test "x$ac_cv_lib_net_socket" = xyes; then : LIBS="-lnet $LIBS" fi # BeOS @@ -8256,7 +8270,7 @@ set dummy ${ac_tool_prefix}pkg-config; ac_word=2ドル { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word">&5 $as_echo_n "checking for $ac_word... ">&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) ">&6 else case $PKG_CONFIG in @@ -8299,7 +8313,7 @@ set dummy pkg-config; ac_word=2ドル { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word">&5 $as_echo_n "checking for $ac_word... ">&6; } -if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) ">&6 else case $ac_pt_PKG_CONFIG in @@ -8567,7 +8581,7 @@ $as_echo "#define _REENTRANT 1">>confdefs.h ac_fn_c_check_header_mongrel "$LINENO" "cthreads.h" "ac_cv_header_cthreads_h" "$ac_includes_default" -if test "x$ac_cv_header_cthreads_h" = x""yes; then : +if test "x$ac_cv_header_cthreads_h" = xyes; then : $as_echo "#define WITH_THREAD 1">>confdefs.h $as_echo "#define C_THREADS 1">>confdefs.h @@ -8580,7 +8594,7 @@ else ac_fn_c_check_header_mongrel "$LINENO" "mach/cthreads.h" "ac_cv_header_mach_cthreads_h" "$ac_includes_default" -if test "x$ac_cv_header_mach_cthreads_h" = x""yes; then : +if test "x$ac_cv_header_mach_cthreads_h" = xyes; then : $as_echo "#define WITH_THREAD 1">>confdefs.h $as_echo "#define C_THREADS 1">>confdefs.h @@ -8642,7 +8656,7 @@ LIBS=$_libs ac_fn_c_check_func "$LINENO" "pthread_detach" "ac_cv_func_pthread_detach" -if test "x$ac_cv_func_pthread_detach" = x""yes; then : +if test "x$ac_cv_func_pthread_detach" = xyes; then : $as_echo "#define WITH_THREAD 1">>confdefs.h posix_threads=yes @@ -8650,7 +8664,7 @@ else ac_fn_c_check_header_mongrel "$LINENO" "atheos/threads.h" "ac_cv_header_atheos_threads_h" "$ac_includes_default" -if test "x$ac_cv_header_atheos_threads_h" = x""yes; then : +if test "x$ac_cv_header_atheos_threads_h" = xyes; then : $as_echo "#define WITH_THREAD 1">>confdefs.h @@ -8660,7 +8674,7 @@ else ac_fn_c_check_header_mongrel "$LINENO" "kernel/OS.h" "ac_cv_header_kernel_OS_h" "$ac_includes_default" -if test "x$ac_cv_header_kernel_OS_h" = x""yes; then : +if test "x$ac_cv_header_kernel_OS_h" = xyes; then : $as_echo "#define WITH_THREAD 1">>confdefs.h @@ -8671,7 +8685,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthreads">&5 $as_echo_n "checking for pthread_create in -lpthreads... ">&6; } -if test "${ac_cv_lib_pthreads_pthread_create+set}" = set; then : +if ${ac_cv_lib_pthreads_pthread_create+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -8705,7 +8719,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_create">&5 $as_echo "$ac_cv_lib_pthreads_pthread_create">&6; } -if test "x$ac_cv_lib_pthreads_pthread_create" = x""yes; then : +if test "x$ac_cv_lib_pthreads_pthread_create" = xyes; then : $as_echo "#define WITH_THREAD 1">>confdefs.h posix_threads=yes @@ -8715,7 +8729,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_r">&5 $as_echo_n "checking for pthread_create in -lc_r... ">&6; } -if test "${ac_cv_lib_c_r_pthread_create+set}" = set; then : +if ${ac_cv_lib_c_r_pthread_create+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -8749,7 +8763,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_create">&5 $as_echo "$ac_cv_lib_c_r_pthread_create">&6; } -if test "x$ac_cv_lib_c_r_pthread_create" = x""yes; then : +if test "x$ac_cv_lib_c_r_pthread_create" = xyes; then : $as_echo "#define WITH_THREAD 1">>confdefs.h posix_threads=yes @@ -8759,7 +8773,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __pthread_create_system in -lpthread">&5 $as_echo_n "checking for __pthread_create_system in -lpthread... ">&6; } -if test "${ac_cv_lib_pthread___pthread_create_system+set}" = set; then : +if ${ac_cv_lib_pthread___pthread_create_system+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -8793,7 +8807,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread___pthread_create_system">&5 $as_echo "$ac_cv_lib_pthread___pthread_create_system">&6; } -if test "x$ac_cv_lib_pthread___pthread_create_system" = x""yes; then : +if test "x$ac_cv_lib_pthread___pthread_create_system" = xyes; then : $as_echo "#define WITH_THREAD 1">>confdefs.h posix_threads=yes @@ -8803,7 +8817,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lcma">&5 $as_echo_n "checking for pthread_create in -lcma... ">&6; } -if test "${ac_cv_lib_cma_pthread_create+set}" = set; then : +if ${ac_cv_lib_cma_pthread_create+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -8837,7 +8851,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cma_pthread_create">&5 $as_echo "$ac_cv_lib_cma_pthread_create">&6; } -if test "x$ac_cv_lib_cma_pthread_create" = x""yes; then : +if test "x$ac_cv_lib_cma_pthread_create" = xyes; then : $as_echo "#define WITH_THREAD 1">>confdefs.h posix_threads=yes @@ -8877,7 +8891,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usconfig in -lmpc">&5 $as_echo_n "checking for usconfig in -lmpc... ">&6; } -if test "${ac_cv_lib_mpc_usconfig+set}" = set; then : +if ${ac_cv_lib_mpc_usconfig+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -8911,7 +8925,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpc_usconfig">&5 $as_echo "$ac_cv_lib_mpc_usconfig">&6; } -if test "x$ac_cv_lib_mpc_usconfig" = x""yes; then : +if test "x$ac_cv_lib_mpc_usconfig" = xyes; then : $as_echo "#define WITH_THREAD 1">>confdefs.h LIBS="$LIBS -lmpc" @@ -8923,7 +8937,7 @@ if test "$posix_threads" != "yes"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thr_create in -lthread">&5 $as_echo_n "checking for thr_create in -lthread... ">&6; } -if test "${ac_cv_lib_thread_thr_create+set}" = set; then : +if ${ac_cv_lib_thread_thr_create+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -8957,7 +8971,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thread_thr_create">&5 $as_echo "$ac_cv_lib_thread_thr_create">&6; } -if test "x$ac_cv_lib_thread_thr_create" = x""yes; then : +if test "x$ac_cv_lib_thread_thr_create" = xyes; then : $as_echo "#define WITH_THREAD 1">>confdefs.h LIBS="$LIBS -lthread" @@ -9002,7 +9016,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if PTHREAD_SCOPE_SYSTEM is supported">&5 $as_echo_n "checking if PTHREAD_SCOPE_SYSTEM is supported... ">&6; } - if test "${ac_cv_pthread_system_supported+set}" = set; then : + if ${ac_cv_pthread_system_supported+:} false; then : $as_echo_n "(cached) ">&6 else if test "$cross_compiling" = yes; then : @@ -9045,7 +9059,7 @@ for ac_func in pthread_sigmask do : ac_fn_c_check_func "$LINENO" "pthread_sigmask" "ac_cv_func_pthread_sigmask" -if test "x$ac_cv_func_pthread_sigmask" = x""yes; then : +if test "x$ac_cv_func_pthread_sigmask" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_PTHREAD_SIGMASK 1 _ACEOF @@ -9435,7 +9449,7 @@ $as_echo "$with_valgrind">&6; } if test "$with_valgrind" != no; then ac_fn_c_check_header_mongrel "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default" -if test "x$ac_cv_header_valgrind_valgrind_h" = x""yes; then : +if test "x$ac_cv_header_valgrind_valgrind_h" = xyes; then : $as_echo "#define WITH_VALGRIND 1">>confdefs.h @@ -9447,6 +9461,93 @@ fi +# Check for dtrace support +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-dtrace">&5 +$as_echo_n "checking for --with-dtrace... ">&6; } + +# Check whether --with-dtrace was given. +if test "${with_dtrace+set}" = set; then : + withval=$with_dtrace; +fi + + + + +DTRACE= +DFLAGS= +if test ! -z "$with_dtrace" +then + # The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char))>= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long">&5 +$as_echo_n "checking size of long... ">&6; } +if ${ac_cv_sizeof_long+:} false; then : + $as_echo_n "(cached) ">&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : + +else + if test "$ac_cv_type_long" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 +$as_echo "$as_me: error: in \`$ac_pwd':">&2;} +as_fn_error 77 "cannot compute sizeof (long) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_long=0 + fi +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long">&5 +$as_echo "$ac_cv_sizeof_long">&6; } + + + +cat>>confdefs.h <<_aceof +#define SIZEOF_LONG $ac_cv_sizeof_long +_ACEOF + + + if test "$ac_cv_sizeof_long" -eq 8 + then + DFLAGS="-64" + else + DFLAGS="-32" + fi + + #if dtrace -G -o /dev/null Include/pydtrace.d 2>/dev/null + if true + then + +$as_echo "#define WITH_DTRACE 1">>confdefs.h + + with_dtrace="Sun" + DTRACEOBJS="Python/phelper.o Python/dtrace.o" + DTRADEHDRS="" + DTRACE=dtrace + elif dtrace -h -o /dev/null -s Include/pydtrace.d + then + +$as_echo "#define WITH_DTRACE 1">>confdefs.h + + with_dtrace="Apple" + DTRACEOBJS="" + DTRADEHDRS="phelper.h pydtrace.h" + DTRACE=dtrace + else + with_dtrace="no" + fi +else + with_dtrace="no" +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_dtrace">&5 +$as_echo "$with_dtrace">&6; } + + + # Check for --with-wctype-functions { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-wctype-functions">&5 $as_echo_n "checking for --with-wctype-functions... ">&6; } @@ -9479,7 +9580,7 @@ for ac_func in dlopen do : ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" -if test "x$ac_cv_func_dlopen" = x""yes; then : +if test "x$ac_cv_func_dlopen" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_DLOPEN 1 _ACEOF @@ -9809,7 +9910,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock declaration">&5 $as_echo_n "checking for flock declaration... ">&6; } -if test "${ac_cv_flock_decl+set}" = set; then : +if ${ac_cv_flock_decl+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -9839,7 +9940,7 @@ for ac_func in flock do : ac_fn_c_check_func "$LINENO" "flock" "ac_cv_func_flock" -if test "x$ac_cv_func_flock" = x""yes; then : +if test "x$ac_cv_func_flock" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_FLOCK 1 _ACEOF @@ -9847,7 +9948,7 @@ else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock in -lbsd">&5 $as_echo_n "checking for flock in -lbsd... ">&6; } -if test "${ac_cv_lib_bsd_flock+set}" = set; then : +if ${ac_cv_lib_bsd_flock+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -9881,7 +9982,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_flock">&5 $as_echo "$ac_cv_lib_bsd_flock">&6; } -if test "x$ac_cv_lib_bsd_flock" = x""yes; then : +if test "x$ac_cv_lib_bsd_flock" = xyes; then : $as_echo "#define HAVE_FLOCK 1">>confdefs.h @@ -9930,7 +10031,7 @@ set dummy $ac_prog; ac_word=2ドル { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word">&5 $as_echo_n "checking for $ac_word... ">&6; } -if test "${ac_cv_prog_TRUE+set}" = set; then : +if ${ac_cv_prog_TRUE+:} false; then : $as_echo_n "(cached) ">&6 else if test -n "$TRUE"; then @@ -9970,7 +10071,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lc">&5 $as_echo_n "checking for inet_aton in -lc... ">&6; } -if test "${ac_cv_lib_c_inet_aton+set}" = set; then : +if ${ac_cv_lib_c_inet_aton+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -10004,12 +10105,12 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inet_aton">&5 $as_echo "$ac_cv_lib_c_inet_aton">&6; } -if test "x$ac_cv_lib_c_inet_aton" = x""yes; then : +if test "x$ac_cv_lib_c_inet_aton" = xyes; then : $ac_cv_prog_TRUE else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv">&5 $as_echo_n "checking for inet_aton in -lresolv... ">&6; } -if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then : +if ${ac_cv_lib_resolv_inet_aton+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -10043,7 +10144,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton">&5 $as_echo "$ac_cv_lib_resolv_inet_aton">&6; } -if test "x$ac_cv_lib_resolv_inet_aton" = x""yes; then : +if test "x$ac_cv_lib_resolv_inet_aton" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_LIBRESOLV 1 _ACEOF @@ -10060,7 +10161,7 @@ # exit Python { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chflags">&5 $as_echo_n "checking for chflags... ">&6; } -if test "${ac_cv_have_chflags+set}" = set; then : +if ${ac_cv_have_chflags+:} false; then : $as_echo_n "(cached) ">&6 else if test "$cross_compiling" = yes; then : @@ -10094,7 +10195,7 @@ $as_echo "$ac_cv_have_chflags">&6; } if test "$ac_cv_have_chflags" = cross ; then ac_fn_c_check_func "$LINENO" "chflags" "ac_cv_func_chflags" -if test "x$ac_cv_func_chflags" = x""yes; then : +if test "x$ac_cv_func_chflags" = xyes; then : ac_cv_have_chflags="yes" else ac_cv_have_chflags="no" @@ -10109,7 +10210,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lchflags">&5 $as_echo_n "checking for lchflags... ">&6; } -if test "${ac_cv_have_lchflags+set}" = set; then : +if ${ac_cv_have_lchflags+:} false; then : $as_echo_n "(cached) ">&6 else if test "$cross_compiling" = yes; then : @@ -10143,7 +10244,7 @@ $as_echo "$ac_cv_have_lchflags">&6; } if test "$ac_cv_have_lchflags" = cross ; then ac_fn_c_check_func "$LINENO" "lchflags" "ac_cv_func_lchflags" -if test "x$ac_cv_func_lchflags" = x""yes; then : +if test "x$ac_cv_func_lchflags" = xyes; then : ac_cv_have_lchflags="yes" else ac_cv_have_lchflags="no" @@ -10167,7 +10268,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateCopy in -lz">&5 $as_echo_n "checking for inflateCopy in -lz... ">&6; } -if test "${ac_cv_lib_z_inflateCopy+set}" = set; then : +if ${ac_cv_lib_z_inflateCopy+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -10201,7 +10302,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateCopy">&5 $as_echo "$ac_cv_lib_z_inflateCopy">&6; } -if test "x$ac_cv_lib_z_inflateCopy" = x""yes; then : +if test "x$ac_cv_lib_z_inflateCopy" = xyes; then : $as_echo "#define HAVE_ZLIB_COPY 1">>confdefs.h @@ -10344,7 +10445,7 @@ for ac_func in openpty do : ac_fn_c_check_func "$LINENO" "openpty" "ac_cv_func_openpty" -if test "x$ac_cv_func_openpty" = x""yes; then : +if test "x$ac_cv_func_openpty" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_OPENPTY 1 _ACEOF @@ -10352,7 +10453,7 @@ else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil">&5 $as_echo_n "checking for openpty in -lutil... ">&6; } -if test "${ac_cv_lib_util_openpty+set}" = set; then : +if ${ac_cv_lib_util_openpty+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -10386,13 +10487,13 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty">&5 $as_echo "$ac_cv_lib_util_openpty">&6; } -if test "x$ac_cv_lib_util_openpty" = x""yes; then : +if test "x$ac_cv_lib_util_openpty" = xyes; then : $as_echo "#define HAVE_OPENPTY 1">>confdefs.h LIBS="$LIBS -lutil" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lbsd">&5 $as_echo_n "checking for openpty in -lbsd... ">&6; } -if test "${ac_cv_lib_bsd_openpty+set}" = set; then : +if ${ac_cv_lib_bsd_openpty+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -10426,7 +10527,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_openpty">&5 $as_echo "$ac_cv_lib_bsd_openpty">&6; } -if test "x$ac_cv_lib_bsd_openpty" = x""yes; then : +if test "x$ac_cv_lib_bsd_openpty" = xyes; then : $as_echo "#define HAVE_OPENPTY 1">>confdefs.h LIBS="$LIBS -lbsd" fi @@ -10441,7 +10542,7 @@ for ac_func in forkpty do : ac_fn_c_check_func "$LINENO" "forkpty" "ac_cv_func_forkpty" -if test "x$ac_cv_func_forkpty" = x""yes; then : +if test "x$ac_cv_func_forkpty" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_FORKPTY 1 _ACEOF @@ -10449,7 +10550,7 @@ else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for forkpty in -lutil">&5 $as_echo_n "checking for forkpty in -lutil... ">&6; } -if test "${ac_cv_lib_util_forkpty+set}" = set; then : +if ${ac_cv_lib_util_forkpty+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -10483,13 +10584,13 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_forkpty">&5 $as_echo "$ac_cv_lib_util_forkpty">&6; } -if test "x$ac_cv_lib_util_forkpty" = x""yes; then : +if test "x$ac_cv_lib_util_forkpty" = xyes; then : $as_echo "#define HAVE_FORKPTY 1">>confdefs.h LIBS="$LIBS -lutil" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for forkpty in -lbsd">&5 $as_echo_n "checking for forkpty in -lbsd... ">&6; } -if test "${ac_cv_lib_bsd_forkpty+set}" = set; then : +if ${ac_cv_lib_bsd_forkpty+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -10523,7 +10624,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_forkpty">&5 $as_echo "$ac_cv_lib_bsd_forkpty">&6; } -if test "x$ac_cv_lib_bsd_forkpty" = x""yes; then : +if test "x$ac_cv_lib_bsd_forkpty" = xyes; then : $as_echo "#define HAVE_FORKPTY 1">>confdefs.h LIBS="$LIBS -lbsd" fi @@ -10540,7 +10641,7 @@ for ac_func in memmove do : ac_fn_c_check_func "$LINENO" "memmove" "ac_cv_func_memmove" -if test "x$ac_cv_func_memmove" = x""yes; then : +if test "x$ac_cv_func_memmove" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_MEMMOVE 1 _ACEOF @@ -10564,7 +10665,7 @@ ac_fn_c_check_func "$LINENO" "dup2" "ac_cv_func_dup2" -if test "x$ac_cv_func_dup2" = x""yes; then : +if test "x$ac_cv_func_dup2" = xyes; then : $as_echo "#define HAVE_DUP2 1">>confdefs.h else @@ -10577,7 +10678,7 @@ fi ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd" -if test "x$ac_cv_func_getcwd" = x""yes; then : +if test "x$ac_cv_func_getcwd" = xyes; then : $as_echo "#define HAVE_GETCWD 1">>confdefs.h else @@ -10590,7 +10691,7 @@ fi ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup" -if test "x$ac_cv_func_strdup" = x""yes; then : +if test "x$ac_cv_func_strdup" = xyes; then : $as_echo "#define HAVE_STRDUP 1">>confdefs.h else @@ -10606,7 +10707,7 @@ for ac_func in getpgrp do : ac_fn_c_check_func "$LINENO" "getpgrp" "ac_cv_func_getpgrp" -if test "x$ac_cv_func_getpgrp" = x""yes; then : +if test "x$ac_cv_func_getpgrp" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_GETPGRP 1 _ACEOF @@ -10634,7 +10735,7 @@ for ac_func in setpgrp do : ac_fn_c_check_func "$LINENO" "setpgrp" "ac_cv_func_setpgrp" -if test "x$ac_cv_func_setpgrp" = x""yes; then : +if test "x$ac_cv_func_setpgrp" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_SETPGRP 1 _ACEOF @@ -10662,7 +10763,7 @@ for ac_func in gettimeofday do : ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" -if test "x$ac_cv_func_gettimeofday" = x""yes; then : +if test "x$ac_cv_func_gettimeofday" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_GETTIMEOFDAY 1 _ACEOF @@ -10764,7 +10865,7 @@ then { $as_echo "$as_me:${as_lineno-$LINENO}: checking getaddrinfo bug">&5 $as_echo_n "checking getaddrinfo bug... ">&6; } - if test "${ac_cv_buggy_getaddrinfo+set}" = set; then : + if ${ac_cv_buggy_getaddrinfo+:} false; then : $as_echo_n "(cached) ">&6 else if test "$cross_compiling" = yes; then : @@ -10893,7 +10994,7 @@ for ac_func in getnameinfo do : ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" -if test "x$ac_cv_func_getnameinfo" = x""yes; then : +if test "x$ac_cv_func_getnameinfo" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_GETNAMEINFO 1 _ACEOF @@ -10905,7 +11006,7 @@ # checks for structures { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included">&5 $as_echo_n "checking whether time.h and sys/time.h may both be included... ">&6; } -if test "${ac_cv_header_time+set}" = set; then : +if ${ac_cv_header_time+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -10940,7 +11041,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h">&5 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... ">&6; } -if test "${ac_cv_struct_tm+set}" = set; then : +if ${ac_cv_struct_tm+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -10977,7 +11078,7 @@ #include <$ac_cv_struct_tm> " -if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : +if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_STRUCT_TM_TM_ZONE 1 @@ -10993,7 +11094,7 @@ else ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include " -if test "x$ac_cv_have_decl_tzname" = x""yes; then : +if test "x$ac_cv_have_decl_tzname" = xyes; then : ac_have_decl=1 else ac_have_decl=0 @@ -11005,7 +11106,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname">&5 $as_echo_n "checking for tzname... ">&6; } -if test "${ac_cv_var_tzname+set}" = set; then : +if ${ac_cv_var_tzname+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -11041,7 +11142,7 @@ fi ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default" -if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then : +if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_STRUCT_STAT_ST_RDEV 1 @@ -11051,7 +11152,7 @@ fi ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default" -if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then : +if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 @@ -11061,7 +11162,7 @@ fi ac_fn_c_check_member "$LINENO" "struct stat" "st_flags" "ac_cv_member_struct_stat_st_flags" "$ac_includes_default" -if test "x$ac_cv_member_struct_stat_st_flags" = x""yes; then : +if test "x$ac_cv_member_struct_stat_st_flags" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_STRUCT_STAT_ST_FLAGS 1 @@ -11071,7 +11172,7 @@ fi ac_fn_c_check_member "$LINENO" "struct stat" "st_gen" "ac_cv_member_struct_stat_st_gen" "$ac_includes_default" -if test "x$ac_cv_member_struct_stat_st_gen" = x""yes; then : +if test "x$ac_cv_member_struct_stat_st_gen" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_STRUCT_STAT_ST_GEN 1 @@ -11081,7 +11182,7 @@ fi ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default" -if test "x$ac_cv_member_struct_stat_st_birthtime" = x""yes; then : +if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1 @@ -11091,7 +11192,7 @@ fi ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default" -if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then : +if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_STRUCT_STAT_ST_BLOCKS 1 @@ -11113,7 +11214,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for time.h that defines altzone">&5 $as_echo_n "checking for time.h that defines altzone... ">&6; } -if test "${ac_cv_header_time_altzone+set}" = set; then : +if ${ac_cv_header_time_altzone+:} false; then : $as_echo_n "(cached) ">&6 else @@ -11177,7 +11278,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for addrinfo">&5 $as_echo_n "checking for addrinfo... ">&6; } -if test "${ac_cv_struct_addrinfo+set}" = set; then : +if ${ac_cv_struct_addrinfo+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -11209,7 +11310,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sockaddr_storage">&5 $as_echo_n "checking for sockaddr_storage... ">&6; } -if test "${ac_cv_struct_sockaddr_storage+set}" = set; then : +if ${ac_cv_struct_sockaddr_storage+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -11245,7 +11346,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned">&5 $as_echo_n "checking whether char is unsigned... ">&6; } -if test "${ac_cv_c_char_unsigned+set}" = set; then : +if ${ac_cv_c_char_unsigned+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -11277,7 +11378,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const">&5 $as_echo_n "checking for an ANSI C-conforming const... ">&6; } -if test "${ac_cv_c_const+set}" = set; then : +if ${ac_cv_c_const+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -11565,7 +11666,7 @@ ac_fn_c_check_func "$LINENO" "gethostbyname_r" "ac_cv_func_gethostbyname_r" -if test "x$ac_cv_func_gethostbyname_r" = x""yes; then : +if test "x$ac_cv_func_gethostbyname_r" = xyes; then : $as_echo "#define HAVE_GETHOSTBYNAME_R 1">>confdefs.h @@ -11696,7 +11797,7 @@ for ac_func in gethostbyname do : ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" -if test "x$ac_cv_func_gethostbyname" = x""yes; then : +if test "x$ac_cv_func_gethostbyname" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_GETHOSTBYNAME 1 _ACEOF @@ -11718,12 +11819,12 @@ # Linux requires this for correct f.p. operations ac_fn_c_check_func "$LINENO" "__fpu_control" "ac_cv_func___fpu_control" -if test "x$ac_cv_func___fpu_control" = x""yes; then : +if test "x$ac_cv_func___fpu_control" = xyes; then : else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fpu_control in -lieee">&5 $as_echo_n "checking for __fpu_control in -lieee... ">&6; } -if test "${ac_cv_lib_ieee___fpu_control+set}" = set; then : +if ${ac_cv_lib_ieee___fpu_control+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -11757,7 +11858,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ieee___fpu_control">&5 $as_echo "$ac_cv_lib_ieee___fpu_control">&6; } -if test "x$ac_cv_lib_ieee___fpu_control" = x""yes; then : +if test "x$ac_cv_lib_ieee___fpu_control" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_LIBIEEE 1 _ACEOF @@ -11852,7 +11953,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C doubles are little-endian IEEE 754 binary64">&5 $as_echo_n "checking whether C doubles are little-endian IEEE 754 binary64... ">&6; } -if test "${ac_cv_little_endian_double+set}" = set; then : +if ${ac_cv_little_endian_double+:} false; then : $as_echo_n "(cached) ">&6 else @@ -11894,7 +11995,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C doubles are big-endian IEEE 754 binary64">&5 $as_echo_n "checking whether C doubles are big-endian IEEE 754 binary64... ">&6; } -if test "${ac_cv_big_endian_double+set}" = set; then : +if ${ac_cv_big_endian_double+:} false; then : $as_echo_n "(cached) ">&6 else @@ -11940,7 +12041,7 @@ # conversions work. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C doubles are ARM mixed-endian IEEE 754 binary64">&5 $as_echo_n "checking whether C doubles are ARM mixed-endian IEEE 754 binary64... ">&6; } -if test "${ac_cv_mixed_endian_double+set}" = set; then : +if ${ac_cv_mixed_endian_double+:} false; then : $as_echo_n "(cached) ">&6 else @@ -12088,7 +12189,7 @@ # -0. on some architectures. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tanh preserves the sign of zero">&5 $as_echo_n "checking whether tanh preserves the sign of zero... ">&6; } -if test "${ac_cv_tanh_preserves_zero_sign+set}" = set; then : +if ${ac_cv_tanh_preserves_zero_sign+:} false; then : $as_echo_n "(cached) ">&6 else @@ -12156,7 +12257,7 @@ ac_fn_c_check_decl "$LINENO" "isinf" "ac_cv_have_decl_isinf" "#include " -if test "x$ac_cv_have_decl_isinf" = x""yes; then : +if test "x$ac_cv_have_decl_isinf" = xyes; then : ac_have_decl=1 else ac_have_decl=0 @@ -12167,7 +12268,7 @@ _ACEOF ac_fn_c_check_decl "$LINENO" "isnan" "ac_cv_have_decl_isnan" "#include " -if test "x$ac_cv_have_decl_isnan" = x""yes; then : +if test "x$ac_cv_have_decl_isnan" = xyes; then : ac_have_decl=1 else ac_have_decl=0 @@ -12178,7 +12279,7 @@ _ACEOF ac_fn_c_check_decl "$LINENO" "isfinite" "ac_cv_have_decl_isfinite" "#include " -if test "x$ac_cv_have_decl_isfinite" = x""yes; then : +if test "x$ac_cv_have_decl_isfinite" = xyes; then : ac_have_decl=1 else ac_have_decl=0 @@ -12198,7 +12299,7 @@ # sem_open results in a 'Signal 12' error. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether POSIX semaphores are enabled">&5 $as_echo_n "checking whether POSIX semaphores are enabled... ">&6; } -if test "${ac_cv_posix_semaphores_enabled+set}" = set; then : +if ${ac_cv_posix_semaphores_enabled+:} false; then : $as_echo_n "(cached) ">&6 else if test "$cross_compiling" = yes; then : @@ -12249,7 +12350,7 @@ # Multiprocessing check for broken sem_getvalue { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken sem_getvalue">&5 $as_echo_n "checking for broken sem_getvalue... ">&6; } -if test "${ac_cv_broken_sem_getvalue+set}" = set; then : +if ${ac_cv_broken_sem_getvalue+:} false; then : $as_echo_n "(cached) ">&6 else if test "$cross_compiling" = yes; then : @@ -12314,7 +12415,7 @@ 15|30) ;; *) - as_fn_error $? "bad value $enable_big_digits for --enable-big-digits; value should be 15 or 30" "$LINENO" 5 ;; + as_fn_error $? "bad value $enable_big_digits for --enable-big-digits; value should be 15 or 30" "$LINENO" 5 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_big_digits">&5 $as_echo "$enable_big_digits">&6; } @@ -12332,7 +12433,7 @@ # check for wchar.h ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default" -if test "x$ac_cv_header_wchar_h" = x""yes; then : +if test "x$ac_cv_header_wchar_h" = xyes; then : $as_echo "#define HAVE_WCHAR_H 1">>confdefs.h @@ -12355,7 +12456,7 @@ # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t">&5 $as_echo_n "checking size of wchar_t... ">&6; } -if test "${ac_cv_sizeof_wchar_t+set}" = set; then : +if ${ac_cv_sizeof_wchar_t+:} false; then : $as_echo_n "(cached) ">&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "#include @@ -12366,7 +12467,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':">&5 $as_echo "$as_me: error: in \`$ac_pwd':">&2;} as_fn_error 77 "cannot compute sizeof (wchar_t) -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_wchar_t=0 fi @@ -12421,7 +12522,7 @@ # check whether wchar_t is signed or not { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wchar_t is signed">&5 $as_echo_n "checking whether wchar_t is signed... ">&6; } - if test "${ac_cv_wchar_t_signed+set}" = set; then : + if ${ac_cv_wchar_t_signed+:} false; then : $as_echo_n "(cached) ">&6 else @@ -12485,7 +12586,7 @@ $as_echo "#define Py_UNICODE_SIZE 4">>confdefs.h ;; -*) as_fn_error $? "invalid value for --enable-unicode. Use either ucs2 or ucs4 (lowercase)." "$LINENO" 5 ;; +*) as_fn_error $? "invalid value for --enable-unicode. Use either ucs2 or ucs4 (lowercase)." "$LINENO" 5 ;; esac @@ -12532,7 +12633,7 @@ # check for endianness { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian">&5 $as_echo_n "checking whether byte ordering is bigendian... ">&6; } -if test "${ac_cv_c_bigendian+set}" = set; then : +if ${ac_cv_c_bigendian+:} false; then : $as_echo_n "(cached) ">&6 else ac_cv_c_bigendian=unknown @@ -12751,7 +12852,7 @@ ;; #( *) as_fn_error $? "unknown endianness - presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; esac @@ -12759,7 +12860,7 @@ # or fills with zeros (like the Cray J90, according to Tim Peters). { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether right shift extends the sign bit">&5 $as_echo_n "checking whether right shift extends the sign bit... ">&6; } -if test "${ac_cv_rshift_extends_sign+set}" = set; then : +if ${ac_cv_rshift_extends_sign+:} false; then : $as_echo_n "(cached) ">&6 else @@ -12798,7 +12899,7 @@ # check for getc_unlocked and related locking functions { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getc_unlocked() and friends">&5 $as_echo_n "checking for getc_unlocked() and friends... ">&6; } -if test "${ac_cv_have_getc_unlocked+set}" = set; then : +if ${ac_cv_have_getc_unlocked+:} false; then : $as_echo_n "(cached) ">&6 else @@ -12896,7 +12997,7 @@ # check for readline 2.1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_callback_handler_install in -lreadline">&5 $as_echo_n "checking for rl_callback_handler_install in -lreadline... ">&6; } -if test "${ac_cv_lib_readline_rl_callback_handler_install+set}" = set; then : +if ${ac_cv_lib_readline_rl_callback_handler_install+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -12930,7 +13031,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_callback_handler_install">&5 $as_echo "$ac_cv_lib_readline_rl_callback_handler_install">&6; } -if test "x$ac_cv_lib_readline_rl_callback_handler_install" = x""yes; then : +if test "x$ac_cv_lib_readline_rl_callback_handler_install" = xyes; then : $as_echo "#define HAVE_RL_CALLBACK 1">>confdefs.h @@ -12982,7 +13083,7 @@ # check for readline 4.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_pre_input_hook in -lreadline">&5 $as_echo_n "checking for rl_pre_input_hook in -lreadline... ">&6; } -if test "${ac_cv_lib_readline_rl_pre_input_hook+set}" = set; then : +if ${ac_cv_lib_readline_rl_pre_input_hook+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -13016,7 +13117,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_pre_input_hook">&5 $as_echo "$ac_cv_lib_readline_rl_pre_input_hook">&6; } -if test "x$ac_cv_lib_readline_rl_pre_input_hook" = x""yes; then : +if test "x$ac_cv_lib_readline_rl_pre_input_hook" = xyes; then : $as_echo "#define HAVE_RL_PRE_INPUT_HOOK 1">>confdefs.h @@ -13026,7 +13127,7 @@ # also in 4.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_completion_display_matches_hook in -lreadline">&5 $as_echo_n "checking for rl_completion_display_matches_hook in -lreadline... ">&6; } -if test "${ac_cv_lib_readline_rl_completion_display_matches_hook+set}" = set; then : +if ${ac_cv_lib_readline_rl_completion_display_matches_hook+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -13060,7 +13161,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_completion_display_matches_hook">&5 $as_echo "$ac_cv_lib_readline_rl_completion_display_matches_hook">&6; } -if test "x$ac_cv_lib_readline_rl_completion_display_matches_hook" = x""yes; then : +if test "x$ac_cv_lib_readline_rl_completion_display_matches_hook" = xyes; then : $as_echo "#define HAVE_RL_COMPLETION_DISPLAY_MATCHES_HOOK 1">>confdefs.h @@ -13070,7 +13171,7 @@ # check for readline 4.2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_completion_matches in -lreadline">&5 $as_echo_n "checking for rl_completion_matches in -lreadline... ">&6; } -if test "${ac_cv_lib_readline_rl_completion_matches+set}" = set; then : +if ${ac_cv_lib_readline_rl_completion_matches+:} false; then : $as_echo_n "(cached) ">&6 else ac_check_lib_save_LIBS=$LIBS @@ -13104,7 +13205,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_completion_matches">&5 $as_echo "$ac_cv_lib_readline_rl_completion_matches">&6; } -if test "x$ac_cv_lib_readline_rl_completion_matches" = x""yes; then : +if test "x$ac_cv_lib_readline_rl_completion_matches" = xyes; then : $as_echo "#define HAVE_RL_COMPLETION_MATCHES 1">>confdefs.h @@ -13145,7 +13246,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken nice()">&5 $as_echo_n "checking for broken nice()... ">&6; } -if test "${ac_cv_broken_nice+set}" = set; then : +if ${ac_cv_broken_nice+:} false; then : $as_echo_n "(cached) ">&6 else @@ -13186,7 +13287,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken poll()">&5 $as_echo_n "checking for broken poll()... ">&6; } -if test "${ac_cv_broken_poll+set}" = set; then : +if ${ac_cv_broken_poll+:} false; then : $as_echo_n "(cached) ">&6 else if test "$cross_compiling" = yes; then : @@ -13241,7 +13342,7 @@ #include <$ac_cv_struct_tm> " -if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : +if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then : cat>>confdefs.h <<_aceof #define HAVE_STRUCT_TM_TM_ZONE 1 @@ -13257,7 +13358,7 @@ else ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include " -if test "x$ac_cv_have_decl_tzname" = x""yes; then : +if test "x$ac_cv_have_decl_tzname" = xyes; then : ac_have_decl=1 else ac_have_decl=0 @@ -13269,7 +13370,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname">&5 $as_echo_n "checking for tzname... ">&6; } -if test "${ac_cv_var_tzname+set}" = set; then : +if ${ac_cv_var_tzname+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -13308,7 +13409,7 @@ # check tzset(3) exists and works like we expect it to { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working tzset()">&5 $as_echo_n "checking for working tzset()... ">&6; } -if test "${ac_cv_working_tzset+set}" = set; then : +if ${ac_cv_working_tzset+:} false; then : $as_echo_n "(cached) ">&6 else @@ -13405,7 +13506,7 @@ # Look for subsecond timestamps in struct stat { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tv_nsec in struct stat">&5 $as_echo_n "checking for tv_nsec in struct stat... ">&6; } -if test "${ac_cv_stat_tv_nsec+set}" = set; then : +if ${ac_cv_stat_tv_nsec+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -13442,7 +13543,7 @@ # Look for BSD style subsecond timestamps in struct stat { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tv_nsec2 in struct stat">&5 $as_echo_n "checking for tv_nsec2 in struct stat... ">&6; } -if test "${ac_cv_stat_tv_nsec2+set}" = set; then : +if ${ac_cv_stat_tv_nsec2+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -13479,7 +13580,7 @@ # On HP/UX 11.0, mvwdelch is a block with a return statement { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mvwdelch is an expression">&5 $as_echo_n "checking whether mvwdelch is an expression... ">&6; } -if test "${ac_cv_mvwdelch_is_expression+set}" = set; then : +if ${ac_cv_mvwdelch_is_expression+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -13516,7 +13617,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether WINDOW has _flags">&5 $as_echo_n "checking whether WINDOW has _flags... ">&6; } -if test "${ac_cv_window_has_flags+set}" = set; then : +if ${ac_cv_window_has_flags+:} false; then : $as_echo_n "(cached) ">&6 else cat confdefs.h - <<_aceof>conftest.$ac_ext @@ -13664,7 +13765,7 @@ then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for %lld and %llu printf() format support">&5 $as_echo_n "checking for %lld and %llu printf() format support... ">&6; } - if test "${ac_cv_have_long_long_format+set}" = set; then : + if ${ac_cv_have_long_long_format+:} false; then : $as_echo_n "(cached) ">&6 else if test "$cross_compiling" = yes; then : @@ -13735,7 +13836,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for %zd printf() format support">&5 $as_echo_n "checking for %zd printf() format support... ">&6; } -if test "${ac_cv_have_size_t_format+set}" = set; then : +if ${ac_cv_have_size_t_format+:} false; then : $as_echo_n "(cached) ">&6 else if test "$cross_compiling" = yes; then : @@ -13808,7 +13909,7 @@ #endif " -if test "x$ac_cv_type_socklen_t" = x""yes; then : +if test "x$ac_cv_type_socklen_t" = xyes; then : else @@ -13913,10 +14014,21 @@ :end'>>confcache if diff "$cache_file" confcache>/dev/null 2>&1; then :; else if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && + if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file">&5 $as_echo "$as_me: updating cache $cache_file">&6;} - cat confcache>$cache_file + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache>"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file">&5 $as_echo "$as_me: not updating unwritable cache $cache_file">&6;} @@ -13949,7 +14061,7 @@ -: ${CONFIG_STATUS=./config.status} +: "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" @@ -14050,6 +14162,7 @@ IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. +as_myself= case 0ドル in #(( *[\\/]* ) as_myself=0ドル ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -14357,7 +14470,7 @@ # values after options handling. ac_log=" This file was extended by python $as_me 2.7, which was -generated by GNU Autoconf 2.67. Invocation command line was +generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -14419,7 +14532,7 @@ ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ python config.status 2.7 -configured by 0,ドル generated by GNU Autoconf 2.67, +configured by 0,ドル generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" Copyright (C) 2010 Free Software Foundation, Inc. @@ -14551,7 +14664,7 @@ "Misc/python.pc") CONFIG_FILES="$CONFIG_FILES Misc/python.pc" ;; "Modules/ld_so_aix") CONFIG_FILES="$CONFIG_FILES Modules/ld_so_aix" ;; - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done @@ -14573,9 +14686,10 @@ # after its creation but before its name has been assigned to `$tmp'. $debug || { - tmp= + tmp= ac_tmp= trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } @@ -14583,12 +14697,13 @@ { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" + test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. @@ -14610,7 +14725,7 @@ ac_cs_awk_cr=$ac_cr fi -echo 'BEGIN {'>"$tmp/subs1.awk" && +echo 'BEGIN {'>"$ac_tmp/subs1.awk" && _ACEOF @@ -14638,7 +14753,7 @@ rm -f conf$$subs.sh cat>>$CONFIG_STATUS <<_aceof || ac_write_fail=1 -cat>>"\$tmp/subs1.awk" <<\\_acawk && +cat>>"\$ac_tmp/subs1.awk" <<\\_acawk && _ACEOF sed -n ' h @@ -14686,7 +14801,7 @@ rm -f conf$$subs.awk cat>>$CONFIG_STATUS <<_aceof || ac_write_fail=1 _ACAWK -cat>>"\$tmp/subs1.awk" <<_acawk && +cat>>"\$ac_tmp/subs1.awk" <<_acawk && for (key in S) S_is_set[key] = 1 FS = "" @@ -14718,7 +14833,7 @@ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat -fi < "$tmp/subs1.awk"> "$tmp/subs.awk" \ +fi < "$ac_tmp/subs1.awk"> "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF @@ -14752,7 +14867,7 @@ # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then -cat>"$tmp/defines.awk" <<\_acawk || +cat>"$ac_tmp/defines.awk" <<\_acawk || BEGIN { _ACEOF @@ -14764,8 +14879,8 @@ # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do - ac_t=`sed -n "/$ac_delim/p" confdefs.h` - if test -z "$ac_t"; then + ac_tt=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 @@ -14866,7 +14981,7 @@ esac case $ac_mode$ac_tag in :[FHL]*:*);; - :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac @@ -14885,7 +15000,7 @@ for ac_f do case $ac_f in - -) ac_f="$tmp/stdin";; + -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. @@ -14894,7 +15009,7 @@ [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || - as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" @@ -14920,8 +15035,8 @@ esac case $ac_tag in - *:-:* | *:-) cat>"$tmp/stdin" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + *:-:* | *:-) cat>"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac @@ -15051,21 +15166,22 @@ s&@INSTALL@&$ac_INSTALL&;t t $ac_datarootdir_hack " -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk">$tmp/out \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ +>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined">&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined">&2;} - rm -f "$tmp/stdin" + rm -f "$ac_tmp/stdin" case $ac_file in - -) cat "$tmp/out" && rm -f "$tmp/out";; - *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; @@ -15076,20 +15192,20 @@ if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" - }>"$tmp/config.h" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + }>"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - if diff "$ac_file" "$tmp/config.h">/dev/null 2>&1; then + if diff "$ac_file" "$ac_tmp/config.h">/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged">&5 $as_echo "$as_me: $ac_file is unchanged">&6;} else rm -f "$ac_file" - mv "$tmp/config.h" "$ac_file" \ + mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi ;; diff -r 3c3009f63700 -r 05fde8943685 configure.in --- a/configure.in Mon Nov 14 18:04:05 2011 +0200 +++ b/configure.in Tue Nov 15 05:09:56 2011 +0100 @@ -2648,6 +2648,53 @@ ) fi +# Check for dtrace support +AC_MSG_CHECKING(for --with-dtrace) +AC_ARG_WITH(dtrace, + AC_HELP_STRING(--with(out)-dtrace, disable/enable dtrace support)) + +AC_SUBST(DTRACE) +AC_SUBST(DFLAGS) +DTRACE= +DFLAGS= +if test ! -z "$with_dtrace" +then + AC_CHECK_SIZEOF([long]) + if [test "$ac_cv_sizeof_long" -eq 8] + then + DFLAGS="-64" + else + DFLAGS="-32" + fi + + #if dtrace -G -o /dev/null Include/pydtrace.d 2>/dev/null + if true + then + AC_DEFINE(WITH_DTRACE, 1, + [Define if you want to compile in Dtrace support]) + with_dtrace="Sun" + DTRACEOBJS="Python/phelper.o Python/dtrace.o" + DTRADEHDRS="" + DTRACE=dtrace + elif dtrace -h -o /dev/null -s Include/pydtrace.d + then + AC_DEFINE(WITH_DTRACE, 1, + [Define if you want to compile in Dtrace support]) + with_dtrace="Apple" + DTRACEOBJS="" + DTRADEHDRS="phelper.h pydtrace.h" + DTRACE=dtrace + else + with_dtrace="no" + fi +else + with_dtrace="no" +fi + +AC_MSG_RESULT($with_dtrace) +AC_SUBST(DTRACEOBJS) +AC_SUBST(DTRACEHDRS) + # Check for --with-wctype-functions AC_MSG_CHECKING(for --with-wctype-functions) AC_ARG_WITH(wctype-functions, diff -r 3c3009f63700 -r 05fde8943685 pyconfig.h.in --- a/pyconfig.h.in Mon Nov 14 18:04:05 2011 +0200 +++ b/pyconfig.h.in Tue Nov 15 05:09:56 2011 +0100 @@ -1080,6 +1080,11 @@ /* Define if you want documentation strings in extension modules */ #undef WITH_DOC_STRINGS +/* Define to compile in Dtrace support */ +#undef WITH_DTRACE +/* Sun's and Apple's Dtrace support differs - 1 for Sun, 0 for Apple */ +#undef WITH_DTRACE_SUN + /* Define if you want to use the new-style (Openstep, Rhapsody, MacOS) dynamic linker (dyld) instead of the old-style (NextStep) dynamic linker (rld). Dyld is necessary to support frameworks. */

AltStyle によって変換されたページ (->オリジナル) /