summaryrefslogtreecommitdiffstats
path: root/c/src/exec/aclocal/enable-networking.m4
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2002-06-17 08:52:47 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2002-06-17 08:52:47 +0000
commited8ec1cf119e0886f816697e3ee367476d90bea2 (patch)
tree0b3c7846d92f35bd6fe8038814d8e89ac667e761 /c/src/exec/aclocal/enable-networking.m4
parent2002-06-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-ed8ec1cf119e0886f816697e3ee367476d90bea2.tar.bz2
2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* copied over from aclocal/.
Diffstat (limited to 'c/src/exec/aclocal/enable-networking.m4')
-rw-r--r--c/src/exec/aclocal/enable-networking.m415
1 files changed, 15 insertions, 0 deletions
diff --git a/c/src/exec/aclocal/enable-networking.m4 b/c/src/exec/aclocal/enable-networking.m4
new file mode 100644
index 0000000000..92ea0e0a7f
--- /dev/null
+++ b/c/src/exec/aclocal/enable-networking.m4
@@ -0,0 +1,15 @@
+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
+])