Changeset 577f8ab for configure.ac


Ignore:
Timestamp:
Nov 17, 2013, 3:44:14 AM (8 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
release-1.9
Children:
83004b0
Parents:
a4f7b99
git-author:
Anders Kaseorg <andersk@mit.edu> (12/21/12 16:28:04)
git-committer:
Anders Kaseorg <andersk@mit.edu> (11/17/13 03:44:14)
Message:
configure: Try openssl.pc after libcrypto.pc

OpenSSL < 0.9.8 didn’t ship libcrypto.pc.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
(cherry picked from commit 58b6ce5427395fc8c1887a2a8c69ea459a1fc9e5)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    ra4f7b99 r577f8ab  
    6060        [AM_CFLAGS="${AM_CFLAGS} ${LIBCRYPTO_CFLAGS}"
    6161         LIBS="${LIBS} ${LIBCRYPTO_LIBS}"
    62         ])])
     62        ],
     63        [PKG_CHECK_MODULES([OPENSSL], [openssl],
     64           [AM_CFLAGS="${AM_CFLAGS} ${OPENSSL_CFLAGS}"
     65            LIBS="${LIBS} ${OPENSSL_LIBS}"
     66           ])])])
    6367
    6468   AC_CHECK_LIB([zephyr], [ZGetSender],
Note: See TracChangeset for help on using the changeset viewer.