--- pth-config.in | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/pth-config.in b/pth-config.in index 24a93d7..802770d 100644 --- a/pth-config.in +++ b/pth-config.in @@ -109,11 +109,15 @@ do output="$output $pth_acdir" ;; --cflags) - output="$output -I$pth_includedir" + if [[ $pth_includedir != "/usr/include" ]]; then + output="$output -I$pth_includedir" + fi output_extra="$output_extra $pth_cflags" ;; --ldflags) - output="$output -L$pth_libdir" + if [[ $pth_libdir != "/usr/lib" ]]; then + output="$output -L$pth_libdir" + fi output_extra="$output_extra $pth_ldflags" ;; --libs) -- 1.7.0.4 ______________________________________________________________________ GNU Portable Threads (Pth) http://www.gnu.org/software/pth/ Development Site http://www.ossp.org/pkg/lib/pth/ Distribution Files ftp://ftp.gnu.org/gnu/pth/ Distribution Snapshots ftp://ftp.ossp.org/pkg/lib/pth/ User Support Mailing List pth-users@gnu.org Automated List Manager (Majordomo) pth-users-requ...@gnu.org