Merge branch '1182-add-older-autoconf-pkg-config-compat-macros' into 'master'

Add PKG_CHECK_VAR and AS_VAR_COPY compat macros (Courtesy of ycflash)

Closes #1182

See merge request !2246
2 jobs for master in 1 minute and 2 seconds (queued for 6 seconds)
Status Job ID Name Coverage
  Build
passed #300089
amd64 linux
docs:sid:amd64

00:00:48

 
  Push
passed #300090
amd64 linux
push:docs:sid:amd64

00:00:13