Re: Sun compiler and /usr/local/include

2010-03-05 Thread Harlan Stenn
You could look at the configure.ac in ntp-dev (or any recent ntp-stable), say: http://ntp.bkbits.net:8080/ntp-dev/configure.ac?REV=4b6a0c4clgted0re5ogPZQx0QgLLPw and find the hunk of code starting with: AC_MSG_CHECKING([for openssl include directory]) and decide for yourself if there is a be

Re: Sun compiler and /usr/local/include

2010-03-05 Thread Dave Hart
On Fri, Mar 5, 2010 at 21:13 UTC, Charles Brown wrote: > If the file is; /usr/local/include/package/header.h > and source is;  #include > what goes in configure.ac? > > AC_CHECK_HEADER([package/header.h]) just says 'no'. AC_CHECK_HEADER and AC_CHECK_HEADERS aren't designed for this situation -- t

Re: Sun compiler and /usr/local/include

2010-03-05 Thread NightStrike
On Fri, Mar 5, 2010 at 4:13 PM, Charles Brown wrote: > Dave Hart wrote: >> >> On Fri, Mar 5, 2010 at 19:25 UTC, Charles Brown wrote: >>  > >>  > Very new to automake, and can't find an answer to this; What would be >> put in >>  > configure.ac to determine whether the detected preprocessor/compile

Re: Sun compiler and /usr/local/include

2010-03-05 Thread Charles Brown
Dave Hart wrote: On Fri, Mar 5, 2010 at 19:25 UTC, Charles Brown wrote: > > Very new to automake, and can't find an answer to this; What would be put in > configure.ac to determine whether the detected preprocessor/compiler > automatically supplies -I/usr/local/include (for example, g++ doe

Re: Sun compiler and /usr/local/include

2010-03-05 Thread Ralf Wildenhues
* Charles Brown wrote on Fri, Mar 05, 2010 at 09:37:00PM CET: > Ralf Wildenhues wrote: > > > >Well if you need the flag at configure time, add it to CPPFLAGS, either > >by the user as above, or by you in configure.ac. But I would reserve > >this to the user; she might have a broken version of the

Re: Sun compiler and /usr/local/include

2010-03-05 Thread Charles Brown
Ralf Wildenhues wrote: Hello Charles, * Charles Brown wrote on Fri, Mar 05, 2010 at 08:25:53PM CET: > Very new to automake, Well, welcome then! thank you. Well if you need the flag at configure time, add it to CPPFLAGS, either by the user as above, or by you in configure.ac. But I would

Re: Sun compiler and /usr/local/include

2010-03-05 Thread Dave Hart
On Fri, Mar 5, 2010 at 19:25 UTC, Charles Brown wrote: > > Very new to automake, and can't find an answer to this; What would be put in > configure.ac to determine whether the detected preprocessor/compiler > automatically supplies -I/usr/local/include (for example, g++ does, but sun > CC does not)

Re: Sun compiler and /usr/local/include

2010-03-05 Thread Ralf Wildenhues
Hello Charles, * Charles Brown wrote on Fri, Mar 05, 2010 at 08:25:53PM CET: > Very new to automake, Well, welcome then! > and can't find an answer to this; What would > be put in configure.ac to determine whether the detected > preprocessor/compiler automatically supplies -I/usr/local/include >

Sun compiler and /usr/local/include

2010-03-05 Thread Charles Brown
Very new to automake, and can't find an answer to this; What would be put in configure.ac to determine whether the detected preprocessor/compiler automatically supplies -I/usr/local/include (for example, g++ does, but sun CC does not), and if not, how to add it to some CFLAGS variable? I tr

Re: relinking error

2010-03-05 Thread Ralf Wildenhues
Hello Monty, * Monty Taylor wrote on Fri, Mar 05, 2010 at 07:01:15PM CET: > On 03/05/2010 09:26 AM, Monty Taylor wrote: > >The simple case where it's happening is in libcassandra. We have to > >lib_LTLIBRARIES defined, libgenthrift.la and libcassandra.la: > > > >lib_LTLIBRARIES+= libcassandra/libc

Re: relinking error

2010-03-05 Thread Monty Taylor
On 03/05/2010 09:26 AM, Monty Taylor wrote: Hi! I've got an install-time re-linking error happening in two different projects now, and it's confusing me. ltmain.sh (GNU libtool) 2.2.6b automake (GNU automake) 1.11.1 The simple case where it's happening is in libcassandra. We have to lib_LTLIBR

relinking error

2010-03-05 Thread Monty Taylor
Hi! I've got an install-time re-linking error happening in two different projects now, and it's confusing me. ltmain.sh (GNU libtool) 2.2.6b automake (GNU automake) 1.11.1 The simple case where it's happening is in libcassandra. We have to lib_LTLIBRARIES defined, libgenthrift.la and libcass