recommended sequence to add libtool to an existing configure.ac

2014-02-06 Thread Ed Mansky
Hi I am trying to add libtool functionality to an existing configure.ac script so that the package will have the usual enable shared/static options and support for threaded libraries, especially pthread. I am using autoconf 2.69 and automake 1.14 on OSX Darwin 8.11.0 w/gcc 4.3.3 and GNU make

Re: recommended sequence to add libtool to an existing configure.ac

2014-02-06 Thread Ed Mansky
AC_CANONICAL_TARGET should one use in a configure.ac ? Or should it be SYSTEM --or-- the triplet HOST/BUILD/TARGET ? The configure.ac I am starting with used SYSTEM alone, and I added the HOST macro too. Thanks! --Ed On 02/06/2014 09:50 AM, Ed Mansky wrote: I did the following in sequence

Re: recommended sequence to add libtool to an existing configure.ac

2014-02-07 Thread Ed Mansky
Thanks Zack, this helps clarify the issue a lot. --Ed On Thursday, February 6, 2014, Ed Mansky <<mailto:man...@mindspring.com>man...@mindspring.com> wrote: Which of the macros : AC_CANCAONICAL_SYSTEM AC_CANONICAL_HOST AC_CANONICAL_BUILD AC_CANONICAL_TARGET should one us