defined QSE_PATH_MAX

added more operators to qse_ip4ad_t for c++
This commit is contained in:
2018-01-17 04:38:21 +00:00
parent 825cf63d04
commit 8ce346e1ed
10 changed files with 141 additions and 13 deletions

31
qse/configure vendored
View File

@ -21043,6 +21043,37 @@ fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX" >&5
$as_echo_n "checking for PATH_MAX... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <limits.h>
int
main ()
{
;;;;;;;;;;
PATH_MAX
;
return 0;
}
_ACEOF
qse_cv_path_max="`$ac_cv_prog_CPP conftest.c | awk '/;;;;;;;;;;/ { start=1 } /^(0|1|2|3|4|5|6|7|8|9)(0|1|2|3|4|5|6|7|8|9)*/ { if (start == 1) { print $0; start++; } }'`"
if test "x${qse_cv_path_max}" = "x"
then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not defined" >&5
$as_echo "not defined" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${qse_cv_path_max}" >&5
$as_echo "${qse_cv_path_max}" >&6; }
cat >>confdefs.h <<_ACEOF
#define QSE_PATH_MAX ${qse_cv_path_max}
_ACEOF
fi
# 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]];'.