Re: Issues using autoconf or automake

2014-03-12 Thread Jim Galarowicz
Hi Gavin, all, When I apply these changes (adding -I m4 to ACLOCAL_AMFLAGS in Makefile.am and -I libltdl/m4 to the aclocal call in bootstrap), I don't get the "Makefile.am:63: error: HAVE_QTLIB does not appear in AM_CONDITIONAL" (and others) any more. But now, when I do the "make clean" aft

Re: Issues using autoconf or automake

2014-03-12 Thread Gavin Smith
On Wed, Mar 12, 2014 at 2:34 PM, Jim Galarowicz wrote: > Hi Gavin, all, > > I ran the > > autoconf --trace AM_CONDITIONAL command in the bootstrap instead of just > autoconf and here are the results. It could be a problem with aclocal. You said that your bootstrap script worked: aclocal --force

Re: Issues using autoconf or automake

2014-03-12 Thread Jim Galarowicz
Hi Gavin, all, I ran the autoconf --trace AM_CONDITIONAL command in the bootstrap instead of just autoconf and here are the results. configure.ac:567:AM_CONDITIONAL:HAVE_LIBMONITOR:test "$HAVE_LIBMONITOR" = 1 configure.ac:572:AM_CONDITIONAL:HAVE_PAPI:test "$HAVE_PAPI" = 1 configure.ac:574:AM_

Re: Issues using autoconf or automake

2014-03-11 Thread Jim Galarowicz
Hi Gavin, I attached the main level Makefile.am file. I will try: autoconf --trace AM_CONDITIONAL and post the results. Thanks again! Jim G On 03/11/2014 03:30 PM, Gavin Smith wrote: On Tue, Mar 11, 2014 at 9:43 PM, Jim Galarowicz wrote: The ] and ) at 456 are the terminators for the AC_DE

Re: Issues using autoconf or automake

2014-03-11 Thread Gavin Smith
On Tue, Mar 11, 2014 at 9:43 PM, Jim Galarowicz wrote: > > The ] and ) at 456 are the terminators for the AC_DEFUN declaration. That > (big bold characters) is where they go to when I do the % key when on the > two characters at 456. > > AC_DEFUN([AX_QTLIB], [ > dnl if QTDIR is not default to /us

Re: Issues using autoconf or automake

2014-03-11 Thread Jim Galarowicz
On 03/11/2014 02:33 PM, Gavin Smith wrote: On Tue, Mar 11, 2014 at 5:00 PM, Jim Galarowicz wrote: Hi Eric, Patrick, all, I made those changes also. Here is what I have in the two m4 files now (for that area). m4/ax_qt3.m4: 450if test $found_all_qt -eq 1; then 451 A

Re: Issues using autoconf or automake

2014-03-11 Thread Gavin Smith
On Tue, Mar 11, 2014 at 5:00 PM, Jim Galarowicz wrote: > Hi Eric, Patrick, all, > > I made those changes also. Here is what I have in the two m4 files now (for > that area). > > m4/ax_qt3.m4: > >450if test $found_all_qt -eq 1; then >451 AC_DEFINE(HAVE_QTLIB, 1, [Define to

Re: Issues using autoconf or automake

2014-03-11 Thread Jim Galarowicz
Hi Eric, Patrick, all, I made those changes also. Here is what I have in the two m4 files now (for that area). m4/ax_qt3.m4: 450if test $found_all_qt -eq 1; then 451 AC_DEFINE(HAVE_QTLIB, 1, [Define to 1 if you have Qt library 3.3 >]) 452fi 453 454

Re: Issues using autoconf or automake

2014-03-11 Thread Eric Blake
On 03/11/2014 08:56 AM, Jim Galarowicz wrote: > > > I'm including a section of m4/ax_libmonitor.m4 where HAVE_LIBMONITOR > code looks like this: > >52AC_LINK_IFELSE([AC_LANG_PROGRAM([[ > 53#include > 54]], [[ > 55monitor_init_library(

Re: Issues using autoconf or automake

2014-03-11 Thread Jim Galarowicz
Hi Patrick, all, Thanks for the quick response! It is much appreciated. I tried the suggestion, but it didn't seem to fix the issue. Here are the outputs. ... ... 450AC_SUBST(QTLIB_LIBS) 451if test $found_all_qt -eq 1; then 452 #AM_CONDITIONAL(HAVE_QTLIB,

Re: Issues using autoconf or automake

2014-03-11 Thread Patrick Welche
On Mon, Mar 10, 2014 at 09:07:20PM -0700, Jim Galarowicz wrote: ... > cd . && automake-1.13 --foreign > Makefile.am:63: error: HAVE_QTLIB does not appear in AM_CONDITIONAL In http://openss.cvs.sourceforge.net/viewvc/openss/OpenSpeedShop/m4/ax_qt3.m4?revision=1.2&view=markup I see if test $f

Issues using autoconf or automake

2014-03-10 Thread Jim Galarowicz
Hi all, We've been struggling to figure out a problem that we are seeing when we use the newer default auto tools suite. I've been building an older set of tools to get around the issue that is described below. I'm hoping someone might be able to see something obvious and give us a hint on h