Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Pb AC_OUTPUT in configure.in

2 views
Skip to first unread message

Jean-Paul Le F čvre

unread,
Sep 27, 2000, 3:00:00 AM9/27/00
to

I'm trying to setup a configure.in file for my package and
I'm having a difficulty with AC_OUTPUT. My file is something like :

........
M1="Makefile A/Makefile"
M2="B/Makefile"
MAKEFILES="$M1 $M2"
AC_OUTPUT($MAKEFILES)

Content of variables M1, M2 depends on various conditions.
When I run autoconf, configure, make, the first time there is
an error message issued :
configure.in: 109: required file `./$MAKEFILES.in' not found

It seems that $MAKEFILES is not evaluated when AC_OUTPUT is called.
However, the makefiles are correctly created and, surprisingly, the
second time make is ran the error does not occur.

Is there a way to avoid the necessity to run make twice ?
What could be wrong in my configure.in ?
Thanks,


--
____________________________________________________________________________

Jean-Paul Le Fčvre * CEA Saclay DAPNIA/SEI * Mail : Jean-Pau...@cea.fr


0 new messages