--- parser3/configure 2020/12/07 16:45:41 1.202 +++ parser3/configure 2020/12/11 15:46:13 1.206 @@ -806,8 +806,7 @@ with_coverage with_profiler with_assertions with_sjlj_exceptions -with_system_config -with_system_log +with_system_cfg enable_safe_mode enable_execs enable_stringstream @@ -1503,7 +1502,6 @@ Optional Packages: --with-assertions to enable assertions --with-sjlj-exceptions to enable simple 'throw' from dynamic library --with-system-cfg=FILE to specify system-wide auto.p - --with-system-log=FILE to specify system-wide parser3.log --with-gc=DIR DIR is the directory where Boehm garbage collecting library is installed --with-pcre=DIR DIR is the directory where @@ -4967,21 +4965,12 @@ fi -# Check whether --with-system-config was given. -if test "${with_system_config+set}" = set; then : - withval=$with_system_config; -$as_echo "#define SYSTEM_CONFIG_FILE \$withval" >>confdefs.h - - -fi - - - - -# Check whether --with-system-log was given. -if test "${with_system_log+set}" = set; then : - withval=$with_system_log; -$as_echo "#define SYSTEM_LOG_FILE \$withval" >>confdefs.h +# Check whether --with-system-cfg was given. +if test "${with_system_cfg+set}" = set; then : + withval=$with_system_cfg; +cat >>confdefs.h <<_ACEOF +#define SYSTEM_CONFIG_FILE "$withval" +_ACEOF fi @@ -18900,6 +18889,32 @@ $as_echo "no" >&6; } fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettid" >&5 +$as_echo_n "checking for gettid... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +uint tid=syscall(__NR_gettid); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + $as_echo "#define HAVE_GETTID 1" >>confdefs.h + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 0..9999 year date range support" >&5 $as_echo_n "checking for 0..9999 year date range support... " >&6; } if test "$cross_compiling" = yes; then : @@ -18939,6 +18954,7 @@ fi +