summaryrefslogtreecommitdiff
path: root/driver/xf86-input-keyboard/configure
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-03-16 01:32:26 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-03-16 01:32:26 +0000
commitad6f4cfa44ff746db4a38dfddf725505611400a6 (patch)
treee3f6825226b2547a847fbb778914765c9fe41e61 /driver/xf86-input-keyboard/configure
parente889f63b0fdd45de06f2be8d7db2f83816835b4a (diff)
regen
Diffstat (limited to 'driver/xf86-input-keyboard/configure')
-rw-r--r--driver/xf86-input-keyboard/configure23
1 files changed, 23 insertions, 0 deletions
diff --git a/driver/xf86-input-keyboard/configure b/driver/xf86-input-keyboard/configure
index 5d363a974..b975a67c9 100644
--- a/driver/xf86-input-keyboard/configure
+++ b/driver/xf86-input-keyboard/configure
@@ -20098,6 +20098,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 src/Makefile man/Makefile"
cat >confcache <<\_ACEOF