mirror of
https://github.com/vgough/encfs.git
synced 2024-11-29 03:15:07 +01:00
configure.ac: Error out if pkg-config is missing
With pkg-config missing, a broken configure was generated, that failed with a confusing error: ./configure: line 19272: syntax error near unexpected token `OPENSSL,' ./configure: line 19272: ` PKG_CHECK_MODULES(OPENSSL, openssl >= 0.9.7,' Now, it errors out in the autoconf stage with: configure.ac:23: error: possibly undefined macro: PKG_CHECK_MODULES If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
This commit is contained in:
parent
49527fcdf6
commit
bc4f38fcca
@ -14,6 +14,12 @@ dnl without this order in this file, automake will be confused!
|
|||||||
dnl
|
dnl
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
||||||
|
|
||||||
|
dnl If the string "PKG_CHECK_MODULES" appears in the output,
|
||||||
|
dnl the macro was not substituted, probably because pkg-config is
|
||||||
|
dnl not installed. Catch that right here instead of creating a
|
||||||
|
dnl broken configure script.
|
||||||
|
m4_pattern_forbid([PKG_CHECK_MODULES])
|
||||||
|
|
||||||
dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
|
dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
|
||||||
unset CDPATH
|
unset CDPATH
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user