[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Need help with autoconf configure script
From: |
Bob Rossi |
Subject: |
Need help with autoconf configure script |
Date: |
Tue, 12 Jul 2005 09:32:56 -0400 |
User-agent: |
Mutt/1.3.28i |
Hi again,
I'm still trying to get CGDB working with autoconf. I've got a very
strange problem. I have this in my configure.in,
if test "$opt_with_readline_prefix" = "no"; then
echo "READLINE_PREFIX=NO"
else
echo "READLINE_PREFIX=YES"
VL_LIB_READLINE
fi
I downloaded VL_LIB_READLINE from here,
http://autoconf-archive.cryp.to/vl_lib_readline.html
although I have modified it slightly (see attachment).
If I run ./configure then by default opt_with_readline_prefix is "no".
During ../cgdb/configure I get,
checking pty.h usability... yes
checking pty.h presence... no
configure: WARNING: pty.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: pty.h: proceeding with the compiler's result
checking for pty.h... yes
so I get error's when VL_LIB_READLINE is *not* run.
If I run ../cgdb/configure --with-readline, then
opt_with_readline_prefix is not "no". This causes VL_LIB_READLINE to
run. When this happens, I get,
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
I can't figure out why I'm getting error's when VL_LIB_READLINE is not
run. Any help would be greatly appreciated. I've attached the slightly
modified version of VL_LIB_READLINE that I am using.
Thanks,
Bob Rossi
readline.m4
Description: Text document
- Need help with autoconf configure script,
Bob Rossi <=
- Re: Need help with autoconf configure script, Bob Rossi, 2005/07/12
- Re: Need help with autoconf configure script, Andreas Schwab, 2005/07/12
- Re: Need help with autoconf configure script, Bob Rossi, 2005/07/13
- Re: Need help with autoconf configure script, Andreas Schwab, 2005/07/13
- Re: Need help with autoconf configure script, Bob Rossi, 2005/07/13
- Re: Need help with autoconf configure script, Stepan Kasal, 2005/07/14
- Re: Need help with autoconf configure script, Thomas Dickey, 2005/07/14
- Re: Need help with autoconf configure script, Stepan Kasal, 2005/07/14