I'm a little busy, but I'll check this out when I get a chance. I've
used autoconf for perl programs but it's a square peg round hole
situation. Here's an example: ftp://ftp.joedog.org/pub/sproxy/
Your project sounds promising.
Jeff
On Tue, Mar 29, 2005 at 11:10:14PM -0500, [EMAIL PROTECTED] wrot
Here's how I rolled it:
dnl
dnl make sure AIXers have the proper compiler
case "$host_os" in
*aix*)
if test -n "${CC}" ; then
AC_CHECK_PROGS(CC_R, xlc_r cc_r cc)
if test "$CC_R" = cc ; then
AC_MSG_ERROR([pthread support requires cc_r (or other suitable
compiler) on AIX])
Hi,
Does anybody have a macro that detects openssl >= 0.9.8 and adds -ldl to
the LDFLAGS?
TIA,
Jeff
--
#include
int main(){int a[]={74,117,115,116,32,97,110,111,116,104,101,114,32, \
67,32,104,97,99,107,101,114,10,0}; int *b=a;while(*b>0)putchar(*b++);}
__
How can I pass args to AC_EGREP_CPP, namely CFLAGS.
Jeff
--
#include
int main(){int a[]={74,117,115,116,32,97,110,111,116,104,101,114,32, \
67,32,104,97,99,107,101,114,10,0}; int *b=a;while(*b>0)putchar(*b++);}
___
Autoconf mailing list
Autoconf@gn
Forgive me if this is an obvious question, but I've been unable to
find the answer. I'd like to add a sh function to configure.
I figured I could add something like this to acinclude.m4:
foo(){
echo $1 | /usr/bin/sed 's/[A-Za-z]$/&\//g'
}
then in configure.in I could add something like this:
This function works perfectly well in a shell script, but it returns
nothing when I employ it from acinclude.m4:
AC_DEFUN([TOUPPER],[
{
echo $1 | sed -n \
'
s/\/*$//
/\//!s/^/.\//
h
s/.*\///
/[a-z]/! d
y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/
x
G
Hello,
I'm at wit's end here. I used to be able to link to the socket libs on
Solaris using the following directives in configure.in
AC_CHECK_FUNCS(socket, , AC_CHECK_LIB(socket, socket))
AC_CHECK_FUNCS(gethostbyname, , AC_CHECK_LIB(nsl, gethostbyname))
AC_CHECK_LIB(socket, socket)
At link t
On Mon, Jan 26, 2004 at 03:43:44PM +, Lars Hecking wrote:
> Jeff Fulmer writes:
> > Hello,
> >
> > I'm at wit's end here. I used to be able to link to the socket libs on
> > Solaris using the following directives in configure.in
> >
> > AC_
Jeff's First Law of Programming:
Those who butcher human vernacular will manage a similar feat with
computer languages. Never hire a programmer whose communication is
littered with syntactical errors.
On Thu, Feb 05, 2004 at 04:48:23PM +0100, Dirk wrote:
> I subscribed to take the chance and let
On Thu, Mar 04, 2004 at 05:20:34PM +0100, Jose Roman Bilbao wrote:
> Hi all,
>
> I have noticed that, by default, the C compiler is using flag -g. What
> should I indicate in configure.ac to avoid this issue?.
>
> Thanks
>
You could always rewrite the CFLAGS.
if test -n "$GCC"; then
CFLAGS="
10 matches
Mail list logo