~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pkg.m4

  • Committer: Lee Bieber
  • Date: 2010-11-18 01:43:30 UTC
  • mfrom: (1935.2.3 bug676653)
  • mto: This revision was merged to the branch mainline in revision 1937.
  • Revision ID: kalebral@gmail.com-20101118014330-w3tmt9deis5cy8jz
Merge Monty - fix bug 676653: out of source tree build failed

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
        pkg_cv_[]$1="$$1"
72
72
    else
73
73
        PKG_CHECK_EXISTS([$3],
74
 
                         [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
 
74
                         [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null | sed 's/-I/-isystem/g' `],
75
75
                         [pkg_failed=yes])
 
76
        if test "$GCC" = "yes"; then
 
77
          pkg_cv_[]$1=`echo $pkg_cv_[]$1 | sed 's/-I/-isystem/g' `
 
78
        fi
76
79
    fi
77
80
else
78
81
        pkg_failed=untried