AC_CHECK_LIB: Library is found on build host but is not on a target host

2010-08-23 Thread Sergio Belkin
complains: checking for mysql_get_parameters in -lmysqlclient... no Error: Required library mysqlclient not found. Install it and try again Is there somthing wrong with my configure.ac? You can read the config.log on http://pastebin.com/TMk91Rpi Thanks in advance! -- -- Sergio Belkin http://

Re: AC_CHECK_LIB: Library is found on build host but is not on a target host

2010-08-23 Thread Sergio Belkin
2010/8/23 Eric Blake : > On 08/23/2010 02:26 PM, Sergio Belkin wrote: >> >> 2010/8/23 Eric Blake: >>> >>> [please keep the list in the loop] > > [I reiterate - I do NOT want these mails coming only to me, when I have > asked for them to go to the list]

Re: AC_CHECK_LIB: Library is found on build host but is not on a target host

2010-09-27 Thread Sergio Belkin
relative to ${prefix}) to set the correct LDFLAGS for a given > library. > > -- > Eric Blake   ebl...@redhat.com    +1-801-349-2682 > Libvirt virtualization library http://libvirt.org > Hi, I've added LDFLAGS="-L/usr/lib/mysql $LDFLAGS" an

Re: AC_CHECK_LIB: Library is found on build host but is not on a target host

2010-09-27 Thread Sergio Belkin
2010/9/27 Sergio Belkin : > 2010/8/23 Eric Blake : > >>>> Ah - the difference is the presence of -L/usr/lib/mysql in the working >>>> command line.  For your configure test to work, you'd also have to >>>> provide >>>> that same -L o

About AC_CHECK_HEADERS and different locations

2010-09-27 Thread Sergio Belkin
checks for differents paths? Thanks in advance! -- -- Sergio Belkin http://www.sergiobelkin.com Watch More TV http://sebelk.blogspot.com Sergio Belkin - ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Short Help Macro for configure

2010-10-12 Thread Sergio Belkin
Hi! Is there some macro to set ./configure --help=short by default? Thanks in advance! -- -- Sergio Belkin http://www.sergiobelkin.com Watch More TV http://sebelk.blogspot.com Sergio Belkin - ___ Autoconf mailing list Autoconf@gnu.org http

AC_SEARCH_LIBS directories on 32-bit and 64-bit

2010-10-18 Thread Sergio Belkin
e manually LDFLAGS. Is that possible? If I am thinking something wrong, correct me. Thanks in advance! -- -- Sergio Belkin http://www.sergiobelkin.com Watch More TV http://sebelk.blogspot.com Sergio Belkin - ___ Autoconf mailing list Autoconf@gn

Re: AC_CHECK_LIB: Library is found on build host but is not on a target host

2010-10-19 Thread Sergio Belkin
2010/9/28 Luke Mewburn : > On Mon, Sep 27, 2010 at 10:30:49AM -0300, Sergio Belkin wrote: >  | Hi, I've added >  | >  | LDFLAGS="-L/usr/lib/mysql $LDFLAGS" >  | >  | and it worked. I wonder if the proper way to do it. > > I've used the following: >

Re: AC_SEARCH_LIBS directories on 32-bit and 64-bit

2010-10-19 Thread Sergio Belkin
2010/10/18 Eric Blake : > On 10/18/2010 04:54 PM, Sergio Belkin wrote: >> >> Hi, >> >> Let's say we have the check: >> >> AC_SEARCH_LIBS([ns_get16],[resolv]) >> >> How can I do to detect library directory path based on host >>

Re: AC_CHECK_LIB: Library is found on build host but is not on a target host

2010-10-19 Thread Sergio Belkin
a macro from autoconf-archives to my project? TIA -- -- Sergio Belkin http://www.sergiobelkin.com Watch More TV http://sebelk.blogspot.com Sergio Belkin - ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: AC_CHECK_LIB: Library is found on build host but is not on a target host

2010-10-20 Thread Sergio Belkin
2010/10/19 Sergio Belkin : > 2010/8/23 Eric Blake : >> Hence, the autoconf approach is to expose LDFLAGS as the desired way of >> letting the user tune where to look for particular libraries, and both the >> autoconf-archives and gnulib projects have written wrapper macros t

Problem with LIBS generated by a macro

2010-10-30 Thread Sergio Belkin
- Congratulations! You have created a Makefile for: ${PACKAGE_NAME} ${PACKAGE_VERSION} Prefix is '${prefix}'. Compiler is '${CXX} LIBS are '${LIBS}' ssl support: '${ss}' Wanted MySQL: ${want_mysql} mysql support: ${found_mysql}

Re: Problem with LIBS generated by a macro

2010-10-31 Thread Sergio Belkin
2010/10/31 Ralf Wildenhues : > Hello Sergio, > > * Sergio Belkin wrote on Sat, Oct 30, 2010 at 11:55:17PM CEST: >> I've autoconfiscated a project that link against libresolv and >> libtpthread, and optionally against ssl, mysqlclient and pq. I am >> working on Fedo

Question about AC_TRY_LINK_FUNC

