changeset 9498:7e282f362dbe

fix of fix of my sed code, should now be portable
author atmos4
date Sun, 23 Feb 2003 23:48:03 +0000
parents 38857e700388
children bc5b87370cd1
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Feb 23 23:44:16 2003 +0000
+++ b/configure	Sun Feb 23 23:48:03 2003 +0000
@@ -3881,7 +3881,7 @@
 EOF
   if cc_check $_ld_faad -lm && "$TMPO" >> "$TMPLOG" ; then
     _faad_version=`"$TMPO"`
-    _faad_tempversion=`"$TMPO" | sed -e 's/^\([0-9]*\)\.\([0-9]*\).*/\1\2/'`
+    _faad_tempversion=`"$TMPO" | sed -e 's/^\([0-9]\{1,\}\)\.\([0-9]\{1,\}\).*/\1\2/'`
     _def_faad_version="#define FAADVERSION $_faad_tempversion"
     echores "yes ($_faad_version)"
   else