Re: Standard AC macro calls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David

> I'm curious why the macros
>
> AC_CONFIG_SUBDIRS
> and
> AC_SUBST
>
> take differing arguments to work?

Because the arguments are of different type: AC_CONFIG_SUBDIRS gets a
literal string which resolves to a list of paths, while AC_SUBST gets
the name of an output variable name (@xxx@) to substitute with value
of a shell variable of the same name when configure is run.

> AC_CONFIG_SUBDIRS([${SRC_SUBDIRS}])

Using variables is not recommended since it prevents `./configure
--help=recursive' from working correctly.
See http://www.gnu.org/software/autoconf/manual/autoconf-2.62/html_node/Subdirectories.html

Best regards
Carsten

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux