| 4 |
exec_prefix=@exec_prefix@ |
exec_prefix=@exec_prefix@ |
| 5 |
exec_prefix_set=no |
exec_prefix_set=no |
| 6 |
|
|
| 7 |
usage="\ |
if test @enable_cpp@ = yes ; then |
| 8 |
Usage: pcre-config [--prefix] [--exec-prefix] [--version] [--libs] [--libs-posix] [--cflags] [--cflags-posix]" |
usage="Usage: pcre-config [--prefix] [--exec-prefix] [--version] [--libs] [--libs-posix] [--libs-cpp] [--cflags] [--cflags-posix]" |
| 9 |
|
else |
| 10 |
|
usage="Usage: pcre-config [--prefix] [--exec-prefix] [--version] [--libs] [--libs-posix] [--cflags] [--cflags-posix]" |
| 11 |
|
fi |
| 12 |
|
|
| 13 |
if test $# -eq 0; then |
if test $# -eq 0; then |
| 14 |
echo "${usage}" 1>&2 |
echo "${usage}" 1>&2 |
| 63 |
--libs) |
--libs) |
| 64 |
echo -L@libdir@$libR -lpcre |
echo -L@libdir@$libR -lpcre |
| 65 |
;; |
;; |
| 66 |
|
--libs-cpp) |
| 67 |
|
if test @enable_cpp@ = yes ; then |
| 68 |
|
echo -L@libdir@$libR -lpcrecpp -lpcre |
| 69 |
|
else |
| 70 |
|
echo "${usage}" 1>&2 |
| 71 |
|
fi |
| 72 |
|
;; |
| 73 |
*) |
*) |
| 74 |
echo "${usage}" 1>&2 |
echo "${usage}" 1>&2 |
| 75 |
exit 1 |
exit 1 |