Skip to content

Commit

Permalink
fixed setting of pkgconfigdir
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhangui committed Apr 15, 2023
1 parent 7b294cd commit 2a57767
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
28 changes: 16 additions & 12 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#
# $Log: configure.ac,v $
# Revision 1.39 2023-04-15 22:32:46+05:30 Cprogrammer
# fixed setting of pkgconfigdir
#
# Revision 1.38 2023-01-21 17:05:00+05:30 Cprogrammer
# added foreign no-dist to AM_INIT_AUTOMAKE
#
Expand Down Expand Up @@ -115,7 +118,7 @@
# Revision 1.1 2014-09-02 22:13:49+05:30 Cprogrammer
# Initial revision
#
# $Id: configure.ac,v 1.38 2023-01-21 17:05:00+05:30 Cprogrammer Exp mbhangui $
# $Id: configure.ac,v 1.39 2023-04-15 22:32:46+05:30 Cprogrammer Exp mbhangui $
#
AC_PREREQ([2.64])
AC_INIT([libqmail],m4_normalize(m4_include([conf-version])),m4_normalize(m4_include([conf-email])),libqmail, [https://github.com/mbhangui/libqmail])
Expand Down Expand Up @@ -181,17 +184,6 @@ AC_CHECK_LIB(crypto, CRYPTO_new_ex_data, [AC_SUBST([LIB_CRYPTO], ["-lcrypto"]) A
AC_CHECK_LIB(crypt, crypt, [AC_SUBST([LIB_CRYPT], ["-lcrypt"]) AC_DEFINE([HAVE_CRYPT], [1],[crypt Library])],,)
AC_CHECK_LIB(sodium, sodium_init, [AC_SUBST([LIB_SODIUM], ["-lsodium"]) AC_DEFINE([HAVE_SODIUM], [1],[Sodium Library])],,-lsodium)

dnl Does not work on RHEL 5, CentOS 5 64 bit systems
RPATH_LIB="$acl_libdirstem"
defaultprefix="/usr"
AC_SUBST([LIBTOOL_DEPS])
AC_SUBST(RPATH_LIB)
AC_SUBST(defaultprefix)
AC_SUBST(libdir)
LIBVER=1
AC_SUBST(LIBVER)
AC_CONFIG_FILES([libqmail.pc:libqmail.pc.in],[], [])

if test x$prefix = xNONE
then
prefix="$defaultprefix"
Expand All @@ -211,6 +203,18 @@ then
fi
fi

dnl Does not work on RHEL 5, CentOS 5 64 bit systems
RPATH_LIB="$acl_libdirstem"
defaultprefix="/usr"
AC_SUBST([LIBTOOL_DEPS])
AC_SUBST(RPATH_LIB)
AC_SUBST(defaultprefix)
AC_SUBST(libdir)
AC_SUBST(pkgconfigdir)
LIBVER=1
AC_SUBST(LIBVER)
AC_CONFIG_FILES([libqmail.pc:libqmail.pc.in],[], [])

AC_ARG_ENABLE(ENABLE_MD5_CRYPT, [ --enable-md5-crypt if your system crypt does not support md5],
[with_md5crypt=$enableval],
[with_md5crypt=no])
Expand Down
2 changes: 2 additions & 0 deletions doc/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Release 1.1.3 Start 08/02/2023 End --/--/20--
07. qgetpwgr.c: allow alternate passwd, group, service for uid 0 using env
variables
08. isnum.c: refactored isnum.c
- 15/04/2023
09. configure.ac: fixed setting of pkgconfigdir

* Mon Jan 30 2023 12:46:04 +0000 Manvendra Bhangui <[email protected]> 1.1.2-1.1%{?dist}
Release 1.1.2 Start 10/10/2022 End 30/01/2023
Expand Down

0 comments on commit 2a57767

Please sign in to comment.