modxslt-config can be used to query the status of an installed libmodxslt and to access its compile time parameters/options.
The main idea behind modxslt-config (or any other foo-config) is to provide an easy way for configre scripts and makefiles to use a given library. The configure script of a package using libmodxslt should try to search for modxslt-config, while the makefiles will try to compile the package using the variables found using the modxslt-config command.
Returns libmodxslt install prefix, as specified to the configure script
Returns libmodxslt install exec-prefix, as specified to the configure script
Returns the parameters to be used with ld to link your binaries with libmodxslt
Returns the parameters to be used with libtool to link your binaries with libmodxslt
Returns the parameters to be used with cc to allow your .c files to include libmodxslt headers
Returns the parameters to be used with cpp (the c preprocessor) to succesfully compile your .c files using libmodxslt headers
Returns the parameters specified to cc during libmodxslt compilation
modxslt-config allows you to access any other variable specified or detected by the libmodxslt configure script. This options lists all known varaibles and their raw values (with shell variables not substituted)
shows the value of variable VAR, expanding any shell variables therein
same as --query, but shell variables are not expanded
Show version of libmodxslt installed on this system
If called without parameters, the help screen is displayed. More than one parameter can be specified at the same time.
modxslt-config exits with status 1 in case no argument was supplied and the help screen was displayed. Status 2 is returned whenever an argument wich does not need any additional parameter is encountered with an unnecessary parameter (like --prefix=fuffa). Status 3 is returned when an argument which needs an additional parameter is encountered without the needed parameter (like --query), while 4 is returned when an unknown argument is specified. Any other exit status should be interpreted accordingly to the shell being used.
This manual page was written by Carlo Contavalli <ccontavalli at modxslt2.com>. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.