Lines 956-968
Link Here
|
956 |
unset UNIQUEVALS UNIQUESYMBOLS |
956 |
unset UNIQUEVALS UNIQUESYMBOLS |
957 |
if test -s $ERRVALFILE; then |
957 |
if test -s $ERRVALFILE; then |
958 |
UNIQUEVALS=`sort $ERRVALFILE | uniq | wc -l | awk '{ print $1 }'` |
958 |
UNIQUEVALS=`sort $ERRVALFILE | uniq | wc -l | awk '{ print $1 }'` |
959 |
if test $UNIQUEVALS -le 1; then |
959 |
# if test $UNIQUEVALS -le 1; then |
960 |
AC_MSG_FAILURE([error: getaddrinfo() error value count too low]) |
960 |
# AC_MSG_FAILURE([error: getaddrinfo() error value count too low]) |
961 |
fi |
961 |
# fi |
962 |
UNIQUESYMBOLS=`cat $ERRVALFILE | wc -l | awk '{ print $1 }'` |
962 |
UNIQUESYMBOLS=`cat $ERRVALFILE | wc -l | awk '{ print $1 }'` |
963 |
if test $UNIQUESYMBOLS -le 1; then |
963 |
# if test $UNIQUESYMBOLS -le 1; then |
964 |
AC_MSG_FAILURE([error: getaddrinfo() error symbol count too low]) |
964 |
# AC_MSG_FAILURE([error: getaddrinfo() error symbol count too low]) |
965 |
fi |
965 |
# fi |
966 |
|
966 |
|
967 |
if test $ERRNOCNT -ne $UNIQUESYMBOLS; then |
967 |
if test $ERRNOCNT -ne $UNIQUESYMBOLS; then |
968 |
AC_MSG_FAILURE([internal error: errno symbol count mismatch]) |
968 |
AC_MSG_FAILURE([internal error: errno symbol count mismatch]) |