forked from Imagelibrary/rtems
* aclocal/enable-bare.m4: Improve quoting of AC_HELP_STRING. * aclocal/enable-cxx.m4: Improve quoting of AC_HELP_STRING. * aclocal/enable-inlines.m4: Improve quoting of AC_HELP_STRING. * aclocal/enable-itron.m4: Improve quoting of AC_HELP_STRING. * aclocal/enable-multiprocessing.m4: Improve quoting of AC_HELP_STRING. * aclocal/enable-networking.m4: Improve quoting of AC_HELP_STRING. * aclocal/enable-posix.m4: Improve quoting of AC_HELP_STRING. * aclocal/enable-rdbg.m4: Improve quoting of AC_HELP_STRING. * aclocal/enable-rtemsbsp.m4: Improve quoting of AC_HELP_STRING. * aclocal/enable-tests.m4: Improve quoting of AC_HELP_STRING. (autoconf > 2.54 seems to have problems with the old form of quoting).
16 lines
422 B
Plaintext
16 lines
422 B
Plaintext
dnl $Id$
|
|
|
|
AC_DEFUN(RTEMS_ENABLE_NETWORKING,
|
|
[
|
|
## AC_BEFORE([$0], [RTEMS_CHECK_NETWORKING])dnl
|
|
|
|
AC_ARG_ENABLE(networking,
|
|
[AC_HELP_STRING([--enable-networking],[enable TCP/IP stack])],
|
|
[case "${enableval}" in
|
|
yes) RTEMS_HAS_NETWORKING=yes ;;
|
|
no) RTEMS_HAS_NETWORKING=no ;;
|
|
*) AC_MSG_ERROR(bad value ${enableval} for enable-networking option) ;;
|
|
esac],[RTEMS_HAS_NETWORKING=yes])
|
|
AC_SUBST(RTEMS_HAS_NETWORKING)dnl
|
|
])
|