libtool
[Top][All Lists]
Advanced

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

Calling libtool from configure.ac


From: Scott James Remnant
Subject: Calling libtool from configure.ac
Date: Tue, 23 Sep 2008 13:08:03 +0100

While porting a bunch of GNOME applications from using libtool 1.5 to
2.2, we've encountered a couple that use libtool in their configure.ac
to test compilation.

e.g.:

if /bin/sh ../libtool --mode=compile ${CC} $PYTHON_CFLAGS -c
testpython.c >/dev/null 2>&1 && \
   /bin/sh ../libtool --mode=link ${CC} -o testpython.la -rpath `pwd`
-module -avoid-version $PYTHON_LIB_LOC testpython.lo $PYTHON_LIBS
$PYTHON_EXTRA_LIBS >/dev/null 2>&1 && \
   grep 'dlname.*testpython' testpython.la >/dev/null 2>&1; then
   result=yes

Any idea what the best approach to porting these would be?

Scott
-- 
Scott James Remnant
address@hidden

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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