2010-12-21 Thread Sergio Belkin
Hi, The question is simple, altough the answer it's no so, what does AC_TRY_LINK_FUNC macro do? Thanks in advance! -- -- Sergio Belkin http://www.sergiobelkin.com Watch More TV http://sebelk.blogspot.com Sergio Belkin - ___ Autoconf mailing

Re: Question about AC_TRY_LINK_FUNC

2010-12-21 Thread Sergio Belkin
2010/12/21 Eric Blake : > On 12/21/2010 08:02 AM, Sergio Belkin wrote: >> Hi, >> >> The question is simple, altough the answer it's no so, what does >> AC_TRY_LINK_FUNC macro do? > > It's a deprecated wrapper around the modern AC_LINK_IFELSE macro.  It

Override default CXXFLAGS

2011-01-21 Thread Sergio Belkin
Hi, Let's say we'd want to compile with CXXFLAGS=-O3. The problem is that is set in some way as -O2. I've overriden CXXFLAGS on configura.ac setting: CXXFLAGS="-O3 ${CXXFLAGS}" But I wonder if that is the proper way of do it! I'm using Fedora 14. Any idea? Tha

Re: Override default CXXFLAGS

2011-01-21 Thread Sergio Belkin
then it is acceptable to insert the line ‘: ${CFLAGS=""}’ after AC_INIT and before AC_PROG_CC to select an empty default instead. " http://www.gnu.org/software/hello/manual/autoconf/C-Compiler.html HTH 2011/1/21 Sergio Belkin : > Hi, > > Let's say we'd want to

Check for global symbol

2011-01-26 Thread Sergio Belkin
Hi, Is there a way to check is a library function is global? Thanks in advance! -- -- Sergio Belkin  http://www.sergiobelkin.com Watch More TV http://sebelk.blogspot.com LPIC-2 Certified ___ Autoconf mailing list Autoconf@gnu.org http

Re: Check for global symbol

2011-01-26 Thread Sergio Belkin
2011/1/26 tom fogal : > Please keep mailing list topics on.. the mailing list :) > > -tom > > Sergio Belkin writes: >> 2011/1/26 tom fogal : >> > AC_TRY_COMPILE >> >> Thanks, I forgot to say that I'd want to check if the symbol ig global >> an

static library as fallback

2011-06-13 Thread Sergio Belkin
I have the following sentence in a configure.ac: AC_SEARCH_LIBS(ns_initparse,resolv) The problem is ns_initparse is missing on old releases of libresolv.so eg: on Centos 5. So I'd want to make static resolv as a fallback, Can I do it with AC_SEARCH_LIBS? Thanks in advance! -- -- Sergio B

Re: static library as fallback

2011-06-14 Thread Sergio Belkin
2011/6/14 Eric Blake : > On 06/14/2011 10:20 AM, Sergio Belkin wrote: > > Did you mean to drop the list in your reply?  It's better to keep the > conversation on list, so others may learn of your answer. Shame on me, you're right. > >>> AC_S

Question about ac_lib and ac_res

2012-10-17 Thread Sergio Belkin
Hi folks, I've found in AC_SEARCH_LIBS functions ac_lib and ac_res what do they do? Thanks in advance! -- -- Sergio Belkin http://www.sergiobelkin.com Watch More TV http://sebelk.blogspot.com LPIC-2 Certified - http://www.lpi.org ___ Aut

Re: Question about ac_lib and ac_res

2012-10-18 Thread Sergio Belkin
2012/10/17 Eric Blake : > On 10/17/2012 02:15 PM, Sergio Belkin wrote: >> Hi folks, >> >> I've found in AC_SEARCH_LIBS functions ac_lib and ac_res what do they do? > > They aren't documented in the manual, so you can assume that they are > used internally

Re: Question about ac_lib and ac_res

2012-10-18 Thread Sergio Belkin
2012/10/18 Eric Blake : > On 10/18/2012 10:11 AM, Sergio Belkin wrote: >> >> Thanks for you explanation, I didn''t understand well what does "none >> required". >> >> I've found "The result of this test is cached in the >> ac_cv_

Check for experimental/unordered_set and experimental/unordered_map

2020-06-07 Thread Sergio Belkin
This is my system info: OS: Fedora 32: autoconf-archive-2019.01.06-5.fc32.noarch gcc-10.1.1-1.fc32.x86_64 gcc-c++-10.1.1-1.fc32.x86_64 autoconf-2.69-33.fc32.noarch libstdc++-devel-10.1.1-1.fc32.x86_64 Please could you help me? Am I doing something wrong? Thanks in advance! -- -- Sergio Belkin LPIC-2 Certified - http://www.lpi.org

Re: Check for experimental/unordered_set and experimental/unordered_map

2020-06-07 Thread Sergio Belkin
nevermind... I was confusing Standard C++ Library header. with TS C++ Library header ! El dom., 7 jun. 2020 a las 13:00, Sergio Belkin () escribió: > Hi, > > I'd like to check the presence of experimental/unordered_map and > experimental/unordered_set so I hav