Re: Introducing Autoperl

2005-03-30 Thread Jeff Fulmer
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

Re: Configure not selecting proper -pthread options

2005-04-14 Thread Jeff Fulmer
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])

OpenSSL >= 0.9.8

2005-08-31 Thread Jeff Fulmer
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++);} __

passing args to AC_EGREP_CPP

2005-09-09 Thread Jeff Fulmer
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

adding a shell function

2004-01-20 Thread Jeff Fulmer
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:

Shell function revisited

2004-01-22 Thread Jeff Fulmer
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

-lsocket -lsnl on solaris 9

2004-01-26 Thread Jeff Fulmer
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

Re: -lsocket -lsnl on solaris 9

2004-01-26 Thread Jeff Fulmer
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_

Re: HATE

2004-02-05 Thread Jeff Fulmer
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

Re: How to avoid C compiler using -g

2004-03-11 Thread Jeff Fulmer
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="