Did anyone actually see this post?  This is still broken in CVS.  Am I the
only one who's had this problem?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of [EMAIL PROTECTED]
Sent: Saturday, February 01, 2003 9:22 PM
To: [EMAIL PROTECTED]
Subject: RE: configure problem


Okay,
  This:

        gettext_ver=`$GETTEXTIZE --version | \
  sed '2,$d;                    # remove all but the first line
       s/.* //;                 # take text after the last space
       s/-.*//;                 # strip "-pre" or "-rc" at the end
       s/\([^.]\+\)/0\1/g;      # prepend 0 to every token
       s/0\([^.][^.]\)/\1/g;    # trim 0 from long lokens
       s/\.//g;                 # remove dots
       '`

  Seems to not work correctly on
  This:

    www# gettextize --version
    /usr/local/bin/gettextize (GNU gettext) 0.11.5
    Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is
NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
    Written by Ulrich Drepper


I think what's happening here, is that the version of gettext is now 0.11.5,
and sed wacking this down to "0115" which the rest of the script seems to
interprit as being version 0.01.15, which is wrong.  Unfortunately, I'm not
a sed programmer, so I have no idea how to fix this in sed.  A perl hacker I
know thinks this would work:

gettextize --version|head -1|perl -ne 's/^.* ([0-9\.]+)$/$1/g; s/\.//g;
print;'

_______________________________________________
Mc-devel mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/mc-devel

_______________________________________________
Mc-devel mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/mc-devel

Reply via email to