Re: POPT 2.0: version stamping in includes

2010-06-18 Thread Michael Jennings
On Friday, 18 June 2010, at 21:09:24 (-0400),
Jeff Johnson wrote:

 Any idea how portably POSIX dlsym() is in 2010?

According to the Open Group website, dlsym() and dlopen() are at
*least* in POSIX.1 2004 if not earlier.  And they came from SunOS, so
Solaris portability won't be an issue.  MacOS has them, BSD has them.
They should be fine.

 There's the GNUish dlvsym() that needs figgering if I attempt
 compatibility with symbol versioning too.

Yeah, that's where you'll get into portability trouble. :)

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  m...@kainx.org
Linux Server/Cluster Admin, LBL.gov   Author, Eterm (www.eterm.org)
---
 Can we leave the world outside just for awhile, just for awhile?
  Spend some time, you and I, under this bright, glorious sky?  It's
  been so long since I first saw you, but I still love the smile in
  your eyes.   -- Roxette, Church of Your Heart
__
POPT Library   http://rpm5.org
Developer Communication List   popt-devel@rpm5.org


Re: popt-1.13 -- VPATH build problem + patch

2008-01-08 Thread Michael Jennings
On Tuesday, 08 January 2008, at 19:07:23 (+0100),
Peter Breitenlohner wrote:

 Hi,

 I'd like to suggest the attached patch for popt-1.13 in order that make
 check succeeds for a VPATH build.

 regards
 Peter Breitenlohner [EMAIL PROTECTED]

   Allow make check to succeed for a VPATH build
 
 diff -ur popt-1.13.orig/testit.sh popt-1.13/testit.sh
 --- popt-1.13.orig/testit.sh  2007-05-25 19:36:23.0 +0200
 +++ popt-1.13/testit.sh   2008-01-08 18:53:34.0 +0100
 @@ -39,7 +39,7 @@
  }
  
  builddir=`pwd`
 -srcdir=$builddir
 +srcdir=`dirname $0`
  cd ${srcdir}
  test1=${builddir}/test1
  echo Running tests in `pwd`

What if testit.sh were called as ./testit.sh?

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  [EMAIL PROTECTED]
Linux Server/Cluster Admin, LBL.gov   Author, Eterm (www.eterm.org)
---
 I gave you my purity, and my purity you stole.  Did you think I
  wouldn't recognize this compromise?  Am I just to stupid to realize?
  Stale incense, old sweat, and lies, lies, lies.
 -- Nine Inch Nails, sin
__
POPT Library   http://rpm5.org
Developer Communication List   popt-devel@rpm5.org