summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index f6714fb..32979d6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -290,14 +290,15 @@ dnl ============================================================================
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
Makefile
-enchant.pc
+enchant-$ENCHANT_MAJOR_VERSION.pc:enchant.pc.in
lib/Makefile
src/libenchant.rc
src/Makefile
providers/Makefile
tests/Makefile
tests/enchant_providers/Makefile
-])
+], [],
+[ENCHANT_MAJOR_VERSION="$ENCHANT_MAJOR_VERSION"])
AC_OUTPUT
dnl ===========================================================================================