AC_CACHE_CHECK([if make is GNU make], wx_cv_prog_makeisgnu,
[
if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
- egrep qs GNU > /dev/null); then
+ egrep -s GNU > /dev/null); then
wx_cv_prog_makeisgnu="yes"
else
wx_cv_prog_makeisgnu="no"
AC_CHECK_FUNC(socket,,
AC_CHECK_LIB(socket, socket,
if test "$INET_LINK" != " -lsocket"; then
- INET_LINK="$INET_LINK -lsocket",
- fi
+ INET_LINK="$INET_LINK -lsocket"
+ fi,
[
AC_MSG_WARN([socket library not found - sockets will be disabled])
wxUSE_SOCKETS=no