summaryrefslogtreecommitdiff
path: root/font/xfree86-type1/configure
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-03-16 00:19:22 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-03-16 00:19:22 +0000
commite889f63b0fdd45de06f2be8d7db2f83816835b4a (patch)
treeb7ca0127ac31e05856f2efddf92c089ce3789e71 /font/xfree86-type1/configure
parentf41e5c719f41d4bc243f3a8b295042d214625cac (diff)
regen
Diffstat (limited to 'font/xfree86-type1/configure')
-rw-r--r--font/xfree86-type1/configure23
1 files changed, 23 insertions, 0 deletions
diff --git a/font/xfree86-type1/configure b/font/xfree86-type1/configure
index e30d20c43..57e6e218f 100644
--- a/font/xfree86-type1/configure
+++ b/font/xfree86-type1/configure
@@ -1936,6 +1936,29 @@ fi;
echo "$as_me: Building with package name set to $PACKAGE" >&6;}
fi
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
+_ACEOF
+
+ PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
+ if test "x$PVM" = "x"; then
+ PVM="0"
+ fi
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_VERSION_MINOR $PVM
+_ACEOF
+
+ PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
+ if test "x$PVP" = "x"; then
+ PVP="0"
+ fi
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_VERSION_PATCHLEVEL $PVP
+_ACEOF
+
+
ac_config_files="$ac_config_files Makefile"
cat >confcache <<\_ACEOF