| 49 |
show_usage() |
show_usage() |
| 50 |
{ |
{ |
| 51 |
cat << EOF |
cat << EOF |
| 52 |
Usage: apr-config [OPTION] |
Usage: apr-$APR_MAJOR_VERSION-config [OPTION] |
| 53 |
|
|
| 54 |
Known values for OPTION are: |
Known values for OPTION are: |
| 55 |
--prefix[=DIR] change prefix to DIR |
--prefix[=DIR] change prefix to DIR |
| 75 |
--help print this help |
--help print this help |
| 76 |
|
|
| 77 |
When linking with libtool, an application should do something like: |
When linking with libtool, an application should do something like: |
| 78 |
APR_LIBS="\`apr-config --link-libtool --libs\`" |
APR_LIBS="\`apr-$APR_MAJOR_VERSION-config --link-libtool --libs\`" |
| 79 |
or when linking directly: |
or when linking directly: |
| 80 |
APR_LIBS="\`apr-config --link-ld --libs\`" |
APR_LIBS="\`apr-$APR_MAJOR_VERSION-config --link-ld --libs\`" |
| 81 |
|
|
| 82 |
An application should use the results of --cflags, --cppflags, --includes, |
An application should use the results of --cflags, --cppflags, --includes, |
| 83 |
and --ldflags in their build process. |
and --ldflags in their build process. |