C/C++ Library for Processing Structured Configuration Files
To produce a PDF manual, issue the command “make pdf” after running
`./configure’.
-*-
If you do not wish to build the C++ components, use:
./configure --disable-cxx
-*-
If you would like the library to raise an assertion (abort the program) if
a NULL pointer is passed as a parameter to any API function that does not
accept NULL pointers for that parameter, use:
./configure --enable-asserts
-*-
The `examples’ subdirectory contains some examples of how to use libconfig
from C and C++.
-*-
Flex and Bison are not required in order to build this
package. However, you will need them, if you modify the .l or .y files. See
the list of required build tool versions below.
-*-
To successfully compile using MinGW (with gcc 4.4.0 or later), it may
be necessary to modify the file “mingw32\4.4.0\libstdc++.la”, changing line 11
from:
library_names=‘libstdc++.dll.a’
to:
library_names=‘libstdc++.a’
(See http://trac.osgeo.org/geos/ticket/282 for more information).
-*-
To cross-compile for Android:
$ /pkg/android-ndk-r9d/build/tools/make-standalone-toolchain.sh
–platform=android-19
–install-dir=/pkg/android-toolchain-19
–system=linux-x86_64
–arch=arm
$ export PATH=/pkg/android-toolchain-19/bin:$PATH
$ ./configure --host=arm-linux-androideabi
–with-sysroot=/pkg/android-toolchain-19/sysroot
$ make
-*-
Build tools dependencies. (These are only required if you are a maintainer.)
Autoconf 2.69
Automake 1.14.1
Bison 3.0.2
Flex 2.5.39
Libtool 2.4.2
-*-
Libconfig may be found on github at https://github.com/hyperrealm/libconfig
For some reason, we need to symlink /pkg/android-toolchain-19/sysroot/pkg -> /pkg