--- l2.m4 2002/07/30 19:08:24 1.5
+++ l2.m4 2003/01/06 11:41:51 1.6
@@ -1,9 +1,10 @@
dnl ##
-dnl ## OSSP l2 - Logging Library
-dnl ## Copyright (c) 2001-2002 The OSSP Project (http://www.ossp.org/)
-dnl ## Copyright (c) 2001-2002 Cable & Wireless Deutschland (http://www.cw.com/de/)
+dnl ## OSSP l2 - Flexible Logging
+dnl ## Copyright (c) 2001-2003 Cable & Wireless Deutschland GmbH
+dnl ## Copyright (c) 2001-2003 The OSSP Project (http://www.ossp.org/)
+dnl ## Copyright (c) 2001-2003 Ralf S. Engelschall <rse@engelschall.com>
dnl ##
-dnl ## This file is part of OSSP L2, a flexible logging library which
+dnl ## This file is part of OSSP l2, a flexible logging library which
dnl ## can be found at http://www.ossp.org/pkg/lib/l2/.
dnl ##
dnl ## Permission to use, copy, modify, and distribute this software for
@@ -24,18 +25,18 @@
dnl ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
dnl ## SUCH DAMAGE.
dnl ##
-dnl ## l2.m4: Autoconf macro for locating OSSP L2 from within
+dnl ## l2.m4: Autoconf macro for locating OSSP l2 from within
dnl ## configure.in of third-party software packages
dnl ##
dnl ##
dnl ## Synopsis:
-dnl ## AC_CHECK_L2([MIN-VERSION [, # minimum L2 version, e.g. 1.2.0
+dnl ## AC_CHECK_L2([MIN-VERSION [, # minimum OSSP l2 version, e.g. 1.2.0
dnl ## DEFAULT-WITH-L2 [, # default value for --with-l2 option
dnl ## DEFAULT-WITH-L2-TEST [, # default value for --with-l2-test option
dnl ## EXTEND-VARS [, # whether CFLAGS/LDFLAGS/etc are extended
-dnl ## ACTION-IF-FOUND [, # action to perform if L2 was found
-dnl ## ACTION-IF-NOT-FOUND # action to perform if L2 was not found
+dnl ## ACTION-IF-FOUND [, # action to perform if OSSP l2 was found
+dnl ## ACTION-IF-NOT-FOUND # action to perform if OSSP l2 was not found
dnl ## ]]]]]])
dnl ## Examples:
dnl ## AC_CHECK_L2(1.2.0)
@@ -77,15 +78,15 @@
AC_SUBST(L2_LDFLAGS)
AC_SUBST(L2_LIBS)
dnl # command line options
-AC_MSG_CHECKING(for OSSP L2)
+AC_MSG_CHECKING(for OSSP l2)
_AC_L2_VERBOSE([])
AC_ARG_WITH(l2,dnl
-[ --with-l2[=ARG] Build with OSSP L2 Library (default=]ifelse([$2],,yes,$2)[)],dnl
+[ --with-l2[=ARG] Build with OSSP l2 Library (default=]ifelse([$2],,yes,$2)[)],dnl
,dnl
with_l2="ifelse([$2],,yes,$2)"
)dnl
AC_ARG_WITH(l2-test,dnl
-[ --with-l2-test Perform OSSP L2 Sanity Test (default=]ifelse([$3],,yes,$3)[)],dnl
+[ --with-l2-test Perform OSSP l2 Sanity Test (default=]ifelse([$3],,yes,$3)[)],dnl
,dnl
with_l2_test="ifelse([$3],,yes,$3)"
)dnl
@@ -213,18 +214,18 @@
if test ".$_l2_version" = .; then
if test ".$with_l2" != .yes; then
_AC_L2_ERROR([dnl
- Unable to locate OSSP L2 under $with_l2.
- Please specify the correct path to either a OSSP L2 installation tree
- (use --with-l2=DIR if you used --prefix=DIR for installing OSSP L2 in
- the past) or to a OSSP L2 source tree (use --with-l2=DIR if DIR is a
+ Unable to locate OSSP l2 under $with_l2.
+ Please specify the correct path to either a OSSP l2 installation tree
+ (use --with-l2=DIR if you used --prefix=DIR for installing OSSP l2 in
+ the past) or to a OSSP l2 source tree (use --with-l2=DIR if DIR is a
path to a l2-X.Y.Z/ directory; but make sure the package is already
built, i.e., the "configure; make" step was already performed there).])
else
_AC_L2_ERROR([dnl
- Unable to locate OSSP L2 in any system-wide location (see \$PATH).
- Please specify the correct path to either a OSSP L2 installation tree
- (use --with-l2=DIR if you used --prefix=DIR for installing OSSP L2 in
- the past) or to a OSSP L2 source tree (use --with-l2=DIR if DIR is a
+ Unable to locate OSSP l2 in any system-wide location (see \$PATH).
+ Please specify the correct path to either a OSSP l2 installation tree
+ (use --with-l2=DIR if you used --prefix=DIR for installing OSSP l2 in
+ the past) or to a OSSP l2 source tree (use --with-l2=DIR if DIR is a
path to a l2-X.Y.Z/ directory; but make sure the package is already
built, i.e., the "configure; make" step was already performed there).])
fi
@@ -308,9 +309,9 @@
AC_TRY_CPP(_code1, _ok=yes, _ok=no)
if test ".$_ok" != .yes; then
_AC_L2_ERROR([dnl
- Found OSSP L2 $_l2_version under $_l2_location, but
+ Found OSSP l2 $_l2_version under $_l2_location, but
was unable to perform a sanity pre-processor check. This means
- the OSSP L2 header l2.h was not found.
+ the OSSP l2 header l2.h was not found.
We used the following build environment:
>> CPP="$CPP"
>> CPPFLAGS="$CPPFLAGS"
@@ -320,9 +321,9 @@
AC_TRY_LINK(_code1, _code2, _ok=yes, _ok=no)
if test ".$_ok" != .yes; then
_AC_L2_ERROR([dnl
- Found OSSP L2 $_l2_version under $_l2_location, but
+ Found OSSP l2 $_l2_version under $_l2_location, but
was unable to perform a sanity linker check. This means
- the OSSP L2 library libl2.a was not found.
+ the OSSP l2 library libl2.a was not found.
We used the following build environment:
>> CC="$CC"
>> CFLAGS="$CFLAGS"
@@ -335,12 +336,12 @@
if test ".$_ok" != .yes; then
if test ".$_ok" = .no; then
_AC_L2_ERROR([dnl
- Found OSSP L2 $_l2_version under $_l2_location, but
+ Found OSSP l2 $_l2_version under $_l2_location, but
was unable to perform a sanity execution check. This usually
- means that the OSSP L2 shared library libl2.so is present
+ means that the OSSP l2 shared library libl2.so is present
but \$LD_LIBRARY_PATH is incomplete to execute a L2 test.
In this case either disable this test via --without-l2-test,
- or extend \$LD_LIBRARY_PATH, or build OSSP L2 as a static
+ or extend \$LD_LIBRARY_PATH, or build OSSP l2 as a static
library only via its --disable-shared Autoconf option.
We used the following build environment:
>> CC="$CC"
@@ -350,11 +351,11 @@
See config.log for possibly more details.])
else
_AC_L2_ERROR([dnl
- Found OSSP L2 $_l2_version under $_l2_location, but
+ Found OSSP l2 $_l2_version under $_l2_location, but
was unable to perform a sanity run-time check. This usually
- means that the OSSP L2 library failed to work and possibly
+ means that the OSSP l2 library failed to work and possibly
caused a core dump in the test program. In this case it
- is strongly recommended that you re-install OSSP L2 and this
+ is strongly recommended that you re-install OSSP l2 and this
time make sure that it really passes its "make test" procedure.
We used the following build environment:
>> CC="$CC"
|