Check-in Number:
|
3084 | |
Date: |
2003-Jan-20 20:13:25 (local)
2003-Jan-20 19:13:25 (UTC) |
User: | mlelstv |
Branch: | |
Comment: |
make compilation optional |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/sio/sio.ac 1.1 -> 1.2
--- sio.ac 2003/01/20 15:34:13 1.1
+++ sio.ac 2003/01/20 19:13:25 1.2
@@ -63,4 +63,17 @@
AC_DEFINE(ENABLE_ZLIB, 1, [Define to 1 if building with ZLIB])
fi
+dnl # built-time configuration parameter --enable-sa
+AC_MSG_CHECKING(for SA support)
+AC_ARG_ENABLE(sa,dnl
+[ --enable-sa enable SA support (default=no)],
+[ enable_sa=$enableval ],
+[ enable_sa=no ]
+)dnl
+AC_MSG_RESULT([$enable_sa])
+if test ".$enable_sa" = .yes; then
+AC_CHECK_LIB(sa, sa_create)
+AC_DEFINE(ENABLE_SA, 1, [Define to 1 if building with OSSP sa])
+fi
+
])
|
|