pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #6492] More robust detection of libncurses


From: John Darrington
Subject: [patch #6492] More robust detection of libncurses
Date: Thu, 17 Apr 2008 04:49:08 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060607 Debian/1.7.12-1.2

URL:
  <http://savannah.gnu.org/patch/?6492>

                 Summary: More robust detection of libncurses
                 Project: PSPP
            Submitted by: jmd
            Submitted on: Thursday 04/17/08 at 12:49
                Category: None
              Item Group: None
                  Status: Ready For Test/Review
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Currently, we're just detecting the presence of libncurses.  This is not
sufficient.  We also need to check that the relevant header files are
available.  Older versions just put them in /usr/include newer versions seem
to put them elsewhere, and provide an introspection program ncurses5-config to
discover where they are.
Cygwin appears to have decided to rename ncurses5-config to ncurses8-config
!!!!!

The attached patch seems to do a better job of detecting curses.  It's a
little convoluted, so I'm not sure that it might not have some untoward
effects.  In particular I don't know how if non-bash shells support brace
expansion {1..9}

Any comments?



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thursday 04/17/08 at 12:49  Name: ncurses.patch  Size: 5kB   By: jmd

<http://savannah.gnu.org/patch/download.php?file_id=15466>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?6492>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]