Hi Sammy, On 7/8/2010 10:48 PM, Sam Silla wrote: > Hello, > > I would like to create an array of values to use in configure.ac and am > unsure what the best way to accomplish this is. I was wondering if Autoconf > comes with native support for constructing and iterating through arrays. You have to remember that autoconf configure.ac files are just bourne shell scripts with M4 macro calls mixed in. You can do anything in configure.ac that you can do in a bourne shell script. While many folks use linux and bash these days, and bash has built-in support for arrays, standard bourne shell only has very basic support for array syntax. In fact, it only has one array - the command line parameter array. But various forms of homebrew array syntax can be used. So... let me google that for you: http://lmgtfy.com?q=bourne+shell+arrays Sorry, I couldn't resist. I recently discovered lmgtfy.com. As sarcastic as it is, I find it rather funny. If you're willing to forgo portability (which I highly discourage), then you can certainly use bash array syntax in your scripts. Regards, John _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf