This is the mail archive of the guile-gtk@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Currnet CVS fails to configure


Greg Troxel wrote:
> Of course, one can require having up-to-date stuff if one is using
> CVS, but this seems unfortunate.  I wonder if there is some way to put
> in configure.in a test to avoid evaling the transformed output
> of AM_PATH_GTK_2_0 if it does not get transformed, like
> 
> a=AM_PATH
> b=GTK_2_0
> c=$a_$b # avoid substitution
> if [ "AM_PATH_GTK_2_0" != $c ]; then
>   AM_PATH_GTK_2_0(blah blah)
> else
>   echo "warning: AM_PATH_GTK_2_0 not defined by aclocal, continuing
> fi

My m4 is a little rusty, but can't something like
"ifdef([AM_PATH_GTK_2_0], 2_0_stuff, pre_2_0_junk)" be used?

-Dale
-- 
Dale P. Smith
Altus Technologies Corp.
dsmith@altustech.com
440-746-9000 x309

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]