corelinux.cpp(3)

corelinux.cpp3

Usage

Functions

char ACCheckCoreLinux ()
Function for autoconf checks.

Detailed Description

Function Documentation

char ACCheckCoreLinux ()

Function for autoconf checks. This purpose of this function is to provide the autoconf users a symbol to check for in corelinux library. Unfortunately autoconf uses the C compiler to check for symbols into libraries and corelinux is a C++ one so the way the functions and objects are mangled makes it impossible to check for them. The solution is to provide a C symbol to check for using extern 'C' {}.

To enable corelinux into autoconf, you can put the following lines into the configure.in file.

    AC_CHECK_LIB(cl++, ACCheckCoreLinux,[
    CXXFLAGS="${CXXFLAGS} -I/usr/include/corelinux"
    LDFLAGS="${LDFLAGS} "
    LIBS="${LIBS} -lcl++"
    ],[
    echo "You need to install corelinux. See http://corelinux.sourceforge.net"
    exit;
    ],)

Releases

2 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0
  2. 3.1

Author

Generated automatically by Doxygen for CoreLinux++ from the source code.

From libcorelinux-dev 0.4.32-5 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.