summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorsebastid <sebastid>2005-09-03 03:55:13 +0000
committersebastid <sebastid@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-09-03 03:55:13 +0000
commit11d8d118644b120fdf921873f41c83a50aee905d (patch)
treefb9af617f0fd4d0e176ce47bf97310c5ea4cb389 /m4
parentf79cf5cfb911dccef688effd2920c5b3d706a911 (diff)
If the version from config has something after x.y.z, drop it.
SVN revision: 16477
Diffstat (limited to 'm4')
-rw-r--r--m4/ac_path_generic.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/ac_path_generic.m4 b/m4/ac_path_generic.m4
index 27b55b3ff..fc31281f2 100644
--- a/m4/ac_path_generic.m4
+++ b/m4/ac_path_generic.m4
@@ -66,11 +66,11 @@ AC_ARG_WITH(DOWN-exec-prefix,[ --with-]DOWN[-exec-prefix=PFX Exec prefix where
66 UP[]_LIBS="`$UP[]_CONFIG $DOWN[]_config_args --libs`" 66 UP[]_LIBS="`$UP[]_CONFIG $DOWN[]_config_args --libs`"
67 ifelse([$2], , ,[ 67 ifelse([$2], , ,[
68 DOWN[]_config_major_version=`$UP[]_CONFIG $DOWN[]_config_args \ 68 DOWN[]_config_major_version=`$UP[]_CONFIG $DOWN[]_config_args \
69 --version | sed 's/[[^0-9]]*\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` 69 --version | sed 's/[[^0-9]]*\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\1/'`
70 DOWN[]_config_minor_version=`$UP[]_CONFIG $DOWN[]_config_args \ 70 DOWN[]_config_minor_version=`$UP[]_CONFIG $DOWN[]_config_args \
71 --version | sed 's/[[^0-9]]*\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` 71 --version | sed 's/[[^0-9]]*\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\2/'`
72 DOWN[]_config_micro_version=`$UP[]_CONFIG $DOWN[]_config_args \ 72 DOWN[]_config_micro_version=`$UP[]_CONFIG $DOWN[]_config_args \
73 --version | sed 's/[[^0-9]]*\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` 73 --version | sed 's/[[^0-9]]*\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\3/'`
74 DOWN[]_wanted_major_version="regexp($2, [\<\([0-9]*\)], [\1])" 74 DOWN[]_wanted_major_version="regexp($2, [\<\([0-9]*\)], [\1])"
75 DOWN[]_wanted_minor_version="regexp($2, [\<\([0-9]*\)\.\([0-9]*\)], [\2])" 75 DOWN[]_wanted_minor_version="regexp($2, [\<\([0-9]*\)\.\([0-9]*\)], [\2])"
76 DOWN[]_wanted_micro_version="regexp($2, [\<\([0-9]*\).\([0-9]*\).\([0-9]*\)], [\3])" 76 DOWN[]_wanted_micro_version="regexp($2, [\<\([0-9]*\).\([0-9]*\).\([0-9]*\)], [\3])"