logo       

generating AC_OUTPUT list in configure.in: msg#00031

sysutils.autoconf.general

Subject: generating AC_OUTPUT list in configure.in

Is there a way to write "configure.in" such that I just give the list of subdirs, then
AC_OUTPUT() will be filled with subdir/Makefile.

My intension in the following (which does not work ;-) )

subdirs="dir1 dir2 dir3"
outfiles=""
for var in $subdirs
do
outfiles="$outfiles $var/Makefile"
done
AC_OUTPUT($outfiles)
I have so many subdirs and thus I'm getting sich of adding "/Makefile".

Thank you.

Tosa

--
Yasunari Tosa, Ph.D. Email: tosa@xxxxxxxxxxxxxxxxxxx
NMR Ctr, Mass. General Hospital TEL: 617-726-4050 Building 149, 13th Street
Charlestown, MA 02129
USA


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise